修复bug和优化制造订单报废
This commit is contained in:
@@ -84,6 +84,12 @@
|
||||
technology_to_confirmed,confirmed,pending_cam,progress,rework,scrap,done
|
||||
</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[@class='d-flex flex-row align-items-start']//span[1]" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//button[@name='action_product_forecast_report']" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//sheet//group//group[2]//label" position="before">
|
||||
<!-- <field name="process_state"/> -->
|
||||
<field name="state" readonly="1"/>
|
||||
@@ -139,7 +145,7 @@
|
||||
</xpath>
|
||||
<xpath expr="(//header//button[@name='button_scrap'])" position="replace">
|
||||
<button name="technology_confirm" string="工艺确认" type="object" class="oe_highlight"
|
||||
attrs="{'invisible': [('workorder_ids', '!=', [])]}"></button>
|
||||
attrs="{'invisible': [('state', '!=', 'technology_to_confirmed')]}"></button>
|
||||
<button name="technology_back_adjust" string="退回调整" type="object" class="oe_highlight"
|
||||
attrs="{'invisible': [('state', '!=', 'confirmed')]}"></button>
|
||||
<button name="button_scrap" invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user