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

❗ Odoo 18 BoM Import Keeps Failing: “Missing required value for the field 'Product' (product_tmpl_id) at multiple rows”

Subscribe

Get notified when there's activity on this post

This question has been flagged
bom_importbom_mrp_Odoo18.0required product error
2 Replies
984 Views
Avatar
Elijah Nyendwa

Hi everyone,

I'm trying to import Bill of Materials (BoMs) into Odoo 18 using the standard import format . I've followed the format exactly as per a sample export from Odoo's own BoM model, but I keep hitting this error:     

What I've Done

  1. Started with a structured Excel file  containing:
    • Finished product name
    • Multiple component lines (ingredients)
    • UoM and quantities
    • Other metadata like External ID, Company, etc.
  2. Matched all my columns  to Odoo's exported BoM file, including:
    • id
    • product_temp_id/id
    • type
    • bom_line_ids/product_id
    • bom_line_ids/product_uom_id
    • bom_line_ids/product_qty
    • company_id/id
  3. Ensured UoM fields are not empty , dropping rows that are. 
  4. Tried both:
    • Not forward-filling the product name (leads to missing product errors).
    • Forward-filling product name (Odoo ends up creating multiple one-line BoMs instead of one multi-line BoM — not acceptable).  

problem

No matter how I import:

  • If I don't forward-fill the product name in blank rows, Odoo says Missing required value for 'Product' .   
  • If I do forward-fill, Odoo treats each row as a new BoM , so I get multiple BoMs for the same product — each with only one component .    

This defeats the purpose of a multi-line BoM import.

What I Want

I want to import a single BoM with multiple components (rows) under one product — just like how Odoo exports it .     

but it's not working

HELP


product_temp_id/id product_template_id/name type bom_line_ids/product_id bom_line_ids/product_uom_id bom_line_ids/product_qty company_id
SPV10001 Malai Tamatar Shorba (v) Manufacture this product Onions White Kg kg 0.5 Dil Restaurant
Cooking Oil Lit Ltr 0.05
Salt Iodized Kg kg 0.2
Cooking Dessert Cream Lit Ltr 0.5
Milk Full Cream Lit Ltr 0.5
Food Color Green/Red/Yellow Each 0.01
Daddies Tomato Ketchup 2L Each 0.1
Tomatoes Kg kg 3
Black Pepper Whole Kg kg 0.01
Fresh Spring Onions Bunch 0.01
Fresh Coriander Bunch 0.01
SPV10002 Sabzi Bahar Shorba (v) Manufacture this product Onions White Kg kg 0.3 Dil Restaurant
Cooking Oil Lit Ltr 0.05
Carrots Kg kg 0.3
Potatoes Kg kg 0.3
Green Beans Kg kg 0.2
Frozen Green Peas Kg kg 0.1
Salt Iodized Kg kg 0.02
Tomatoes Kg kg 0.5
Coriander Powder Kg kg 0.001
Cumin/Jeera Powder Kg kg 0.1
Daddies Tomato Ketchup 2L Each 0.1
Lemon Kg kg 0.05
Black Pepper Whole Kg kg 0.01
Fresh Spring Onions Bunch 0.1
Fresh Coriander Bunch 0.1
SPV10003 Murgh Malai Shorba Manufacture this product Onions White Kg kg 0.5 Dil Restaurant
Chicken Breast Fillet 1 kg kg 0.5
Salt Iodized Kg kg 0.02
Cooking Dessert Cream Lit Ltr 0.5
Butter kg kg 0.1
Garlic Kg kg 0.05
Daddies Tomato Ketchup 2L Each 0.1
Tomatoes Kg kg 1
Coriander Powder Kg kg 0.001
Cumin/Jeera Powder Kg kg 0.01
Ginger Kg kg 0.05
Black Pepper Whole Kg kg 0.01
Fresh Spring Onions Bunch 0.01
Fresh Coriander Bunch 0.01
SPV10004 Manchow Soup (v) Manufacture this product Onions White Kg kg 0.2 Dil Restaurant
Green Peppers Kg kg 0.1
Red Peppers Kg kg 0.1
Yellow Peppers Kg kg 0.1
Cabbage Green Each 0.3
Carrots Kg kg 0.3
Baby Corn Each 0.2
Spaghetti 500g kg 0.2
Tomato Sauce All Gold 700ml Each 0.1
Soy Sauce Dark Lit Ltr 0.01
Chicken Breast Fillet 1 kg kg 0.5
Corn Flour Kg kg 0.05
Salt Iodized Kg kg 0.001
White Pepper Powder Kg kg 0.002
Eggs Each 2
Ginger Kg kg 0.04
Garlic Kg kg 0.03

0
Avatar
Discard
Avatar
Ray Carnes (ray)
Best Answer

I moved company_id to the end of your BoM fields (between type and bom_line_ids/product_id) so that the BoM and the BoM lines data was separated. 

I specified product template once by name.


With this file:


I was able to import this:


0
Avatar
Discard
Elijah Nyendwa
Author

I don't think moving the company_id will solve my product required error

Ray Carnes (ray)

See my edited answer.

Avatar
Ard van Someren
Best Answer

A short question. Did you check your regional settings?

0
Avatar
Discard
Elijah Nyendwa
Author

I did, the settings are set to my country, but i am still getting the error

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
Only the department manager can modify their team members' information.
Odoo18.0
Avatar
Avatar
1
Nov 25
316
Issue with Importing Child Components in BOM Using Database IDs in Odoo 18
bom_import
Avatar
Avatar
1
Jan 25
2141
How can I convert the value of a BOM line from the product name to its internal code when importing a product's BOM? Solved
bom_import
Avatar
Avatar
Avatar
2
Oct 23
3245
Import bill of materials from excel or csv files
bom_import
Avatar
Avatar
Avatar
3
Jul 18
11942
upload muliple folders in documents Solved
documents Odoo18.0
Avatar
Avatar
Avatar
2
Nov 25
346
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