[FIX] display an error message instead of True when a group prevent to edit a report

This commit is contained in:
Simon Lejeune 2014-06-29 17:15:00 +02:00
parent 6f0e48fb41
commit 9cf4c03167
1 changed files with 1 additions and 1 deletions

View File

@ -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)