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.
As @Fabrice Henrion said, rules does not apply to superuser (i.e. Administrator).
Nevertheless, you can change the action called by the menu "Notes" adding the desired domain, and in that way, the domain will be ensured.
The domain to add is:
This can be achived in and `XML` file:
<record model="ir.actions.act_window" id="note.action_note_note">
Or this can be done from inside the system (you have to enable Technical Features first to see the menu): <I tried to mebed the image without luck...Click to see image>Hope this helps!
you can give domain by group by like,
suppose you have two groups:
1. Admin Group
2. Normal User Group
now for admin user you can apply this domain in ir.rule:
<field name="domain"> [(1,'=',1)] </field>
and for normal user group you can give
<field name="domain"> [('user_id','=',user.id)] </field>
then in result admin can view all records and normal user can view only own records
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: 7/22/15, 2:09 PM|
|Seen: 1003 times|
|Last updated: 12/14/15, 6:08 AM|