Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

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

Naroči se

Get notified when there's activity on this post

This question has been flagged
bom_importbom_mrp_Odoo18.0required product error
2 Odgovori
995 Prikazi
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
Opusti
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
Opusti
Elijah Nyendwa
Avtor

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
Opusti
Elijah Nyendwa
Avtor

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!

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Only the department manager can modify their team members' information.
Odoo18.0
Avatar
Avatar
1
nov. 25
319
Issue with Importing Child Components in BOM Using Database IDs in Odoo 18
bom_import
Avatar
Avatar
1
jan. 25
2145
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
okt. 23
3247
Import bill of materials from excel or csv files
bom_import
Avatar
Avatar
Avatar
3
jul. 18
11944
upload muliple folders in documents Solved
documents Odoo18.0
Avatar
Avatar
Avatar
2
nov. 25
348
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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