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
|Asked: 6/30/16, 2:04 PM|
|Seen: 231 times|
|Last updated: 9/6/16, 9:49 AM|