[FIX] base: add missing context
Propagates context when calling method 'attributes' of ir_qweb Closes #7582
This commit is contained in:
parent
433351f566
commit
1bc2608490
|
@ -616,7 +616,7 @@ class FieldConverter(osv.AbstractModel):
|
||||||
_build_attribute(name, value)
|
_build_attribute(name, value)
|
||||||
for name, value in self.attributes(
|
for name, value in self.attributes(
|
||||||
cr, uid, field_name, record, options,
|
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,
|
return self.render_element(cr, uid, source_element, t_att, g_att,
|
||||||
|
|
Loading…
Reference in New Issue