[FIX] Render of report shouldn't update context
With API 8 context is frozendict that don't support update
This commit is contained in:
parent
ed925892b9
commit
83b4742b56
|
@ -98,7 +98,7 @@ class Report(osv.Model):
|
|||
if context is None:
|
||||
context = {}
|
||||
|
||||
context.update(inherit_branding=True) # Tell QWeb to brand the generated html
|
||||
context = dict(context, inherit_branding=True) # Tell QWeb to brand the generated html
|
||||
|
||||
view_obj = self.pool['ir.ui.view']
|
||||
|
||||
|
|
Loading…
Reference in New Issue