Skip to Content
Menu
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
Discard
Related Posts Replies Views Activity
0
Aug 22
2118
1
Mar 21
2716
2
Dec 23
17007
1
Apr 24
2188
0
Oct 23
1308