Skip to Content

[FIX] mrp: align open transfer bom lines before updating component quantity

Killed closed
PR
#1317
PR Author
Nguyễn Đại Dương
Committer
daiduongnguyen-odoo
Commit
2c75f0bd5cc1
Branch
17.0
Age
Not started
Up-time
Commit message
[FIX] mrp: align open transfer bom lines before updating component quantity

_link_bom now points the raw move and its open same-product origins at the new BoM line before writing product_uom_qty. A phantom kit puts bom_line_id in the merge key, so a quantity delta can fold into the open transfer instead of becoming a return.

Co-authored-by: Cursor <cursoragent@cursor.com>