[FIX] Render of report shouldn't update context

With API 8 context is frozendict that don't support update
This commit is contained in:
Paulius Sladkevičius 2014-10-21 18:50:28 +03:00 committed by Simon Lejeune
parent ed925892b9
commit 83b4742b56
1 changed files with 1 additions and 1 deletions

View File

@ -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']