141 lines
5.6 KiB
XML
141 lines
5.6 KiB
XML
<?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_name_id', '=', False)]}"/>
|
|
<field name="tool_name_id" attrs="{'invisible': [('tool_name_id', '=', False)]}"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_tool_product_tree" model="ir.ui.view">
|
|
<field name="name">刀柄</field>
|
|
<field name="model">product.product</field>
|
|
<field name="arch" type="xml">
|
|
<tree create="0" export_xlsx="0" delete="0">
|
|
<header>
|
|
<button string="确认" name="set_tool_material" type="object"
|
|
class="treeHeaderBtn"/>
|
|
</header>
|
|
<field name="name"/>
|
|
<field name="cutting_tool_type_id"/>
|
|
<field name="cutting_tool_model_id"/>
|
|
<field name="specification_id"/>
|
|
<field name="cutting_tool_shank_length"/>
|
|
<field name="cutting_tool_taper_shank_model"/>
|
|
<field name="brand_id"/>
|
|
<field name="qty_available" string="数量"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_tool_product_search" model="ir.ui.view">
|
|
<field name="model">product.product</field>
|
|
<field name="arch" type="xml">
|
|
<search>
|
|
<field name="name"/>
|
|
</search>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_shelf_location_lot_tree_1" model="ir.ui.view">
|
|
<field name="name">sf.shelf.location.lot.tree</field>
|
|
<field name="model">sf.shelf.location.lot</field>
|
|
<field name="arch" type="xml">
|
|
<tree create="0" export_xlsx="0" delete="0">
|
|
<header>
|
|
<button string="确认" name="set_tool_material" type="object"
|
|
class="treeHeaderBtn"/>
|
|
</header>
|
|
<field name="product_id"/>
|
|
<field name="cutting_tool_type_id"/>
|
|
<field name="cutting_tool_model_id"/>
|
|
<field name="specification_id"/>
|
|
|
|
<field name="cutting_tool_blade_diameter"/>
|
|
<field name="cutting_tool_blade_tip_working_size"/>
|
|
|
|
<field name="brand_id"/>
|
|
<field name="shelf_location_id"/>
|
|
<field name="lot_id"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_shelf_location_lot_tree_2" model="ir.ui.view">
|
|
<field name="name">sf.shelf.location.lot.tree</field>
|
|
<field name="model">sf.shelf.location.lot</field>
|
|
<field name="arch" type="xml">
|
|
<tree create="0" export_xlsx="0" delete="0">
|
|
<header>
|
|
<button string="确认" name="set_tool_material" type="object"
|
|
class="treeHeaderBtn"/>
|
|
</header>
|
|
<field name="product_id"/>
|
|
<field name="cutting_tool_type_id"/>
|
|
<field name="cutting_tool_model_id"/>
|
|
<field name="specification_id"/>
|
|
|
|
<field name="fit_blade_shape_id"/>
|
|
<field name="cutting_tool_blade_radius"/>
|
|
|
|
<field name="brand_id"/>
|
|
<field name="shelf_location_id"/>
|
|
<field name="lot_id"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
|
|
<record id="view_shelf_location_lot_tree_3" model="ir.ui.view">
|
|
<field name="name">sf.shelf.location.lot.tree</field>
|
|
<field name="model">sf.shelf.location.lot</field>
|
|
<field name="arch" type="xml">
|
|
<tree create="0" export_xlsx="0" delete="0">
|
|
<header>
|
|
<button string="确认" name="set_tool_material" type="object"
|
|
class="treeHeaderBtn"/>
|
|
</header>
|
|
<field name="product_id"/>
|
|
<field name="cutting_tool_type_id"/>
|
|
<field name="cutting_tool_model_id"/>
|
|
<field name="specification_id"/>
|
|
|
|
<field name="cutting_tool_cutter_arbor_diameter"/>
|
|
<field name="fit_blade_shape_id"/>
|
|
|
|
<field name="brand_id"/>
|
|
<field name="shelf_location_id"/>
|
|
<field name="lot_id"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_shelf_location_lot_tree_4" model="ir.ui.view">
|
|
<field name="name">sf.shelf.location.lot.tree</field>
|
|
<field name="model">sf.shelf.location.lot</field>
|
|
<field name="arch" type="xml">
|
|
<tree create="0" export_xlsx="0" delete="0">
|
|
<header>
|
|
<button string="确认" name="set_tool_material" type="object"
|
|
class="treeHeaderBtn"/>
|
|
</header>
|
|
<field name="product_id"/>
|
|
<field name="cutting_tool_type_id"/>
|
|
<field name="cutting_tool_model_id"/>
|
|
<field name="specification_id"/>
|
|
|
|
<field name="cutting_tool_cutter_head_diameter"/>
|
|
<field name="fit_blade_shape_id"/>
|
|
|
|
<field name="brand_id"/>
|
|
<field name="shelf_location_id"/>
|
|
<field name="lot_id"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
</odoo> |