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

How to prevent changing UoM after creating BoM? (odoo.sh v13)

Tilaa

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

Tämä kysymys on merkitty
UOMBOM
4 Vastaukset
3710 Näkymät
Avatar
FD Displays

If i create a product for sale with a UoM, after i create a Bill of Materials, the BoM will assume the product's UoM. But... i can the product's UoM. If i do that, and add the product to a quote, when i confirm the quote, i get an error, and it can be hard to track. Sometimes i have more than 50 products in a quotation.

Is there a way to prevent changing a product's UoM after creating the BoM, thus preventing the error?

It doesn't make sense that one can change back the UoM after the BoM is created.

0
Avatar
Hylkää
Ray Carnes (ray)

It might now make sense to you, that doesn't mean it is not something other users have requested from us.

Why are you changing the Product UoM? 

A Bill of Materials isn't "completed" like other kinds of records in Odoo - so is more challenging to define "after the BoM is created" in Odoo. 

You can setup an Automated Action that triggers ON UPDATE of the Bill of Materials and prevents Users from saving the BoM if there is a change to the Unit of Measure. 

This will prevent BoM's from evolving over time though.  If you learn how to make a product in larger quantities (normally happens as you grow your company) you will need a new BoM for the new Unit of Measure and will now need to choose which BoM to use on a Manufacturing Order (or delete the old one).  This creates extra work downstream.

So ... back to the start ... Why are you changing the Product UoM? 

Ray Carnes (ray)

You cannot change the UoM after you buy, make or sell the product but you CAN before hand. You can always setup an automated action that prevents a UoM change in any situation after a Bill of Materials is created - requiring you to delete all BoM's before doing so.

FD Displays
Tekijä

Hello again Ray. Can't comment on your reply...

Sorry i took so long to reply.... Quarantine happened. Oh well...

I can only guess that the guys responsible for registering the products changed the UoM because they selected a wrong one the first time.

All my products for sale are basically one of-a-kind. I hardly make the same product twice, so preventing the BoM from changing wouldn't be a problem. But... my problem is to prevent the users from changing the product's UoM after que BoM is created. Because if i change the UoM of a product that is already in a quote, i get an error when confirming the quote, which prevents me from generating purchase requests, manufacturing orders, etc.

Is this possible?

Avatar
Ray Carnes (ray)
Paras vastaus

Create the following Automated Action, or one like it (I quickly tested and it seemed to work):


for record in records:
raise Warning("You cannot change the UoM of this product until you delete the BoM!")
1
Avatar
Hylkää
FD Displays
Tekijä

Thanks again Ray. Almost there... however, this way doesn't check if the BoM already exists. So whether the BoM exists or not, the warning will appear.

Ray Carnes (ray)

Add this in the before Update Domain

FD Displays
Tekijä

Great! I made it On Update only, removed Routes and added BoM Is Defined in before Update Domain.

Works a treat!

Thank you so much Ray!

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
Different UoM for BoM
production UOM BOM
Avatar
0
jouluk. 19
4516
UOM for a bar - Needing some assistance Ratkaistu
UOM
Avatar
Avatar
Avatar
Avatar
4
jouluk. 24
4777
change Uom Ratkaistu
UOM
Avatar
Avatar
Avatar
2
huhtik. 24
11907
constant (unchanging) quantity of by-products in the BOM
BOM
Avatar
0
elok. 23
2052
another UOM question
UOM
Avatar
Avatar
1
jouluk. 22
3040
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
  • Tavaramerkki
  • 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