打印,菜单
This commit is contained in:
@@ -24,11 +24,10 @@
|
||||
<div class="po-wrap">
|
||||
<div class="po-title">采购审批单</div>
|
||||
|
||||
<!-- 提取部门字段,仅用span展示,无任何自定义样式 -->
|
||||
<span>部门:<span t-esc="doc.department_id.name or ''"/></span>
|
||||
|
||||
<table class="po">
|
||||
<tr>
|
||||
<td class="label">部门</td>
|
||||
<td colspan="5"><span t-esc="doc.department_id.name or ''"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">事项标题</td>
|
||||
<td colspan="5"><span t-esc="doc.name or ''"/></td>
|
||||
@@ -88,11 +87,7 @@
|
||||
</tr>
|
||||
</t>
|
||||
</t>
|
||||
<t t-else="">
|
||||
<tr><td colspan="6" style="text-align:center;">无明细</td></tr>
|
||||
</t>
|
||||
</table>
|
||||
|
||||
<t t-if="doc.pay_way == 'installment'">
|
||||
<div class="section">分期付款明细</div>
|
||||
<table class="po">
|
||||
@@ -120,11 +115,6 @@
|
||||
|
||||
<div class="section">审批详情</div>
|
||||
<table class="po">
|
||||
<tr class="subhead">
|
||||
<td width="20%" class="text-center"><strong>节点名称</strong></td>
|
||||
<td width="60%" class="no-right-border text-center"><strong>意见</strong></td>
|
||||
<td width="20%" class="no-left-border text-center"><strong>审批人 - 操作时间</strong></td>
|
||||
</tr>
|
||||
<t t-if="doc.log_ids">
|
||||
<t t-foreach="doc.log_ids.sorted('sequence')" t-as="log">
|
||||
<tr>
|
||||
@@ -141,9 +131,6 @@
|
||||
</tr>
|
||||
</t>
|
||||
</t>
|
||||
<t t-else="">
|
||||
<tr><td colspan="3" style="text-align:center;">无审批记录</td></tr>
|
||||
</t>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
'views/hr_menus.xml',
|
||||
'views/purchase_menus.xml',
|
||||
'views/executive_manage.xml',
|
||||
'views/stock_menus.xml',
|
||||
],
|
||||
'application': True,
|
||||
'installable': True,
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 4.5 KiB |
@@ -8,7 +8,7 @@
|
||||
<menuitem id="inventory_operation_allocate_root" name="领用" action="stock.action_picking_tree_internal" sequence="40"/>
|
||||
</menuitem>
|
||||
<menuitem id="inventory_adjust_root" name="调整" sequence="20">
|
||||
<menuitem id="inventory_adjust_physical_root" name="实物库存" parent="inventory_adjust_root" action="stock.action_view_inventory_tree" sequence="10"/>
|
||||
<menuitem id="inventory_adjust_physical_root" name="实物库存" action="stock.action_view_inventory_tree" sequence="10"/>
|
||||
</menuitem>
|
||||
<menuitem id="inventory_asset_root" name="资产" sequence="30">
|
||||
<menuitem id="inventory_asset_product_root" name="产品" action="stock.product_template_action_product" sequence="10"/>
|
||||
|
||||
Reference in New Issue
Block a user