[FIX] typxmo

bzr revid: al@openerp.com-20131030220738-zkf0kfa049iof2ld
This commit is contained in:
Antony Lesuisse
2013-10-30 23:07:38 +01:00
parent 94cbff3b7b
commit a9f9cd06c7
+1 -1
View File
@@ -653,8 +653,8 @@ class SelectionConverter(osv.AbstractModel):
_inherit = 'ir.qweb.field'
def record_to_html(self, cr, uid, field_name, record, column, options=None, context=None):
if not value: return ''
value = record[field_name]
if not value: return ''
selection = dict(fields.selection.reify(
cr, uid, record._model, column))
return self.value_to_html(