Siirry sisältöön
Odoo Menu
  • Kirjaudu sisään
  • Kokeile ilmaiseksi
  • Sovellukset
    Talous
    • Kirjanpito
    • Laskutus
    • Kulut
    • Datataulukot (BI)
    • Asiakirjat
    • Allekirjoita
    Myynti
    • CRM
    • Myynti
    • Kassajärjestelmä myymälään
    • Kassajärjestelmä ravintolaan
    • Tilaukset
    • Vuokraus
    Verkkosivut
    • Verkkosivun Rakennustyökalu
    • Verkkokauppa
    • Blogi
    • Foorumi
    • Livechat
    • Verkko-oppiminen
    Toimitusketju
    • Varastointi
    • Tuotanto
    • Tuotteen elinkaaren hallinta (PLM)
    • Ostot
    • Huolto
    • Laatu
    Henkilöstöhallinto
    • Työntekijät
    • Rekrytointi
    • Vapaat
    • Arvioinnit
    • Suositukset
    • Kuljetuskalusto
    Markkinointi
    • Somemarkkinointi
    • Sähköpostimarkkinointi
    • Tekstiviestimarkkinointi
    • Tapahtumat
    • Markkinoinnin automaatio
    • Kyselyt
    Palvelut
    • Projekti
    • Työaikakirjaukset
    • Kenttähuolto
    • Asiakaspalvelu
    • Suunnittelu
    • Ajanvaraukset
    Tuottavuus
    • Viestintä
    • Hyväksynnät
    • IoT
    • IP-puhe
    • Tietokirjasto
    • WhatsApp
    Kolmannen osapuolen sovellukset Odoo-Studio Odoo-Pilvialusta
  • Toimialat
    Vähittäiskauppa
    • Kirjakauppa
    • Vaatekauppa
    • Huonekaluliike
    • Ruokakauppa
    • Laitteistokauppa
    • Lelukauppa
    Ruoka & Majoitus
    • Baari ja Pubi
    • Ravintola
    • Pikaruoka
    • Majatalo
    • Juomien jakelija
    • Hotelli
    Kiinteistöt
    • Kiinteistönvälitystoimisto
    • Arkkitehtitoimisto
    • Rakentaminen
    • Kiinteistönhallinta
    • Puutarhanhoito
    • Kiinteistön omistajien yhdistys
    Konsultointi
    • Tilitoimisto
    • Odoo-kumppani
    • Markkinointitoimisto
    • Lakitoimisto
    • Osaajahankinta
    • Tilintarkastus & sertifiointi
    Tuotanto
    • Tekstiili
    • Metalli
    • Huonekalut
    • Ruoka
    • Panimo
    • Yrityslahjat
    Terveys & Liikunta
    • Urheiluseura
    • Silmälasiliike
    • Kuntokeskus
    • Hyvinvointialan ammattilaiset
    • Apteekki
    • Kampaamo
    Kaupat
    • Yleismies
    • IT-laitteisto & Tuki
    • Aurinkoenergiajärjestelmät
    • Suutari
    • Siivouspalvelut
    • LVI-palvelut
    Muut
    • Voittoa tavoittelematon järjestö
    • Ympäristötoimisto
    • Mainostaulujen vuokraus  
    • Valokuvaus
    • Leasing-pyörät
    • Ohjelmistojen jälleenmyyjä
    Selaa kaikkia toimialoja
  • Yhteisö
    Opi
    • Kurssit
    • Dokumentaatio
    • Todistukset
    • Koulutus
    • Blogi
    • Podcast
    Kannusta kouluttautumaan
    • Koulutusohjelmat
    • Scale Up! Liiketoimintapeli
    • Vieraile Odoolla
    Hanki ohjelmisto
    • Lataa
    • Vertaile versioita
    • Julkaisut
    Tee yhteistyötä
    • Github
    • Foorumi
    • Tapahtumat
    • Käännökset
    • Ryhdy kumppaniksi
    • Kumppanipalvelut
    • Rekisteröi tilitoimistosi
    Hanki palveluja
    • Löydä kumppani
    • Löydä kirjanpitäjä
    • Varaa asiantuntijatapaaminen
    • Implementaatiopalvelut
    • Asiakasreferenssit
    • Tuki
    • Versionkorotukset
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Varaa demo
  • Hinnoittelu
  • Asiakaspalvelu

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

  • CRM
  • e-Commerce
  • Kirjanpito
  • Varastointi
  • PoS
  • Projekti
  • MRP
All apps
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Apua

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

Tilaa

Saat ilmoituksen, kun tähän viestiin ilmaantuu aktiviteettia

Tämä kysymys on merkitty
bom_importbom_mrp_Odoo18.0required product error
2 Vastaukset
1014 Näkymät
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
Hylkää
Avatar
Ray Carnes (ray)
Paras vastaus

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
Hylkää
Elijah Nyendwa
Tekijä

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
Paras vastaus

A short question. Did you check your regional settings?

0
Avatar
Hylkää
Elijah Nyendwa
Tekijä

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

Nautitko keskustelusta? Älä vain lue, vaan osallistu!

Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!

Rekisteröidy
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
Only the department manager can modify their team members' information.
Odoo18.0
Avatar
Avatar
1
marrask. 25
340
Issue with Importing Child Components in BOM Using Database IDs in Odoo 18
bom_import
Avatar
Avatar
1
tammik. 25
2151
How can I convert the value of a BOM line from the product name to its internal code when importing a product's BOM? Ratkaistu
bom_import
Avatar
Avatar
Avatar
2
lokak. 23
3251
Import bill of materials from excel or csv files
bom_import
Avatar
Avatar
Avatar
3
heinäk. 18
11957
upload muliple folders in documents Ratkaistu
documents Odoo18.0
Avatar
Avatar
Avatar
2
marrask. 25
363
Yhteisö
  • Kurssit
  • Dokumentaatio
  • Foorumi
Avoin lähdekoodi
  • Lataa
  • Github
  • Runbot
  • Käännökset
Palvelut
  • Odoo.sh hosting
  • Tuki
  • Versionkorotus
  • Räätälöidyt kehitykset
  • Koulutus
  • Löydä kirjanpitäjä
  • Löydä kumppani
  • Ryhdy kumppaniksi
Meistä
  • Yrityksemme
  • Brändiominaisuudet
  • Ota yhteyttä
  • Työpaikat
  • Tapahtumat
  • Podcast
  • Blogi
  • Asiakkaat
  • Oikeudellinen ilmoitus • Yksityisyys
  • Tietoturva
الْعَرَبيّة 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 on kokoelma avoimen lähdekoodin yrityssovelluksia, jotka kattavat kaikki yrityksesi tarpeet: asiakkuudenhallinta eli CRM, verkkokauppa, kirjanpito, varastointi, kassajärjestelmä, projektinhallinta, jne.

Odoon uniikki arvolupaus on olla samanaikaisesti erittäin helppokäyttöinen ja täysin integroitu.

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