Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4096 Zobrazení

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
Zrušit
Autor Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
kvě 24
2710
1
lis 22
5036
2
čvc 22
3768
Domain filter Vyřešeno
1
pro 23
19022
2
kvě 18
9933