[FIX] base: add missing context

Propagates context when calling method 'attributes' of ir_qweb
Closes #7582
Jonathan Nemry (ACSONE) 2015-07-13 12:04:46 +02:00 committed by Martin Trigaux
parent 433351f566
commit 1bc2608490
1 changed files with 1 additions and 1 deletions

View File

@ -616,7 +616,7 @@ class FieldConverter(osv.AbstractModel):
_build_attribute(name, value)
for name, value in self.attributes(
cr, uid, field_name, record, options,
source_element, g_att, t_att, qweb_context)
source_element, g_att, t_att, qweb_context, context=context)
return self.render_element(cr, uid, source_element, t_att, g_att,