工单开始需要完成上一步
This commit is contained in:
@@ -32,6 +32,10 @@
|
||||
<field name="model">mrp.workorder</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_production_workorder_form_view_inherit"/>
|
||||
<field name="arch" type="xml">
|
||||
<!-- <field name="production_id" position="after">-->
|
||||
<!-- <field name="tray_code" readonly="1" attrs='{"invisible": [("tray_code","=",False)]}'/>-->
|
||||
<!-- </field>-->
|
||||
|
||||
<xpath expr="//page[last()]" position="after">
|
||||
<page string="获取CNC加工程序" attrs='{"invisible": [("routing_type","!=","获取CNC加工程序")]}'>
|
||||
<div class="col-12 col-lg-6 o_setting_box">
|
||||
@@ -229,18 +233,15 @@
|
||||
<xpath expr="//page[last()]" position="after">
|
||||
<page string="后置三元检测" attrs='{"invisible": [("routing_type","!=","后置三元质量检测")]}'>
|
||||
<group>
|
||||
<field name="test_results" widget="radio"/>
|
||||
<field name="test_results" widget="selection"/>
|
||||
<div class="col-12 col-lg-6 o_setting_box">
|
||||
<button type="object" class="oe_highlight" name="recreateWorkerOrder" string="重新生成工单"
|
||||
attrs='{"invisible": [("test_results","!=","返工")]}'
|
||||
/>
|
||||
</div>
|
||||
<div class="col-12 col-lg-6 o_setting_box">
|
||||
<button type="object" class="oe_highlight" name="recreateManufacturing" string="重新生成制造订单"
|
||||
attrs='{"invisible": [("test_results","!=","报废")]}'
|
||||
<button type="object" class="oe_highlight" name="recreateManufacturingOrWorkerOrder" string="检测确认"
|
||||
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</group>
|
||||
</page>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user