表面工艺添加零件图号零件名称

This commit is contained in:
liaodanlong
2025-03-13 14:13:28 +08:00
parent 7c48e6b186
commit 3543531f61
2 changed files with 15 additions and 0 deletions

View File

@@ -374,6 +374,8 @@ class RePurchaseOrder(models.Model):
'product_qty': 1,
'product_uom': server_template.uom_id.id,
'related_product': production.product_id.id,
'part_number': pp.part_number,
'part_name': pp.part_name,
}))
# 获取服务商品最后一个供应商的采购员
purchase_user_id = server_template.seller_ids[-1].partner_id.purchase_user_id