!11763 添加功能

Merge pull request !11763 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2026-05-29 03:40:23 +00:00
committed by Gitee
+9 -11
View File
@@ -149,12 +149,14 @@
options="{'no_create': True}"/>
<field name="model_name"
readonly="model_id != False" required="model_id == False"
placeholder="如 model_id 不含所需模型时可手动输入"/>
placeholder="如 model_id 不含所需模型时可手动输入" invisible="1"/>
<field name="default_domain"
placeholder="[['state','=','sale']]"/>
<field name="default_order"
placeholder="date_order desc"/>
<field name="default_visible"/>
<field name="sequence"/>
<field name="active"/>
</group>
<group string="显示字段">
<field name="field_ids" widget="many2many_tags"
@@ -163,13 +165,9 @@
placeholder="选择要显示的字段"/>
<field name="field_list" invisible="1"/>
<field name="field_labels" invisible="1"/>
<field name="description" nolabel="1"
<field name="description"
placeholder="描述此模板的用途,如:当用户查询销售订单列表时使用此模板"/>
</group>
<group string="基本设置">
<field name="sequence"/>
<field name="active"/>
</group>
</group>
<notebook>
@@ -199,7 +197,7 @@
<page string="🔀 分组 &amp; 筛选" name="group_filters">
<group string="分组设置">
<field name="group_by_ids" nolabel="1">
<field name="group_by_ids">
<tree string="分组" editable="bottom">
<field name="field_name" placeholder="分组字段"/>
<field name="label" placeholder="显示名称"/>
@@ -207,8 +205,8 @@
</tree>
</field>
</group>
<group string="筛选器" style="margin-top:16px">
<field name="filter_ids" nolabel="1">
<group string="筛选器">
<field name="filter_ids">
<tree string="筛选器" editable="bottom">
<field name="field_name" placeholder="字段名"/>
<field name="label" placeholder="显示名称"/>
@@ -250,10 +248,10 @@
<page string="⚙️ JSON 配置(高级)" name="json_config"
groups="yuthon_ai_agent.group_ai_agent_admin">
<group string="报告配置 JSON(自动生成,可手动编辑覆盖)">
<field name="report_config" nolabel="1"/>
<field name="report_config"/>
</group>
<group string="参数定义 JSON(自动生成,可手动编辑覆盖)">
<field name="param_definitions" nolabel="1"/>
<field name="param_definitions"/>
</group>
</page>
</notebook>