Odoo Ajuda

0

0
3 Respostas
0
Avatar

Gokulakrishnan Murugesan Índia

--Gokulakrishnan Murugesan--

4338
| 6 3 5
Valasaravakkam, Chennai, Índia
--Gokulakrishnan Murugesan--


Gokulakrishnan Murugesan Índia
09/08/19 01:01

Hi,

Following rule will help you to achieve this

<record id="product_template_rule" model="ir.rule">
<field name="name">Product Template</field>
<field name="model_id" ref="model_product_template"/>
<field name="domain_force">[('company_id', 'child_of', user.company_ids.ids)]</field>
</record>

Assign Company ID in Users and Products. Based on that you can do it.

Thanks.

Faça uma Pergunta
Keep Informed
2 seguidor (es)
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