Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
check_access_rule(...) method is used to check the Record Rules for the object and for current logged in user and according to defined rule user will have access on the object (Read, Write, Create, Delete).
This method skips record rules for Super Admin user (SUPERUSER_ID) (user with ID 1).
Hope this will help you a bit to understand the working of the method.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 5/2/14, 4:40 PM|
|Seen: 1212 times|
|Last updated: 11/12/15, 10:52 AM|