Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

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

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
bom_importbom_mrp_Odoo18.0required product error
2 Besvarelser
998 Visninger
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
Kassér
Avatar
Ray Carnes (ray)
Bedste svar

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
Kassér
Elijah Nyendwa
Forfatter

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
Bedste svar

A short question. Did you check your regional settings?

0
Avatar
Kassér
Elijah Nyendwa
Forfatter

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!

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
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? Løst
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 Løst
documents Odoo18.0
Avatar
Avatar
Avatar
2
nov. 25
349
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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