Mrp Unbuild Restore Origin

mrp_unbuild_restore_origin
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/16.0/mrp_unbuild_restore_origin
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYStock
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Quartile
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Quartile
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Aungkokolin1997, nobuQuartile
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:12:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module enhances the unbuild process of Manufacturing Orders by retaining  
information from the original move lines.

- **Owner Retention:** The owner from the original move lines is always retained  
  automatically when unbuilding a Manufacturing Order.

- **Location Retention (Optional):** A boolean field is available to retain the original  
  source and destination locations of the move lines during the unbuild process, if needed.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
mrp_unbuild_form_view mrp.unbuild.form mrp.unbuild xpath Inherits mrp.mrp_unbuild_form_view
mrp_unbuild_form_view_simplified mrp.unbuild.simplified.form mrp.unbuild xpath Inherits mrp.mrp_unbuild_form_view_simplified
Models touched (2)

New fields (1)
  • restore_rm_stock_in_origin_loc Boolean
    help='If selected, components will be returned to the same location they were taken from during manufacturing.' string='Return Components to Original Location'
Public methods (1)
  • action_unbuild(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/manufacture
PULL REQUEST
PULL REQUEST[18.0][MIG] mrp_unbuild_restore_origin: Migration to 18.0 (#1666)