Ir al contenido
Menú
Se marcó esta pregunta

Using multicompany I need every-company can edit ONLY it's own product.

I have just change the 'Product multi-company' rule in order to share product in child-parent relation --> ['|','|',('company_id.child_ids','child_of',[user.company_id.id]),('company_id','child_of',[user.company_id.id]),('company_id','=',False)] --> like [https://www.odoo.com/forum/help-1/question/share-products-between-multi-companies-66071]

Here is the situation :

+ Company's Structure
      - Main company
            - subCompany1

+ Users
      - Admin (Main company, Allowed Companies : Main Company)
      - sub1user (subCompany1, Allowed Companies : subCompany1)

+ Products
      - productmain (company_id = Main company)
      - product1 (company_id = subCompany1)
      - productglobal (company_id = null ) []


+ In Sales -> Products -> Products :
      - Admin user can see/edit ALL he wants
      - sub1user can see all product
      - sub1user can edit only product1
      - sub1user can add(create) new product only within subCompany1

Does someone know what I have to do? THANKS A LOT

 

 

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ago 22
2120
1
mar 21
2717
2
dic 23
17010
1
abr 24
2191
0
oct 23
1310