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.
I need to apply different record rules on same object to give different access rights depending on state that record is. For example there are three stages: stage1, stage2, stage3.
On first stage user with specific access rights group can do this:
Read, Write, Create his own records. When he presses button to go to stage2, then he can only Read that record (if that record would go back to stage1 - not by that user, then he could do previous things). And on stage3 that user does not see any records nor his nor any others.
I tried doing something like this:
First rule (applies r,w,c):
This one works. But I get problems when going to other stages. I tried to create another rule2 (applies r):
But it does not work, that user can still do anything that he can do in stage1.
If I make rule like this (applies r,w,c):
Then it gives access rights error that you can't go to next stage, because you don't have read access rights on that stage. How can this be solved?..
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: 2/20/14, 5:01 AM|
|Seen: 776 times|
|Last updated: 3/16/15, 8:10 AM|