[FIX] Language in context for qweb translations
bzr revid: fme@openerp.com-20130925114457-ct5v0gefg6gd6ua8
This commit is contained in:
parent
172ca5f213
commit
e64c07f049
|
@ -138,9 +138,10 @@ class website(osv.osv):
|
|||
user_id=user.browse(cr, openerp.SUPERUSER_ID, uid),
|
||||
)
|
||||
|
||||
context = {
|
||||
'inherit_branding': qweb_context.setdefault('editable', False),
|
||||
}
|
||||
context = request.context.copy()
|
||||
context.update(
|
||||
inherit_branding=qweb_context.setdefault('editable', False),
|
||||
)
|
||||
|
||||
# check if xmlid of the template exists
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue