Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Restricted product sharing in multi company.

on 12/26/14, 11:10 AM 703 views

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



Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


Asked: 12/26/14, 11:10 AM
Seen: 703 times
Last updated: 3/16/15, 8:10 AM