Repository
OCA/manufacture · module folder · Try on Runboat
Module version
1.0.0
Category
Manufacturing
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/manufacture
Last tracking update
2026-08-07 07:57:02
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Ivàn Todorovich, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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 form Inherits mrp.mrp_production_form_view
view_mrp_production_split_wizard_form mrp.production.split.wizard form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

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