Skip to content

[16.0][FIX] mrp_subcontracting: Record components for Mass Produce with serial#1335

Draft
AungKoKoLin1997 wants to merge 1 commit into
OCA:16.0from
qrtl:16.0-fix-mrp-subcontracting-serial-mass-produce
Draft

[16.0][FIX] mrp_subcontracting: Record components for Mass Produce with serial#1335
AungKoKoLin1997 wants to merge 1 commit into
OCA:16.0from
qrtl:16.0-fix-mrp-subcontracting-serial-mass-produce

Conversation

@AungKoKoLin1997
Copy link
Copy Markdown

When using Mass Produce on a subcontracting MO with serial-tracked finished products, the standard flow splits the MO and assigns serials but does not call subcontracting_record_component() on each split MO. As a result, subcontracting_has_been_recorded remains False and the finished serials are never synced to the receipt move lines.

This commit extends stock.assign.serial._assign_serial_numbers() to automatically call subcontracting_record_component() on each split MO after Mass Produce, enabling Mass Produce to work end-to-end for subcontracting orders with serial-tracked products.

@qrtl QT6138

…ials

When using Mass Produce on a subcontracting MO with serial-tracked
finished products, the standard flow splits the MO and assigns serials
but does not call subcontracting_record_component() on each split MO.
As a result, subcontracting_has_been_recorded remains False and the
finished serials are never synced to the receipt move lines.

This commit extends stock.assign.serial._assign_serial_numbers() to
automatically call subcontracting_record_component() on each split MO
after Mass Produce, enabling Mass Produce to work end-to-end for
subcontracting orders with serial-tracked products.
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 16.0-fix-mrp-subcontracting-serial-mass-produce branch from a6fbb46 to 84168f6 Compare April 8, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant