完成 工单子页签可全量配置

This commit is contained in:
yuxianghui
2025-03-05 11:24:48 +08:00
parent 28a3d52aea
commit 7d4314abc7
10 changed files with 94 additions and 30 deletions

View File

@@ -8,7 +8,7 @@
<field name="arch" type="xml">
<xpath expr="//notebook/page[last()]" position="after">
<field name="routing_type" invisible="1"/>
<page string="异常记录" name="workorder_exception" attrs="{'invisible': [('routing_type', '!=', 'CNC加工')]}">
<page string="异常记录" name="workorder_exception" attrs='{"invisible": ["!", ("individuation_page_list", "ilike", "ER")]}'>
<field name="exception_ids" nolabel="1" readonly="1">
<tree create="false" delete="false" edit="false">
<field name="exception_content" string="反馈的异常/问题信息"/>