工单流程代码合并

This commit is contained in:
gqh
2022-11-07 16:42:49 +08:00
parent 8776fc7d6c
commit 7118596e1c
8 changed files with 100 additions and 70 deletions

View File

@@ -6,10 +6,20 @@
<field name="model">mrp.workorder</field>
<field name="inherit_id" ref="mrp.mrp_production_workorder_form_view_inherit"/>
<field name="arch" type="xml">
<xpath expr="//page[last()]" position="after">
<page string="获取CNC加工程序">
<group>
<field name="cnc_id" />
</group>
</page>
</xpath>
<xpath expr="//page[last()]" position="after">
<page string="装夹托盘">
<group>
<field name="surface" widget="radio"/>
<field name="processing_panel" readonly = "1"/>
<div class="col-12 col-lg-6 o_setting_box">
<button type="object" class="oe_highlight" name="gettray" string="扫描托盘"
attrs='{"invisible": [("production_id","=",False)]}'
@@ -25,7 +35,7 @@
<page string="三元前置检测定位参数">
<group>
<group>
<field name="surface" widget="radio"/>
<field name="processing_panel" readonly = "1"/>
</group>