From 1bc26084907255353515805ac8750bbaf6ec030b Mon Sep 17 00:00:00 2001 From: "Jonathan Nemry (ACSONE)" Date: Mon, 13 Jul 2015 12:04:46 +0200 Subject: [PATCH] [FIX] base: add missing context Propagates context when calling method 'attributes' of ir_qweb Closes #7582 --- openerp/addons/base/ir/ir_qweb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/addons/base/ir/ir_qweb.py b/openerp/addons/base/ir/ir_qweb.py index 3d7c67cb6e3..3fc8313e727 100644 --- a/openerp/addons/base/ir/ir_qweb.py +++ b/openerp/addons/base/ir/ir_qweb.py @@ -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,