CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I have created two user groups.One user group can access only the data which they create I have done this, second user group can access all data created by all users I tried the below code but it is not working .
<record id="property_rule_mat_mgmt_officer" model="ir.rule"> <field name="name">Material Manage Officer Rule</field> <field model="ir.model" name="model_id" ref="model_mat_mgmt"/> <field name="domain_force">[(1,'=',1)]</field> <field name="groups" eval="[(4,ref('group_mat_mgmt_officer'))]"/> </record>
But when give this user group to a user he can't see any data
About This Community
Odoo Training Center
|Asked: 6/12/13, 10:41 AM|
|Seen: 1122 times|
|Last updated: 3/16/15, 8:10 AM|