在调拨单验证前,先进行设置数量
This commit is contained in:
@@ -637,6 +637,8 @@ class StockPicking(models.Model):
|
||||
if lot_ids:
|
||||
move.action_clear_lines_show_details()
|
||||
move.action_show_details()
|
||||
# 先进行设置数量
|
||||
self.action_set_quantities_to_reservation()
|
||||
res = super().button_validate()
|
||||
# lot_ids = None
|
||||
# product_ids = self.move_ids.mapped('product_id')
|
||||
|
||||
Reference in New Issue
Block a user