Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Manufacturing
  3. Cancel & Reset Manufacturing Order to Draft v 19.0
  4. Sales Conditions FAQ

Cancel & Reset Manufacturing Order to Draft

by Odoo DevHouse https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse
Odoo

$ 60.00

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
  • Description
  • Manifest
  • License

Cancel & Reset Manufacturing Order to Draft

Undo a completed Manufacturing Order in one click - reverse the stock and accounting impact, and start over. No Unbuild workaround, no separate reversal record.

  Problem: A Done Manufacturing Order Has No Way Back

Standard Odoo Manufacturing has no way back once an order is marked Done. A wrong quantity, the wrong Bill of Materials, or a Produce click by mistake means the on-hand quantities, the consumed components and the accounting journal entries are all locked in.

  • The only official fix is Unbuild, which leaves the original order untouched and creates a separate reversal record instead of fixing the mistake in place
  • Consumed component quantities and produced finished-good quantities stay locked into stock even though the order was wrong
  • The accounting journal entries generated by automated inventory valuation remain posted, overstating or understating the books
  • Work orders and produced quantities on the Done order cannot be edited or replanned
  • Training and sandbox databases accumulate irreversible Done orders that can only be cleaned up by dropping the database


  Solution: A Real Cancel and Reset to Draft Workflow

This module adds a real Cancel and Reset to Draft workflow to Done manufacturing orders. Clicking Cancel reverses the produced/consumed on-hand quantities, deletes the related stock moves, and removes the accounting journal entries generated by automated inventory valuation. Clicking Reset to Draft then clears the work orders so the order becomes an editable Draft again - ready to be corrected and confirmed from scratch, on the same order, with no separate reversal record left behind.



  Key Features
  •   Cancel button - appears on manufacturing orders in the Done state, right next to the standard Unbuild button
  •   Reset to Draft button - appears once the order is Cancelled, clearing work orders and produced quantities
  •   Full quantity reversal - both consumed component quantities and produced finished-good quantities are reversed on the stock quants, not just marked cancelled
  •   Stock move cleanup - the Done stock moves and their move lines are deleted so the order's inventory history is genuinely undone
  •   Accounting cleanup - journal entries created by automated inventory valuation for this order are deleted along with the moves
  •   Same order, no duplicate - unlike Unbuild, the original manufacturing order itself becomes editable again; no separate reversal record
  •   Full audit trail - every Cancel and Reset to Draft action is logged on the manufacturing order chatter
  •   Manager-restricted - both buttons are only visible to users in the Manufacturing Manager security group
  •   Confirmation dialogs - both destructive actions ask for explicit confirmation before running
  •   Locked-period safe - journal entries protected by a restrictive audit trail or a locked accounting period are left untouched and reported on the chatter instead of being silently skipped


  The Module Cycle
1

Mistake Found

A Done manufacturing order has the wrong quantity, BoM, or was produced by mistake

2

Click Cancel

Produced/consumed quantities are reversed; stock moves and journal entries are deleted

3

Order is Cancelled

Stock is back to where it was before production; a Reset to Draft button appears

4

Click Reset to Draft

Work orders are cleared and the manufacturing order becomes fully editable again

5

Fix & Reconfirm

Correct the product, quantity, BoM or components, then confirm and produce again as usual



How It Works - Step by Step

Step 1 - Open a Done Manufacturing Order

Open any manufacturing order that has reached the Done state. Standard Odoo only offers Unbuild here - this module adds a real Cancel button right next to it, restricted to the Manufacturing Manager group.

Done manufacturing order with the new Cancel button

WH/MO/00002 in the Done state - the Oak Plank component shows 12.00 Consumed


Step 2 - Click Cancel

Clicking Cancel asks for explicit confirmation before it reverses the produced/consumed quantities and deletes the related stock moves and journal entries. Nothing runs until you confirm.

Cancel confirmation dialog

Confirmation dialog explaining exactly what Cancel is about to do


Step 3 - The Order Becomes Cancelled

The component lines are gone - their stock moves were deleted, not just marked cancelled - and a new Reset to Draft button has appeared. The chatter logs exactly what happened and when.

Cancelled manufacturing order with Reset to Draft button

WH/MO/00002 now Cancelled - chatter shows Done → Cancelled, Reset to Draft is available


Step 4 - Click Reset to Draft

Reset to Draft also asks for confirmation before permanently clearing the work orders and stock moves of the cancelled order and bringing it back to an editable state.

Reset to Draft confirmation dialog

Confirmation dialog before the order is reset to Draft


Step 5 - Back to an Editable Draft

The order is fully editable again: the component line is re-planned and reserved (Available), and the product, quantity, BoM or components can all be corrected before confirming and producing again - on the very same order.

Manufacturing order reset to Draft, editable again

WH/MO/00002 back in Draft - ready to be corrected and reconfirmed


Step 6 - Verify the Stock Impact Was Truly Reversed

The reversal is real, not cosmetic. The Oak Plank component in this example was consumed down to 88 units on hand while the order was Done - after Cancel, its stock is back to the full 100 units, exactly as if the order had never been produced.

Component on-hand quantity restored after cancellation

Oak Plank component - 100.00 On Hand, fully restored after Cancel



  Screenshots - The Detailed Cycle

Every stage of the cycle above, captured end to end - from a Done order, through Cancel and Reset to Draft, to a fresh editable Draft with its stock fully restored.

01
Done manufacturing order with the new Cancel button

Done manufacturing order - the new Cancel button appears next to Unbuild

02
Cancel confirmation dialog

Cancel confirmation dialog - explains exactly what will be reversed

03
Cancelled manufacturing order with Reset to Draft button

Cancelled state - component lines removed, Reset to Draft now available

04
Reset to Draft confirmation dialog

Reset to Draft confirmation dialog

05
Manufacturing order reset to Draft, editable again

Back to Draft - fully editable and ready to be reconfirmed

06
Component on-hand quantity restored after cancellation

Proof: component stock restored from 88 back to the full 100 units on hand



Perfect For

  Wrong Quantity Produced

An operator marks 30 units done instead of 3. Cancel reverses the mistaken quantities on both components and finished goods, then Reset to Draft lets you re-enter the correct number.

  Wrong Bill of Materials Used

Production ran against an outdated or incorrect BoM. Cancel and Reset to Draft return the order to a clean state so the right BoM can be selected before re-confirming.

  Accidental "Mark as Done" Click

A production order was closed before it was actually finished. Undo the mistake on the same record instead of leaving a phantom Done order behind.

  Quality Rejections After Production

Finished goods failed quality control right after being marked Done. Cancel the order to reverse the stock impact cleanly instead of manually adjusting quants and journal entries by hand.

  Training & Sandbox Environments

Trainees and testers can freely produce, cancel, and reset manufacturing orders to practice the full workflow repeatedly on the same records instead of piling up throwaway Done orders.

  Manufacturing Data Corrections

Manufacturing Managers who need to fix historical production errors get a controlled, logged, permission-gated way to undo and redo an order without touching the database directly.



Business Benefits

Operational Flexibility

Fix a mistake on the manufacturing order itself instead of routing every correction through Unbuild and a separate reversal record. Less clutter, fewer records to reconcile.

Data Integrity

On-hand quantities, stock moves and accounting journal entries are genuinely reversed, not just hidden or marked cancelled - inventory and the books stay accurate.

Faster Error Recovery

Two clicks and two confirmations take a mistaken Done order all the way back to an editable Draft, instead of a multi-step manual cleanup across inventory and accounting.

Audit-Safe Corrections

Restricted to Manufacturing Managers, gated behind confirmation dialogs, and fully logged on the chatter - every correction is traceable to who did it and when.



Quick Configuration Guide

1 - Install the Module

No configuration screens needed. Install the module and the Cancel / Reset to Draft buttons appear automatically for users in the Manufacturing -> Administration -> Manufacturing Manager group.

2 - Cancel a Done Order

Manufacturing -> Operations -> Manufacturing Orders -> open an order in the Done state -> click Cancel -> confirm. Quantities are reversed, stock moves and journal entries are removed, and the order becomes Cancelled.

3 - Reset to Draft and Reconfirm

On the Cancelled order, click Reset to Draft -> confirm. Fix the product, quantity, Bill of Material or components, then click Confirm and produce again as usual.

Notes
  • Both actions are restricted to the Manufacturing Manager security group
  • Both actions ask for explicit confirmation before running - nothing happens accidentally
  • Cancel is only available on orders in the Done state; Reset to Draft only on Cancelled orders
  • Journal entries protected by a locked accounting period or a restrictive audit trail are left untouched and reported on the chatter instead of being silently skipped
  • Every action is logged on the manufacturing order chatter for full traceability

Need Help or a Custom Feature?

  Contact Support

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Manufacturing (mrp)
• Inventory (stock)
• Invoicing (account)
Lines of code 99
Technical Name cancel_order_mrp
LicenseOPL-1
Websitehttps://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with