Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Delete Manufacturing order / work order in Progress. Not possible!

Subscriure's

Get notified when there's activity on this post

This question has been flagged
manufacturingenterpriseV12
4 Respostes
11934 Vistes
Avatar
Lars Aam

It happened that there was some entry in a work order for a manufacturing order, that was wrong.  What we needed to do, was to cancel and delete the work order / manufacturing order. Since it would only create wrong postings.

But I find absolutely now way of managing that. I cannot cancel or delete a work order that is in status "Progress". I cannot cancel / delete a Manufacturing order that got a Work order in progress attached to it.

Pleas advice what I can do to get rid of these orders.

1
Avatar
Descartar
Avatar
Equick ERP
Best Answer

Hello Lars 

please check the below link. This will helps you.

https://apps.odoo.com/apps/modules/13.0/eq_cancel_mrp_orders/




0
Avatar
Descartar
Avatar
Quang Huynh
Best Answer

Hi all,

    I want to delete MO and the all child MOs also, how can I do?

    It means that delete all related with parent MO

Please help

Thanks

0
Avatar
Descartar
Avatar
Martin Akman
Best Answer

I had the same problem, and found a way to delete it by modifying the database directly (Community v11).  No easy way it seems.

Be very careful if you attempt this, you can destroy your database if its not done correctly.

This may also have some side effects that I am not aware of.

You need to first cancel all the inventory moves for the manufacturing order, there is an 'Inventory Moves' button on the manufacturing order in odoo which lets you delete the records. 

Then this is the hard part, maybe.  Login to the database via a postgres client program, how you do this depends largely on your installation and may not be possible in cloud based installs. I just login using psql over ssh. Locate the record in the mrp_production table. It seems the number in the MO/00001 relates to the id of the record, so that would id = 1, for me at least. But a query like this should find it and tell you the id of it:

     select * from mrp_production where name = 'MO/00001';

or for just the id

select id from mrp_production where name = 'MO/00001';

Then you can cancel the manufacturing order with the following query, using the id you found in the previous query:

update mrp_production set state = 'cancel' where id = [ID];

for example:

update mrp_production set state = 'cancel' where id = 1;

Then you can delete the manufacturing order via the usual way using odoo.

Anyway may not be for everyone, but it seemed to work for me.


0
Avatar
Descartar
Lars Aam
Autor

Oh. No. I use Enterprise edition on Odoo SAAS. Cannot access the database this way.

But the issue was expereinced in a test database. In production it has not happened - yet.

We need a solution from Odoo. And they say that there are imporvements in V13.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
Close Manufacturing order even not fullly produced
manufacturing enterprise V12
Avatar
0
d’ag. 19
3747
Settings of Manufacturing is not displayed values correctly
manufacturing enterprise v14
Avatar
Avatar
1
d’ag. 23
2879
11.0+E Manufacturing: Reverse an iventory transactions.
manufacturing enterprise v11.0
Avatar
Avatar
2
d’oct. 18
3387
how to get same product price for different currency in odoo? Solved
multicurrency enterprise ecommerce V12
Avatar
Avatar
Avatar
2
de des. 19
6098
Master Production Scheduling in "Manufacturing module"
manufacturing
Avatar
Avatar
1
de nov. 25
497
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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