特殊表面工艺采购单还是有合并的情况-且重复了
This commit is contained in:
@@ -247,8 +247,8 @@ class RePurchaseOrder(models.Model):
|
||||
raise UserError('请对【产品】中的【税】进行选择')
|
||||
|
||||
def get_purchase_order(self, consecutive_process_parameters, production, product_id_to_production_names):
|
||||
server_product_process = []
|
||||
for pp in consecutive_process_parameters:
|
||||
server_product_process = []
|
||||
purchase_order = pp._get_surface_technics_purchase_ids()
|
||||
if purchase_order:
|
||||
purchase_order.write({'state': 'draft'})
|
||||
|
||||
Reference in New Issue
Block a user