Repository
OCA/manufacture · module folder · Try on Runboat
Module version
0.1
Category
Generic Modules/Others
Folder size
0.01 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://www.camptocamp.com/
Last tracking update
2026-08-07 06:51:51
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Leonardo Pistone, Alexandre Fayolle, Sandy Carter
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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 form Inherits mrp.mrp_production_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.