Skip to Content
Menú
This question has been flagged

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
Related Posts Respostes Vistes Activitat
0
d’ag. 22
2118
1
de març 21
2716
2
de des. 23
17008
1
d’abr. 24
2189
0
d’oct. 23
1309