MRP Split Units

mrp_split_units
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/6.1/mrp_split_units
VERSION
VERSION 0.1
CATEGORY
CATEGORYGeneric Modules/Others
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSAlexandre Fayolle, Leonardo Pistone, Sandy Carter
WEBSITE
WEBSITEhttp://www.camptocamp.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:04:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - procurement
    - base
    - process
    - product
    - decimal_precision
    - stock
    - account
    - base_setup
    - analytic
    - board
    - edi
    - email_template
    - mail
    - base_tools
    - resource
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
MRP Split one line into many lines with quantity one each
in a production order.

This module adds a button in each line of the Products to Finish and Finished
Products to automatically split one line with integer quantity into many lines,
each with quantity 1. After the split, the module performs a
"poor man's refresh" (i.e. manually reloads the page) as a workaround for the
bug lp:1083253.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
mrp_production_form_lot_attribute_view mrp.production.lot.attribute.form mrp.production xpath Inherits mrp.mrp_production_form_view
Models touched (1)

New fields (0)

No new fields.

Public methods (3)
  • split_units(self, cr, uid, ids, context=None)
    Split the current move creating moves with quantity one. Return an action to reload the current record as a poor man's refresh.
  • split_units_finished(self, cr, uid, ids, context=None)
    Split a line in the Finished Products. Return an action.
  • split_units_to_finish(self, cr, uid, ids, context=None)
    Split a line in the Products to Finish. Return an action.