快速订单填写的零件图号和零件图纸传给制造订单

This commit is contained in:
guanhuan
2024-09-13 10:22:14 +08:00
parent b5a3815f1f
commit 4c58f4d7f3
2 changed files with 6 additions and 1 deletions

View File

@@ -222,7 +222,7 @@ class ResMrpWorkOrder(models.Model):
material_width = fields.Float(string='')
material_height = fields.Float(string='')
# 零件图号
part_number = fields.Char(string='零件图号')
part_number = fields.Char(related='production_id.part_number', string='零件图号')
# 工序状态
process_state = fields.Selection([
('待装夹', '待装夹'),