Přejít na obsah
Menu
You need to be registered to interact with the community.
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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
srp 22
2164
1
bře 21
2786
2
pro 23
17054
1
dub 24
2238
0
říj 23
1342