Odoo Help


[Odoo 9.0] Cannot delete a manufacturing order in state 'Done'.

Alaaedeen Aglan
on 5/11/16, 11:56 AM 1,027 views

I started out testing Odoo's manufacturing process, and I have more or less understood the basic steps to get there (minus the accounting aspect). I started a new product, created a product from other consumable products, then started (and completed) a manufacturing order. Now that test is over, i would like to delete the manufacturing orders and any associated inventory changes.

I read a few posts (https://www.odoo.com/forum/help-1/question/how-to-delete-the-stock-moves-when-they-are-in-done-state-5122) regarding deleting 'done' items, such as stock moves and Manufacturing orders. This is an issue for me because the manufactured item placed my inventory stock for the used components in the negative, and the warehouse that it is using is in a 'virtual locations'.

Resetting stock moves to draft & deleting them doesn't help. inventory adjustments just moves it to 'virtual locations/inventory loss'. And of course, I cannot delete the test products as they are associated with the MO that's 'done' and cannot be deleted ether.

Any idea how to get out of this mess?


Ray Carnes

--Ray Carnes--
| 9 7 9
Keyport, United States
--Ray Carnes--

Senior ERP Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0 and 11.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 5/11/16, 10:00 PM

 You should test in a separate database.  

Deleting things once they have been created and processed isn't supported and back end SQL methods have the potential to leave your database in an unsupported state.



You can create a new inventory adjustment for that location that you have problem with, i think its your finished product location, then click on set all quantity to zero, all real quantity will be set to zero and it dosent shows negative items again.

but before do this please make duplicate from your main database and do this on a copy one,if it works do it on your main data.


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/11/16, 11:56 AM
Seen: 1027 times
Last updated: 7/16/16, 1:47 AM