Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4117 Weergaven

Hi community,

In multi company, I want hide products of other companies to  the user of one company.

I expect like this

            [('company_id', 'in',user.company_ids)]


Thanks in advance



Avatar
Annuleer
Auteur Beste antwoord

I found the answer

There already is a product.product multicompany rule (but it is inactive by default): "Product multi-company"
xml id: product.product_comp_rule
You can active it by going to settings => general settings. Check "manage multi company", then uncheck "share product to all companies"


    from 

    http://stackoverflow.com/questions/37500668/limit-products-to-company-assigned-to-user-in-multi-company-odoo-9

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
mei 24
2753
1
nov. 22
5083
2
jul. 22
3820
1
dec. 23
19087
2
mei 18
9986