Merge branch 'develop' into feature/commercially_launched
This commit is contained in:
@@ -407,12 +407,6 @@ class RePurchaseOrder(models.Model):
|
||||
def button_confirm(self):
|
||||
result = super(RePurchaseOrder, self).button_confirm()
|
||||
for item in self:
|
||||
# 确认订单时,自动分配序列号
|
||||
if item.picking_ids:
|
||||
for picking_id in item.picking_ids:
|
||||
if picking_id.move_ids:
|
||||
for move_id in picking_id.move_ids:
|
||||
move_id.put_move_line()
|
||||
for line in item.order_line:
|
||||
if line.product_id.categ_type == '表面工艺':
|
||||
if item.origin:
|
||||
|
||||
Reference in New Issue
Block a user