Accept Merge Request #2197: (feature/修改产品名称 -> develop)
Merge Request: 在调拨单验证前,先进行设置数量 Created By: @胡尧 Accepted By: @胡尧 URL: https://jikimo-hn.coding.net/p/jikimo_sfs/d/jikimo_sf/git/merge/2197?initial=true
This commit is contained in:
@@ -637,6 +637,8 @@ class StockPicking(models.Model):
|
|||||||
if lot_ids:
|
if lot_ids:
|
||||||
move.action_clear_lines_show_details()
|
move.action_clear_lines_show_details()
|
||||||
move.action_show_details()
|
move.action_show_details()
|
||||||
|
# 先进行设置数量
|
||||||
|
self.action_set_quantities_to_reservation()
|
||||||
res = super().button_validate()
|
res = super().button_validate()
|
||||||
# lot_ids = None
|
# lot_ids = None
|
||||||
# product_ids = self.move_ids.mapped('product_id')
|
# product_ids = self.move_ids.mapped('product_id')
|
||||||
|
|||||||
Reference in New Issue
Block a user