Skip to content
Snippets Groups Projects
Commit 53c88c7e authored by Xavier Morel's avatar Xavier Morel
Browse files

Merge pull request #2058 from andreparames/patch-1

[FIX] translations loading for selection fields in website
parents 913404bf 09083762
No related branches found
No related tags found
No related merge requests found
......@@ -692,7 +692,7 @@ class SelectionConverter(osv.AbstractModel):
value = record[field_name]
if not value: return ''
selection = dict(fields.selection.reify(
cr, uid, record._model, column))
cr, uid, record._model, column, context=context))
return self.value_to_html(
cr, uid, selection[value], column, options=options)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment