跳至内容
菜单
此问题已终结

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

形象
丢弃

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

编写者

Yes, it is exactly what I need ..

最佳答案

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.

形象
丢弃
相关帖文 回复 查看 活动
2
3月 19
8847
1
10月 23
1862
0
7月 23
1539
2
12月 20
3698
2
4月 19
3095