1、机床换刀申请界面新增搜索面板和设备字段根据设备的设备类型等于机床的过滤条件;2、隐藏功能刀具出入库记录菜单;3、功能刀具列表form视图新增预警跳转按键(跳转功能未完成);

This commit is contained in:
yuxianghui
2023-11-16 17:36:09 +08:00
parent 2a964bc30e
commit 329d7b6464
4 changed files with 92 additions and 55 deletions

View File

@@ -32,13 +32,13 @@
parent="menu_sf_tool_manage"
/>
<menuitem
sequence="10"
name="功能刀具出入库记录"
id="menu_sf_function_tool_entry_exit_records"
action="sf_inbound_and_outbound_records_of_functional_tools_view_act"
parent="menu_sf_tool_manage"
/>
<!-- <menuitem-->
<!-- sequence="10"-->
<!-- name="功能刀具出入库记录"-->
<!-- id="menu_sf_function_tool_entry_exit_records"-->
<!-- action="sf_inbound_and_outbound_records_of_functional_tools_view_act"-->
<!-- parent="menu_sf_tool_manage"-->
<!-- />-->
<menuitem
sequence="0"

View File

@@ -27,6 +27,19 @@
<field name="arch" type="xml">
<form create="0" edit="0" delete="0" >
<sheet>
<div class="oe_button_box" name="button_box">
<button class="oe_stat_button"
name="open_functional_tool_warning"
icon="fa-list-ul"
type="object">
<div class="o_field_widget o_stat_info">
<span>
预警
</span>
</div>
</button>
<button name="%(stock.action_stock_report)d" icon="fa-arrow-up" class="oe_stat_button" string="Traceability" type="action"/>
</div>
<div class="oe_title">
<h1>
<field name="barcode_id" readonly="1" nolabel="True"/>