diff --git a/sf_manufacturing/wizard/sale_order_cancel.py b/sf_manufacturing/wizard/sale_order_cancel.py index c726d5d6..792947bf 100644 --- a/sf_manufacturing/wizard/sale_order_cancel.py +++ b/sf_manufacturing/wizard/sale_order_cancel.py @@ -323,7 +323,7 @@ class SFSaleOrderCancelLine(models.TransientModel): 'category': '坯料外协', 'doc_name': '库存移动', 'doc_number': child_pkd.name, - 'line_number': x1, + 'line_number': x2, 'operation_type': child_pkd.picking_type_id.name, 'product_name': child_move.product_id.name if child_move.product_id else '', 'quantity': child_move.product_uom_qty,