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 have a many2one field and I want to show the items in it based on the logged in user's group. I am using odoo-9.
I have written a domain in that rule, but the problem is both the left and right side operands may have multiple values. The following is my code,
<record id="pricelist_visibility" model="ir.rule">
<field name="name">User can only see orders in his/her Pricelist</field>
<field name="model_id" ref="product.model_product_pricelist"/>
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: 6/30/16, 2:04 PM|
|Seen: 290 times|
|Last updated: 9/6/16, 9:49 AM|