openerp - Limit products to company assigned to user in multi-company Odoo 9 -


i have multi-company setup in odoo, , limit products each user (under group "user") can access (read/write/create/delete) products assigned company user assigned to.

to clear, have:

companies:

  • company a
  • company b

users:

  • user (assigned "company a" , user group "user")
  • user b (assigned "company b" , user group "user")

products:

  • product (assigned "company a")
  • product b (assigned "company b")

with default setup, user has access both product , product b, , user have access exclusively product a, on modules (sales, inventory, pos…)

i believe possible accomplish using record rules, haven't been able it.

i got answer needed jerome guerriat @ the odoo forums. needed tick checkbox under general settings page:

there product.product multicompany rule (but inactive default): "product multi-company"

xml id: product.product_comp_rule

you can active going settings => general settings. check "manage multi company", uncheck "share product companies"

link here: https://www.odoo.com/es_es/forum/ayuda-1/question/limit-products-to-company-assigned-to-user-in-multi-company-odoo-9-102686


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -