修改注释
This commit is contained in:
@@ -1299,7 +1299,7 @@ class MrpProduction(models.Model):
|
|||||||
'user_id': production.user_id.id}
|
'user_id': production.user_id.id}
|
||||||
return production_values_str
|
return production_values_str
|
||||||
|
|
||||||
增加制造订单类型
|
# 增加制造订单类型
|
||||||
production_type = fields.Selection(
|
production_type = fields.Selection(
|
||||||
[('自动化产线加工', '自动化产线加工'), ('人工线下加工', '人工线下加工')],
|
[('自动化产线加工', '自动化产线加工'), ('人工线下加工', '人工线下加工')],
|
||||||
string='制造类型',
|
string='制造类型',
|
||||||
|
|||||||
@@ -859,7 +859,7 @@ class ResProductMo(models.Model):
|
|||||||
item['model_width'] + model_type.embryo_tolerance) * (
|
item['model_width'] + model_type.embryo_tolerance) * (
|
||||||
item['model_height'] + model_type.embryo_tolerance),
|
item['model_height'] + model_type.embryo_tolerance),
|
||||||
'product_model_type_id': model_type.id,
|
'product_model_type_id': model_type.id,
|
||||||
# 'model_processing_panel': 'R',
|
'model_processing_panel': item['processing_panel_detail'],
|
||||||
'model_machining_precision': item['model_machining_precision'],
|
'model_machining_precision': item['model_machining_precision'],
|
||||||
'model_code': item['barcode'],
|
'model_code': item['barcode'],
|
||||||
'length': item['model_long'],
|
'length': item['model_long'],
|
||||||
|
|||||||
Reference in New Issue
Block a user