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
Bu soru işaretlendi
3
Cevaplar
5514
Görünümler
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.
Tartışma hoşunuza mı gidiyor? Sadece okumakla kalmayın, katılın!
Özel özelliklerden yararlanmak ve harika topluluğumuzla etkileşime geçmek için bugün bir hesap oluşturun!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
|
2
Mar 19
|
10284 | ||
|
|
1
Eki 23
|
3593 | ||
|
|
0
Tem 23
|
2960 | ||
|
|
2
Ara 20
|
3698 | ||
|
|
2
Nis 19
|
4643 |
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 ..