用章审批,排版,打印
This commit is contained in:
@@ -59,20 +59,11 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="header-cell"><strong>用章范围</strong></td>
|
||||
<td colspan="3">
|
||||
<t t-if="doc.scope_chapter_ids">
|
||||
<t t-foreach="doc.scope_chapter_ids" t-as="scope">
|
||||
<span t-esc="scope.name"/><t t-if="not scope_last">、</t>
|
||||
</t>
|
||||
</t>
|
||||
<t t-else="">未指定</t>
|
||||
</td>
|
||||
<td class="header-cell"><strong>用章类型</strong></td>
|
||||
<td colspan="2">
|
||||
<td colspan="6">
|
||||
<t t-if="doc.type_stamp_ids">
|
||||
<t t-foreach="doc.type_stamp_ids" t-as="type_stamp">
|
||||
<span t-esc="type_stamp.name"/><t t-if="not type_stamp_last">、</t>
|
||||
<span t-esc="type_stamp.display_name"/><t t-if="not type_stamp_last">、</t>
|
||||
</t>
|
||||
</t>
|
||||
<t t-else="">未指定</t>
|
||||
|
||||
@@ -38,19 +38,24 @@
|
||||
<field name="name_title" readonly="1"/>
|
||||
</h1>
|
||||
</div>
|
||||
<group string="审批事项">
|
||||
<group string="审批事项" col="2">
|
||||
<group>
|
||||
<field name="is_back" invisible="1"/>
|
||||
<field name="work_end" invisible="1"/>
|
||||
<field name="name"/>
|
||||
<field name="users_id" options="{'no_create': True}"/>
|
||||
<field name="type_stamp_ids" widget="many2many_tags" options="{'no_create': True, 'no_open': True}" context="{'search_default_group_by_scope': 1, 'search_default_filter_effective': 1}"/>
|
||||
<field name="users_id" options="{'no_create': True}"/>
|
||||
<!--<field name="type_stamp_ids" widget="many2many_tags" options="{'no_create': True, 'no_open': True}" context="{'search_default_group_by_scope': 1, 'search_default_filter_effective': 1}"/>-->
|
||||
</group>
|
||||
<group>
|
||||
<field name="approval_unit"/>
|
||||
<field name="remake"/>
|
||||
<field name="document_ids" widget="preview_many2many"/>
|
||||
<field name="type_stamp_ids" widget="many2many_tags" options="{'no_create': True, 'no_open': True}" context="{'search_default_group_by_scope': 1, 'search_default_filter_effective': 1}"/>
|
||||
<field name="department_id" invisible="1"/>
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<field name="remake"/>
|
||||
<field name="document_ids" widget="preview_many2many"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user