Skip to Content
Menu
This question has been flagged
3 Replies
4212 Rodiniai

Hello community!
I have my odoo configured with multicompany and shared all products,
The point is that I need to create a company but I don't want it to share the products.
How can I achieve it?
I also need to make a personalized shopping module for this company.
Thank you

Portretas
Atmesti

Does this mean that you want 2 companies to share the product catalog but the 3rd company should have it's own product catalog ?

Autorius

Yes, it is exactly what I need ..

Best Answer

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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
kov. 19
8939
1
spal. 23
1933
0
liep. 23
1619
2
gruod. 20
3698
2
bal. 19
3190