Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

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

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
manufacturingenterpriseV12
4 Réponses
11674 Vues
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
Ignorer
Avatar
Equick ERP
Meilleure réponse

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
Ignorer
Avatar
Quang Huynh
Meilleure réponse

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
Ignorer
Avatar
Martin Akman
Meilleure réponse

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
Ignorer
Lars Aam
Auteur

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.

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Close Manufacturing order even not fullly produced
manufacturing enterprise V12
Avatar
0
août 19
3648
Settings of Manufacturing is not displayed values correctly
manufacturing enterprise v14
Avatar
Avatar
1
août 23
2717
11.0+E Manufacturing: Reverse an iventory transactions.
manufacturing enterprise v11.0
Avatar
Avatar
2
oct. 18
3258
how to get same product price for different currency in odoo? Résolu
multicurrency enterprise ecommerce V12
Avatar
Avatar
Avatar
2
déc. 19
5966
How to make Odoo schedule manufacturing in parallel?
manufacturing
Avatar
0
oct. 25
460
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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