Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
4120 Weergaven

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

Avatar
Annuleer

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

Auteur

Yes, it is exactly what I need ..

Beste antwoord

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.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
mrt. 19
8840
1
okt. 23
1858
0
jul. 23
1533
2
dec. 20
3698
2
apr. 19
3088