Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4094 Widoki

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



Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
maj 24
2663
1
lis 22
5022
2
lip 22
3730
Domain filter Rozwiązane
1
gru 23
19012
2
maj 18
9900