Hello,
I created a website module that can access at some attachments. I create a security group for my module and gave reading access to ir_attachment model. The user of this module can only access frontend. When I try to show attribute of an attachment from ir_attachment, I got a "500: Internal Server Error". In log, I can see the following error message
File "/var/www/odoo8/server/openerp/addons/base/ir/ir_attachment.py", line 259, in check
raise except_orm(_('Access Denied'), _("Sorry, you are not allowed to access this document."))
I looked in security and my security group have access to the model. Why I get this error message?
If the user have at least access to backend, I can access ir_attachment, but not if the user have only access frontend.
Thanks