修改产品名称

This commit is contained in:
胡尧
2025-06-16 10:50:56 +08:00
parent 1811dbf0fd
commit dba38f4d37

View File

@@ -1121,7 +1121,7 @@ class ResProductMo(models.Model):
def generate_product_name(self, order_id, item, i):
"""生成成品名称"""
product_name = '%s-%s-%s' % ('P', order_id.name, i),
product_name = '%s-%s-%s' % ('P', order_id.name, i)
return product_name
def generate_embryo_name(self, order_id, item, materials_id, materials_type_id, embryo_redundancy_id, i):