This question has been flagged
1 Reply
2748 Views

I've changed somethings in record rules and now it's not working properly and I don't know how to solve it. There is any way to set up the default security rules again?


Avatar
Discard
Best Answer

if you remove security rule for a model, then if you upgrade containing module odoo will log warning about missing security rules with a default readonly access rule suggestion. you can copy back to your module this rule from logs. after you can adapt it to your requirements.

Avatar
Discard