修复报废
This commit is contained in:
@@ -201,6 +201,19 @@
|
||||
data-hotkey="l"/>
|
||||
</xpath>
|
||||
|
||||
<!-- <xpath expr="//header//button[@name='action_view_mo_delivery']" position="after">-->
|
||||
<!-- <button class="oe_stat_button" name="action_view_remanufacture_productions" type="object"-->
|
||||
<!-- icon="fa-wrench" attrs="{'invisible': [('remanufacture_count', '=', 0)]}"-->
|
||||
<!-- groups="mrp.group_mrp_user">-->
|
||||
<!-- <div class="o_field_widget o_stat_info">-->
|
||||
<!-- <span class="o_stat_value">-->
|
||||
<!-- <field name="remanufacture_count"/>-->
|
||||
<!-- </span>-->
|
||||
<!-- <span class="o_stat_text">新的制造</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- </button>-->
|
||||
<!-- </xpath>-->
|
||||
|
||||
<xpath expr="//header//button[@name='action_toggle_is_locked']" position="replace">
|
||||
<button name="action_toggle_is_locked"
|
||||
attrs="{'invisible': ['|', ('show_lock', '=', False), ('is_locked', '=', True)]}"
|
||||
|
||||
@@ -218,7 +218,7 @@
|
||||
<xpath expr="//label[1]" position="before">
|
||||
<field name='routing_type' readonly="1"/>
|
||||
<field name='process_state' attrs='{"invisible": [("routing_type","!=","装夹预调")]}'/>
|
||||
<field name="rfid_code" force_save="1" readonly="1" cache="True"
|
||||
<field name="rfid_code" force_save="1" readonly="0" cache="True"
|
||||
attrs="{'invisible': [('rfid_code_old', '!=', False)]}"/>
|
||||
<field name="rfid_code_old" readonly="1" attrs="{'invisible': [('rfid_code_old', '=', False)]}"/>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user