调整扫码字段位置
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
<field name="inherit_id" ref="mrp.mrp_production_workorder_form_view_inherit"/>
|
<field name="inherit_id" ref="mrp.mrp_production_workorder_form_view_inherit"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//notebook/page[last()]" position="after">
|
<xpath expr="//notebook/page[last()]" position="after">
|
||||||
|
<field name="routing_type" invisible="1"/>
|
||||||
<page string="异常记录" name="workorder_exception" attrs="{'invisible': [('routing_type', '!=', 'CNC加工')]}">
|
<page string="异常记录" name="workorder_exception" attrs="{'invisible': [('routing_type', '!=', 'CNC加工')]}">
|
||||||
<field name="exception_ids" nolabel="1" readonly="1">
|
<field name="exception_ids" nolabel="1" readonly="1">
|
||||||
<tree create="false" delete="false" edit="false">
|
<tree create="false" delete="false" edit="false">
|
||||||
|
|||||||
@@ -310,28 +310,6 @@
|
|||||||
|
|
||||||
|
|
||||||
<xpath expr="//page[1]" position="before">
|
<xpath expr="//page[1]" position="before">
|
||||||
<page string="工件装夹" attrs='{"invisible": [("routing_type","!=","装夹预调")]}'>
|
|
||||||
<group>
|
|
||||||
<field name="_barcode_scanned" widget="barcode_handler"/>
|
|
||||||
<group string="托盘">
|
|
||||||
<field name="tray_serial_number" readonly="1" string="序列号"/>
|
|
||||||
</group>
|
|
||||||
</group>
|
|
||||||
<group>
|
|
||||||
<group>
|
|
||||||
<field name="tray_product_id" readonly="1" string="名称"/>
|
|
||||||
<field name="tray_brand_id" readonly="1" string="品牌"/>
|
|
||||||
</group>
|
|
||||||
<group>
|
|
||||||
<field name="tray_type_id" readonly="1" string="类型"/>
|
|
||||||
<field name="tray_model_id" readonly="1" string="型号"/>
|
|
||||||
</group>
|
|
||||||
</group>
|
|
||||||
<group string="预调程序信息">
|
|
||||||
<field name="preset_program_information" colspan="2" nolabel="1"
|
|
||||||
placeholder="如有预调程序信息请在此处输入....."/>
|
|
||||||
</group>
|
|
||||||
</page>
|
|
||||||
<page string="前置三元检测定位参数" attrs='{"invisible": [("routing_type","!=","装夹预调")]}'>
|
<page string="前置三元检测定位参数" attrs='{"invisible": [("routing_type","!=","装夹预调")]}'>
|
||||||
|
|
||||||
<div>左面:</div>
|
<div>左面:</div>
|
||||||
@@ -629,6 +607,30 @@
|
|||||||
mrp.group_mrp_manager,sf_base.group_sf_mrp_manager,sf_base.group_sf_equipment_user,sf_base.group_sf_order_user
|
mrp.group_mrp_manager,sf_base.group_sf_mrp_manager,sf_base.group_sf_equipment_user,sf_base.group_sf_order_user
|
||||||
</attribute>
|
</attribute>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
<xpath expr="//page[1]" position="before">
|
||||||
|
<page string="工件装夹" attrs='{"invisible": [("routing_type","!=","装夹预调")]}'>
|
||||||
|
<group>
|
||||||
|
<field name="_barcode_scanned" widget="barcode_handler"/>
|
||||||
|
<group string="托盘">
|
||||||
|
<field name="tray_serial_number" readonly="1" string="序列号"/>
|
||||||
|
</group>
|
||||||
|
</group>
|
||||||
|
<group>
|
||||||
|
<group>
|
||||||
|
<field name="tray_product_id" readonly="1" string="名称"/>
|
||||||
|
<field name="tray_brand_id" readonly="1" string="品牌"/>
|
||||||
|
</group>
|
||||||
|
<group>
|
||||||
|
<field name="tray_type_id" readonly="1" string="类型"/>
|
||||||
|
<field name="tray_model_id" readonly="1" string="型号"/>
|
||||||
|
</group>
|
||||||
|
</group>
|
||||||
|
<group string="预调程序信息">
|
||||||
|
<field name="preset_program_information" colspan="2" nolabel="1"
|
||||||
|
placeholder="如有预调程序信息请在此处输入....."/>
|
||||||
|
</group>
|
||||||
|
</page>
|
||||||
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user