Merge pull request #2058 from andreparames/patch-1

[FIX] translations loading for selection fields in website
This commit is contained in:
xmo-odoo 2014-08-29 09:34:58 +02:00
commit 53c88c7ee0
1 changed files with 1 additions and 1 deletions

View File

@ -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)