Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Sharing BoM in multi-company setup

Subscribe

Get notified when there's activity on this post

This question has been flagged
manufacturingmulticompanyBOM
4 Replies
7656 Views
Avatar
Peter Guldberg

We are using a multi-company setup, where products and customers are shared between companies. We need this, because the companies are in different countries and have separate accounting.

We buy parts, and assemble them into products that we sell to our customers. We would like to use Odoo's manufacturing and inventory modules to do this.  

The problem we are running into is that Bills of Materials are not shared between companies, so we need to maintain separate records of BoM's for each company. This seems wrong and error-prone, since all the products are the same and have the same BoM's. It also just gives a lot of work with maintaining them.

We discovered today that if you log in as a super-user in Odoo 12, you can actually see the BoM's for the products, even though the BoM's are defined/belong to another company, and you can complete a manufacturing order using those BoM's. This makes it seem like it is a permissioning issue, but we have not been able to find any permissions that guide this. 

So - does anybody know how we solve this? - Is there a way we can share BoM's between companies for products that are already shared?


1
Avatar
Discard
Avatar
Bhaviraj Brahmkshatriya
Best Answer

As for basic understanding of the question i would suggest you to change record rules of BOM and product.

and Make sure both companies are allow into user account. so user can access another company BOM and product.

3
Avatar
Discard
Peter Guldberg
Author

Both companies are allowed in the user account. The user can see and access products from both companies. Since they are shared. The problem is that the user cannot see BOM's from another company.

I don't understand what you mean by "changing the record rules of BOM" - how do I do that?

Bhaviraj Brahmkshatriya

mrp.bom and product.tempplate both have multi company rule that you can change from record rules menu form main setting menu.

Peter Guldberg
Author

Right, ok - I see that, the rule looks like this:

['|',('company_id','child_of',[user.company_id.id]),('company_id','=',False)]

What do I change it to?

All access rights er checked on, and groups are set to global.

Peter Guldberg
Author

Ah - I get it, sorry - we just switch the rule off. Brilliant, thank you :)

Avatar
Evgeniy Belosludtsev
Best Answer

Bhaviraj Brahmkshatriya, thanks for the answer.

For those like me, who didn't understand the answer quickly, here is a step-by-step instruction

(my configuration: Odoo Enterprise V12 on own server; I already enabled the checkbox "Share products between multi-companies" and "Share contacts between multi-companies", so I need to share only Bills of materials):

1. Settings -> Activate the developers mode

2. Settings -> Technical -> Security -> Record rules 

3. Search "mrp.bom" as "Object". You will find a line which looks like 

mrp_bom multi-company ...  Bill of material ... ['|',('company_id','child_of',[user.company_id.id]),('company_id','=',False)]

Click on this line.

4. On the top right there will be a green text "On". Put mouse over - it will change to "Switch off". Click on it. Enjoy :)



2
Avatar
Discard
Avatar
Rohan Quentin Barnett
Best Answer

A solution to the same problem in Odoo 18 is to simply delete the company name in the Company field of the Bill of Materials (leave the field blank). That way the Bill of Materials becomes available to all companies.

0
Avatar
Discard
Avatar
Peter Guldberg
Author Best Answer



0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Odoo 11 BOM template file .csv for import Solved
manufacturing BOM
Avatar
Avatar
Avatar
2
Sep 18
6609
How can I model the manufacturing of multiple items out of one piece of raw material?
manufacturing BOM
Avatar
Avatar
1
Nov 17
6595
Final product as a component
manufacturing BOM v15
Avatar
Avatar
Avatar
Avatar
4
May 24
4429
How to Configure Odoo 12 Manufacturing for Assembly Line conveyor System. Solved
manufacturing BOM odoo12
Avatar
Avatar
Avatar
2
Aug 22
7131
Can I create a Manufacturing Order without a Bill of Materials? Solved
manufacturing odoo9 BOM
Avatar
Avatar
1
Aug 21
7391
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now