业务审批布局

This commit is contained in:
李鹏宇
2026-01-19 11:23:12 +08:00
parent cf84c8fa92
commit 88ec98eac2
@@ -27,7 +27,7 @@
invisible="urgency_level != 'urgent'"/>
<widget name="web_ribbon" title="特急" bg_color="text-bg-danger"
invisible="urgency_level != 'emergency'"/>
<group col="5">
<group col="3">
<group>
<field name="code" string="流水号" readonly="1"/>
</group>
@@ -49,19 +49,24 @@
<field name="name_title" readonly="1"/>
</h1>
</div>
<group string="审批事项">
<field name="is_back" invisible="1"/>
<field name="work_end" invisible="1"/>
<field name="name" string="事项标题"/>
<field name="users_id"/>
<field name="information_categories_ids" widget="many2many_tags" string="业务类型" options="{'no_create': True}"/>
<field name="reason" string="事项说明"/>
<group string="审批事项" col="2">
<group>
<field name="is_back" invisible="1"/>
<field name="work_end" invisible="1"/>
<field name="name" string="事项标题"/>
<field name="users_id"/>
<field name="information_categories_ids" widget="many2many_tags" string="业务类型" options="{'no_create': True}"/>
<!-- <field name="reason" string="事项说明"/>-->
<!-- <field name="document_ids" widget="preview_many2many" string="附件清单"/>-->
<field name="type_stamp_ids" widget="many2many_tags" options="{'no_create': True, 'no_open': True}" invisible="is_chapter == 'no' or not is_chapter"/>
<field name="scope_chapter_ids" widget="many2many_tags" options="{'no_create': True, 'no_open': True}" invisible="is_chapter == 'no' or not is_chapter"/>
<field name="department_id" invisible="1"/>
</group>
<group>
<field name="type_stamp_ids" widget="many2many_tags" options="{'no_create': True, 'no_open': True}" invisible="is_chapter == 'no' or not is_chapter"/>
<field name="scope_chapter_ids" widget="many2many_tags" options="{'no_create': True, 'no_open': True}" invisible="is_chapter == 'no' or not is_chapter"/>
<field name="department_id" invisible="1"/>
</group>
</group>
<group>
<field name="reason" string="事项说明"/>
<field name="document_ids" widget="preview_many2many" string="附件清单"/>
</group>
</sheet>