Merge branch 'develop' of https://e.coding.net/jikimo-hn/jikimo_sfs/jikimo_sf into feature/制造功能优化

This commit is contained in:
mgw
2025-02-27 11:32:29 +08:00

View File

@@ -514,7 +514,7 @@ class SFSaleOrderCancelLine(models.TransientModel):
'operation_type': '',
'doc_number': comp_mo.name,
'line_number': h,
'product_name': f'[{comp_mo.product_id.default_code}] {comp_mo.product_id.name}',
'product_name': f'{comp_mo.product_id.name}',
'quantity': comp_mo.product_qty,
'doc_state': map_dict.get(comp_mo.state, comp_mo.state),
'cancel_reason': '已有异动' if comp_mo.state not in ['technology_to_confirmed',