sf-工厂取消接单-取消列表展示数据问题
This commit is contained in:
@@ -287,7 +287,7 @@ class SFSaleOrderCancelLine(models.TransientModel):
|
||||
f += 1
|
||||
flag = False
|
||||
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
|
||||
vals = {
|
||||
'wizard_id': wizard_id,
|
||||
|
||||
Reference in New Issue
Block a user