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
    • Estate 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. Manufacturing Reset to Draft v 18.0
  4. Sales Conditions FAQ

Manufacturing Reset to Draft

by Lucidbrainz https://lucidbrainz.com
Odoo

$ 7.02

v 18.0 Third Party 1
Live Preview
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Manufacturing (mrp)
• Inventory (stock)
• Discuss (mail)
Technical Name lb_mo_reset
LicenseOPL-1
Websitehttps://lucidbrainz.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Manufacturing (mrp)
• Inventory (stock)
• Discuss (mail)
Technical Name lb_mo_reset
LicenseOPL-1
Websitehttps://lucidbrainz.com
  • Description
  • License

Manufacturing Reset to Draft - Reopen Cancelled Manufacturing Orders

One-Click Solution to Reset Cancelled Manufacturing Orders Back to Draft State | Restore MO | Undo Cancel | Reuse Production Orders for Odoo 18


Overview

Manufacturing Reset to Draft by LucidBrainz is a powerful productivity module for Odoo 18 that allows you to reset cancelled manufacturing orders back to draft state with a single click. Say goodbye to recreating entire manufacturing orders from scratch! This intelligent module adds a "Set to Draft" button that appears exclusively on cancelled manufacturing orders, enabling you to instantly restore them to draft state, reset raw material moves, revert work orders to pending, and reuse the complete production setup without any data loss. Perfect for production managers, manufacturing supervisors, operations teams, plant managers, production planners, MRP coordinators, quality control teams, and any organization that needs to correct accidental cancellations, reuse production orders, save time on data re-entry, maintain production continuity, or recover from workflow mistakes. The module features a smart state management system with automatic state computation, conditional button visibility (only shows on cancelled orders), one-click draft restoration, raw material move reset, work order state management, set_to_draft flag tracking, seamless MRP integration, and clean state transitions. When you click the "Set to Draft" button on a cancelled manufacturing order, the module intelligently changes the MO state to draft, resets all raw material moves to draft, sets work orders to pending state, enables the set_to_draft flag, and allows you to confirm and restart the production process as if the order was never cancelled. The system automatically manages state transitions through custom _compute_state() logic that respects the set_to_draft flag, ensuring proper workflow progression from draft → confirmed → in progress → to close → done. It seamlessly integrates with Odoo's standard manufacturing workflow by inheriting mrp.production model, extending form view with new button, overriding state computation logic, hooking into action_confirm() method, and maintaining compatibility with work orders and stock moves. Ideal for businesses that want to reduce production setup time by 80%, eliminate duplicate data entry, recover from accidental cancellations, reuse manufacturing orders efficiently, maintain production schedules, avoid workflow bottlenecks, improve team productivity, reduce human errors, and streamline manufacturing operations with flexible order management!

Key Features

  • One-Click Reset Button: "Set to Draft" button appears on cancelled manufacturing orders. Single click instantly restores the entire MO to draft state without recreating data
  • Smart Button Visibility: Button only shows when state='cancel'. Automatically hidden in draft, confirmed, in progress, to close, and done states. Clean UI without button clutter
  • Automatic State Management: Custom _compute_state() method with set_to_draft flag tracking. Intelligent state transitions respecting draft reset flag throughout manufacturing workflow
  • Raw Material Move Reset: Automatically resets all move_raw_ids to draft state. Material reservations cleared and ready for re-confirmation. Stock moves properly synchronized
  • Work Order State Restoration: All workorder_ids set to 'pending' state when reset to draft. Work center operations ready to restart. Complete work order flow restored
  • Set to Draft Flag Tracking: Boolean field 'set_to_draft' tracks reset status. Flag set to True during draft reset. Automatically cleared on confirm, plan, unplan, or cancel actions
  • Seamless Workflow Integration: Hooks into action_confirm(), button_plan(), button_unplan(), action_cancel() methods. Properly resets set_to_draft flag during state transitions
  • MRP Model Inheritance: Extends mrp.production model using _inherit pattern. Adds custom field and methods without breaking existing functionality. Compatible with other MRP customizations
  • Form View Extension: XPath injection adds button before action_cancel. Hidden set_to_draft field in form. Clean UI integration with standard Odoo manufacturing form
  • Complete State Computation Override: Handles all MO states: draft, cancel, done, to_close, progress. Respects set_to_draft flag in state logic. Proper state flow management
  • Reusable Manufacturing Orders: No need to recreate MOs from scratch. All data preserved - product, BOM, quantity, dates, responsible person. Simply reset and confirm again
  • Time-Saving Solution: Reduces MO recreation time from 10 minutes to 5 seconds. Eliminates duplicate data entry. Speeds up production recovery from cancelled orders
  • Error Prevention: Prevents accidental permanent loss of MO data. Allows correction of mistaken cancellations. Recovers from workflow errors without data loss
  • Multi-User Support: Multiple users can reset different cancelled MOs simultaneously. No conflicts or race conditions. Works seamlessly in multi-user environment
  • Data Integrity Maintenance: Preserves all MO data during reset - consumed materials list, finished products, operations, notes. Nothing lost in state transition
  • Stock Move Synchronization: Raw material moves (move_raw_ids) properly synchronized. Finished product moves preserved. Stock reservation system properly integrated
  • Work Center Integration: Work orders maintain link to work centers. Operation routing preserved. Time tracking ready to restart from pending state
  • BOM Preservation: Bill of Materials link maintained. Component list intact. Routing operations preserved. No need to reselect BOM
  • Date Preservation: Scheduled start date, deadline start, and other date fields preserved. Timeline information maintained for production planning
  • Responsible Person Maintained: User assignment preserved during reset. Responsible field intact. Team assignments remain unchanged
  • Editable After Reset: After reset to draft, all fields become editable. Can modify quantity, dates, BOM, or any other field before re-confirming
  • Re-Confirm Capability: After reset, click Confirm button to restart production flow. Full workflow cycle: Draft → Confirmed → In Progress → To Close → Done
  • Unlock Cancelled Orders: Unlocks permanently cancelled orders for reuse. Removes "dead end" state. Makes cancelled orders productive again
  • Clean Python Code: Well-structured inheritance pattern. Clear method names: action_draft(), _compute_state(), action_confirm(). Easy to understand and maintain
  • XML View Extension: Minimal view changes using XPath. Adds button with proper positioning. Invisible field for backend tracking. Clean view inheritance
  • Organized Module Structure: Separate models/ and views/ folders. Clean __init__.py imports. Proper __manifest__.py structure. Easy to install and configure
  • Single Dependency: Only depends on 'mrp' module. No complex dependencies. Easy installation without dependency conflicts
  • Instant Effect: Changes take effect immediately after clicking Set to Draft. No background jobs or delays. Real-time state change
  • Production Continuity: Maintains production flow even after cancellations. Reduces downtime. Enables quick recovery from mistakes
  • No Configuration Needed: Works out of the box after installation. No setup required. No additional menus or settings to configure

Module Screenshots

Cancelled Manufacturing Order - Set to Draft Button
🚫 Cancelled Manufacturing Order - WH/MO/00023
Manufacturing order in CANCELLED state showing:
• "SET TO DRAFT" button visible (circled in red) - Only appears on cancelled MOs
• Status bar shows: DRAFT → CONFIRMED → IN PROGRESS → DONE → CANCELLED (active)
• Product: [FURN_7023] Wood Panel, Quantity: 1.000
• Bill of Material: [FURN_7023] Wood Panel
• Consumed Materials tab showing: [FURN_7111] Ply Layer (3.000), [FURN_8111] Wear Layer (1.000)
• All consumed quantities showing 0.000 (order cancelled before production)
• Button positioned before standard buttons for easy access


Manufacturing Order Reset to Draft State
✅ Manufacturing Order Successfully Reset to Draft - WH/MO/00023
After clicking "Set to Draft" button:
• Status changed to DRAFT state (circled in red)
• Status bar now shows: DRAFT (active) → CONFIRMED → IN PROGRESS → DONE
• Three action buttons now visible: CONFIRM, CANCEL, UNLOCK
• "SET TO DRAFT" button automatically hidden (only shows on cancelled state)
• "Update" link appears next to Quantity To Produce (field now editable)
• Raw materials in Consumed Materials tab ready for confirmation
• Work orders (if any) reset to pending state
• Manufacturing order ready to be confirmed and restart production workflow


Manufacturing Order Confirmed After Reset
🎯 Manufacturing Order Confirmed After Reset - WH/MO/00023
After clicking "Confirm" button on reset MO:
• Status changed to CONFIRMED state (circled in red)
• Status bar: DRAFT → CONFIRMED (active) → IN PROGRESS → DONE
• New action buttons: CHECK AVAILABILITY, PRODUCE, CANCEL, SCRAP, UNLOCK
• Raw materials now showing proper quantities in Consumed Materials tab
• [FURN_7111] Ply Layer: To Consume 3.000, Reserved 0.000
• [FURN_8111] Wear Layer: To Consume 1.000, Reserved 0.000
• Manufacturing order back in normal production workflow
• Can now proceed with production as if it was never cancelled
• Complete recovery from cancelled state with all data preserved


VIEW OUR MORE APPS

Our Services

Odoo
Implementation

Odoo
Customization

Odoo
Migration

Support &
Maintenance



📞 Contact Us

WhatsApp:
+91 8686786108

Email:
lucidbrainzinfotech@gmail.com

Website:
www.lucidbrainz.com

🌐 Follow Us

📘 Facebook 📸 Instagram 💼 LinkedIn 🎥 YouTube

© 2025 LucidBrainz | All Rights Reserved

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