[FIX] display an error message instead of True when a group prevent to edit a report
This commit is contained in:
parent
6f0e48fb41
commit
9cf4c03167
|
@ -124,7 +124,7 @@ class Report(osv.Model):
|
|||
user=user,
|
||||
res_company=user.company_id,
|
||||
website=website,
|
||||
editable_no_editor=True,
|
||||
editable_no_editor=_("The preferred way to edit a report is to use the HTML Editor"),
|
||||
)
|
||||
return view_obj.render(cr, uid, template, values, context=context)
|
||||
|
||||
|
|
Loading…
Reference in New Issue