1、添加拆解的仓库管理地点;2、优化功能刀具拆解库存管理;3、代码迁移
This commit is contained in:
@@ -711,10 +711,14 @@
|
||||
</searchpanel>
|
||||
|
||||
<group expand="0" string="Group By...">
|
||||
<filter string="功能刀具名称" name="name" domain="[]" context="{'group_by': 'functional_tool_name'}"/>
|
||||
<filter string="刀具组" name="tool_groups" domain="[]" context="{'group_by': 'tool_groups_id'}"/>
|
||||
<filter string="任务来源" name="loading_task_source" domain="[]" context="{'group_by': 'loading_task_source'}"/>
|
||||
<filter string="用刀时间" name="use_tool_time" domain="[]" context="{'group_by': 'use_tool_time'}"/>
|
||||
<filter string="功能刀具名称" name="name" domain="[]"
|
||||
context="{'group_by': 'functional_tool_name'}"/>
|
||||
<filter string="刀具组" name="tool_groups" domain="[]"
|
||||
context="{'group_by': 'tool_groups_id'}"/>
|
||||
<filter string="任务来源" name="loading_task_source" domain="[]"
|
||||
context="{'group_by': 'loading_task_source'}"/>
|
||||
<filter string="用刀时间" name="use_tool_time" domain="[]"
|
||||
context="{'group_by': 'use_tool_time'}"/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
@@ -791,8 +795,8 @@
|
||||
attrs="{'readonly': [('state', '=', '已拆解')]}"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="scrap_id"
|
||||
attrs="{'invisible': [('dismantle_cause', 'not in', ['寿命到期报废','崩刀报废'])]}"/>
|
||||
<!-- <field name="scrap_id"-->
|
||||
<!-- attrs="{'invisible': [('dismantle_cause', 'not in', ['寿命到期报废','崩刀报废'])]}"/>-->
|
||||
<field name="grinding_id"
|
||||
attrs="{'invisible': [('dismantle_cause', 'not in', ['刀具需磨削'])]}"/>
|
||||
</group>
|
||||
@@ -879,6 +883,9 @@
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
<page string="报废" attrs="{'invisible':[('dismantle_cause', 'not in', ['寿命到期报废','崩刀报废'])]}">
|
||||
<field name="scrap_ids"/>
|
||||
</page>
|
||||
<page string="其他">
|
||||
<group>
|
||||
<group>
|
||||
|
||||
Reference in New Issue
Block a user