[FIX] report rendering should ignore http.Retry

This commit is contained in:
Xavier Morel 2014-06-17 15:19:54 +02:00
parent dda18249c0
commit ba4b203e31
1 changed files with 9 additions and 8 deletions

View File

@ -134,14 +134,15 @@ class Report(osv.Model):
website = None
if request and hasattr(request, 'website'):
website = request.website
values.update({
'time': time,
'translate_doc': translate_doc,
'editable': True, # Will active inherit_branding
'user': user,
'res_company': user.company_id,
'website': website,
})
values.update(
time=time,
translate_doc=translate_doc,
editable=True, # Will active inherit_branding
user=user,
res_company=user.company_id,
website=website,
editable_no_editor=True,
)
return view_obj.render(cr, uid, template, values, context=context)
#--------------------------------------------------------------------------