Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4188 Visualizzazioni

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
Abbandona
Autore Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mag 24
2909
1
nov 22
5295
2
lug 22
3991
1
dic 23
19226
2
mag 18
10105