Suppose I have Warehouse-A, Warehouse-B and Warehouse-C and I want User-A will only access Warehouse-A, same with Warehouse-B for User-B only and Warehouse-C for User-C. Is it possible to restrict warehouses for specific user? Please help anyone thank you so much in advance.
I've created security for this...
<record id="group_warehouse_user" model="res.groups">
<field name="name"> Warehouse Rules User</field>
<record id="group_warehouse_rules_member" model="ir.rule">
<field name="name">Warehouse User</field>
<field name="model_id" ref="model_stock_warehouse"/>
<field name="groups" eval="[(4, ref('group_warehouse_user'))]"/>
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: 9/30/14, 3:04 AM|
|Seen: 965 times|
|Last updated: 5/21/15, 5:24 AM|