Skip to Content
Menu
This question has been flagged
2 Replies
2784 Views

I've created a new module (stuff.task) and now I'd like to grant access to user "Demo".

So, I've created a folder "security" in my module folder and I'v put this ir.model.access.csv file inside:

access_stuff_task_group_user stuff.task.user model_stuff_task base.group_user 1 1 1 1

I've edited the data filed in the __openerp__.py in this way:

'depends': ['mail'],

'data': [

'stuff_view.xml',

'security/ir.model.access.csv',

],

I've restarted the server and upgraded the module, but user "Demo" is not able to see the link in the Messaging menu.

Any idea?

Avatar
Discard
Author Best Answer

Thanks for your answer, Ahmed, but I have the same problem.

Avatar
Discard
Best Answer

Hi, try to put the 'security/ir.model.access.csv' above the 'stuff_view.xml'

Regards,

Avatar
Discard