From d318d8cb32fdcfa2ca8420f0c2490871bb460536 Mon Sep 17 00:00:00 2001 From: mgw <1392924357@qq.com> Date: Wed, 2 Apr 2025 08:49:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=B6=E4=BB=B6=E5=90=8D=E7=A7=B0=E8=B0=83?= =?UTF-8?q?=E4=B8=BA=E5=8F=AF=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- quality_control/models/quality.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quality_control/models/quality.py b/quality_control/models/quality.py index e149a9d2..47b21dc7 100644 --- a/quality_control/models/quality.py +++ b/quality_control/models/quality.py @@ -130,7 +130,7 @@ class QualityPoint(models.Model): class QualityCheck(models.Model): _inherit = "quality.check" - part_name = fields.Char('零件名称', related='product_id.part_name') + part_name = fields.Char('零件名称', related='product_id.part_name', readonly=False, store=True) part_number = fields.Char('零件图号', related='product_id.part_number', readonly=False, store=True) material_name = fields.Char('材料名称', compute='_compute_material_name')