Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4172 Vues

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
Ignorer
Auteur Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
mai 24
2887
1
nov. 22
5269
2
juil. 22
3970
1
déc. 23
19211
2
mai 18
10090