bfm新增库存菜单,代发货菜单,处理sf一次性发货,bfm生成代发货名字规则

This commit is contained in:
hujiaying
2024-09-04 17:28:26 +08:00
parent 589035d42b
commit 69578ab054

View File

@@ -69,6 +69,7 @@ class StockPicking(models.Model):
'move_ids': move_ids,
'move_line_ids': move_line_ids,
'state': item.state,
'move_type': item.move_type,
}
backorder_ids.append(val)
return backorder_ids
@@ -94,6 +95,7 @@ class StockPicking(models.Model):
'backorder_id': self.deal_send_backorder_id(self.backorder_id),
'backorder_ids': self.deal_send_backorder_id(self.backorder_ids),
'cancel_backorder_ids': skip_backorder,
'move_type': self.move_type,
},
}
url1 = config['bfm_url_new'] + '/api/stock/deliver_goods'