Merge branch 'refs/heads/develop' into feature/物料需求计划管理
# Conflicts: # sf_demand_plan/models/sf_production_demand_plan.py # sf_demand_plan/views/demand_plan.xml
This commit is contained in:
@@ -79,6 +79,7 @@ class SfProductionDemandPlan(models.Model):
|
||||
model_long = fields.Char('尺寸(mm)', compute='_compute_model_long')
|
||||
blank_type = fields.Selection([('圆料', '圆料'), ('方料', '方料')], string='坯料分类',
|
||||
related='product_id.blank_type')
|
||||
blank_precision = fields.Selection([('精坯', '精坯'), ('粗坯', '粗坯')], string='坯料类型', related='product_id.blank_precision')
|
||||
embryo_long = fields.Char('坯料尺寸(mm)', related='demand_plan_id.embryo_long')
|
||||
materials_id = fields.Char('材料', related='demand_plan_id.materials_id')
|
||||
model_machining_precision = fields.Selection(selection=_get_machining_precision, string='精度',
|
||||
|
||||
Reference in New Issue
Block a user