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
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
|Asked: 6/12/13, 10:41 AM|
|Seen: 762 times|
|Last updated: 3/16/15, 8:10 AM|