Merge branch 'develop' into feature/commercially_launched

This commit is contained in:
胡尧
2025-03-04 09:32:07 +08:00
26 changed files with 967 additions and 403 deletions

View File

@@ -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: