Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

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

Odoberať

Get notified when there's activity on this post

This question has been flagged
bom_importbom_mrp_Odoo18.0required product error
2 Replies
1022 Zobrazenia
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
Zrušiť
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
Zrušiť
Elijah Nyendwa
Autor

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
Zrušiť
Elijah Nyendwa
Autor

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!

Registrácia
Related Posts Replies Zobrazenia Aktivita
Only the department manager can modify their team members' information.
Odoo18.0
Avatar
Avatar
1
nov 25
343
Issue with Importing Child Components in BOM Using Database IDs in Odoo 18
bom_import
Avatar
Avatar
1
jan 25
2158
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
3264
Import bill of materials from excel or csv files
bom_import
Avatar
Avatar
Avatar
3
júl 18
11969
upload muliple folders in documents Solved
documents Odoo18.0
Avatar
Avatar
Avatar
2
nov 25
378
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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