修复cnc程序排序
This commit is contained in:
@@ -436,7 +436,8 @@
|
|||||||
<group>
|
<group>
|
||||||
<field name="test_result" widget="selection" attrs='{"invisible":[("results","!=",False)]}'/>
|
<field name="test_result" widget="selection" attrs='{"invisible":[("results","!=",False)]}'/>
|
||||||
<field name="results" readonly="1" attrs='{"invisible":[("results","!=","合格")]}'/>
|
<field name="results" readonly="1" attrs='{"invisible":[("results","!=","合格")]}'/>
|
||||||
<field name="detection_report" attrs='{"invisible":[("results","!=",False)]}' widget="pdf_viewer"/>
|
<field name="detection_report" attrs='{"invisible":[("results","!=",False)]}'
|
||||||
|
widget="pdf_viewer"/>
|
||||||
</group>
|
</group>
|
||||||
<div class="col-12 col-lg-6 o_setting_box">
|
<div class="col-12 col-lg-6 o_setting_box">
|
||||||
<button type="object" class="oe_highlight" name="recreateManufacturingOrWorkerOrder"
|
<button type="object" class="oe_highlight" name="recreateManufacturingOrWorkerOrder"
|
||||||
@@ -447,7 +448,7 @@
|
|||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//page[1]" position="before">
|
<xpath expr="//page[1]" position="before">
|
||||||
<page string="CNC程序" attrs='{"invisible": [("routing_type","!=","CNC加工")]}'>
|
<page string="CNC程序" attrs='{"invisible": [("routing_type","!=","CNC加工")]}'>
|
||||||
<field name="cnc_ids" widget="one2many" string="工作程序">
|
<field name="cnc_ids" widget="one2many" string="工作程序" default_order="sequence_number,id">
|
||||||
<tree decoration-success="button_state" decoration-bf="button_state">
|
<tree decoration-success="button_state" decoration-bf="button_state">
|
||||||
<field name="sequence_number"/>
|
<field name="sequence_number"/>
|
||||||
<field name="program_name"/>
|
<field name="program_name"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user