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

When build module in odoo 12 , why do we need to add access rights for models in file ir.model.access.csv?

Avatar
Discard
Best Answer

Hi,

While creating module in Odoo 12 and when you define new models you have to specify the acess control list for the model, this is doing in the below version also.


By default the newly created models/menu will onlt be visible for the admin user in odoo11 and below, the same menu/model won't be visible for other users if the security is not given.


In odoo12, admin user is not having the ID 1, to view the models without giving the security you can switch to super user. If you need other users to view it, you have to give the security.


For switching to super user, activate developer mode and click the debugger menu near logged in users name in the menu bar and click Become Super User option.


Thanks

Avatar
Discard
Author Best Answer

Thank u so much Niyas Raphy

Avatar
Discard