1、优化功能刀具安全库存数量计算方法;2、货位看板模型添加功能刀具Rfid、名称字段
This commit is contained in:
14
sf_tool_management/views/stock.xml
Normal file
14
sf_tool_management/views/stock.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<record id="view_shelf_location_tool" model="ir.ui.view">
|
||||
<field name="name">sf.shelf.location.form.tool</field>
|
||||
<field name="model">sf.shelf.location</field>
|
||||
<field name="inherit_id" ref="sf_warehouse.view_shelf_location_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='product_id']" position="after">
|
||||
<field name="tool_rfid" attrs="{'invisible': [('tool_rfid','=',False)]}"/>
|
||||
<field name="tool_name_id" attrs="{'invisible': [('tool_name_id','=',False)]}"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user