sf-工厂取消接单-取消列表展示数据问题

This commit is contained in:
mgw
2025-02-26 09:54:08 +08:00
parent 92c3de98ba
commit f06951958d

View File

@@ -287,7 +287,7 @@ class SFSaleOrderCancelLine(models.TransientModel):
f += 1 f += 1
flag = False flag = False
if picking.state not in ['draft', 'cancel', 'waiting'] or ( if picking.state not in ['draft', 'cancel', 'waiting'] or (
picking.name == '客供料入库' and picking.state not in ['cancel', 'ready']): picking.picking_type_id.name == '客供料入库' and picking.state not in ['cancel', 'ready']):
flag = True flag = True
vals = { vals = {
'wizard_id': wizard_id, 'wizard_id': wizard_id,