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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
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
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
1
de maig 24
|
2607 | ||
|
1
de nov. 22
|
4957 | ||
|
2
de jul. 22
|
3692 | ||
Domain filter
Solved
|
|
1
de des. 23
|
18976 | |
|
2
de maig 18
|
9842 |