MRP Production Split

mrp_production_split
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/15.0/mrp_production_split
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSIvàn Todorovich, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:36
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
message_order_split message_order_split ir.ui.view qweb New
mrp_production_form_view mrp.production button Inherits mrp.mrp_production_form_view
view_mrp_production_split_wizard_form mrp.production.split.wizard form New
Models touched (2)

New fields (0)

No new fields.

Public methods (2)
  • action_split(self)
  • copy_data(self, default=None)

New fields (7)
  • custom_quantities Char
    help="Space separated list of quantities to split:\ne.g. '3 2 5' will result in 3 MOs with 3, 2 and 5 units respectively.\nIf the sum of the quantities is less than the original MO's quantity, the remaining quantity will remain in the original MO." string='Split Quantities'
  • product_tracking Selection
    related='production_id.product_id.tracking'
  • product_uom_id Many2one
    related='production_id.product_uom_id'
  • production_id Many2one → mrp.production
    ondelete='cascade' required=True args: 'mrp.production', 'Production'
  • split_equal_qty Float
    default=1 digits='Product Unit of Measure' help='Used to split the MO into several MOs with equal quantities.' string='Equal Quantity'
  • split_mode Selection
    default='simple' required=True args: [('simple', 'Extract a quantity from the original MO'), ('equal', 'Extract a quantity into several MOs with equal quantities'), ('custom', 'Custom')]
  • split_qty Float
    digits='Product Unit of Measure' help='Total quantity to extract from the original MO.' string='Quantity'
Public methods (2)
  • apply(self)
  • default_get(self, fields_list)
    @api.model