İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4098 Görünümler

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
Vazgeç
Üretici En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
May 24
2712
1
Kas 22
5037
2
Tem 22
3772
Domain filter Çözüldü
1
Ara 23
19026
2
May 18
9935