From 6cc892cc660f6bf07725ceac08b54219defa0130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= Date: Wed, 10 Jun 2026 17:07:15 +0800 Subject: [PATCH] =?UTF-8?q?ai=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_ai_agent/models/ai_report_template_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yuthon_ai_agent/models/ai_report_template_config.py b/yuthon_ai_agent/models/ai_report_template_config.py index 3863b9bbe..53d3cf69c 100644 --- a/yuthon_ai_agent/models/ai_report_template_config.py +++ b/yuthon_ai_agent/models/ai_report_template_config.py @@ -217,8 +217,8 @@ class AiReportTemplateChart(models.Model): ('polarArea', '玫瑰图'), ], string='图表类型', default='bar', required=True) label_field_id = fields.Many2one('ir.model.fields', string='分组字段', - domain="[('model_id', '=', model_id)]", required=True, ondelete='set null', - help='作为图表分类轴的字段') + domain="[('model_id', '=', model_id)]", ondelete='set null', + help='作为图表分类轴的字段(必填)') label_field_name = fields.Char('分组字段名', compute='_compute_label_field_name', store=True) value_field_id = fields.Many2one('ir.model.fields', string='数值字段',