Mrp Workorder

Mrp Workorder View Form Tablet

Modify Readonly

ID: mint_system.mrp_workorder.mrp_workorder_view_form_tablet.modify_readonly

<?xml version="1.0"?>
<data inherit_id="mrp_workorder.mrp_workorder_view_form_tablet" priority="50">
    <xpath expr="//field[@name='finished_lot_id']" position="attributes">
        <attribute name="attrs">{'readonly': True}</attribute>
    </xpath>
    <xpath expr="//div/field[@name='lot_id']" position="attributes">
        <attribute name="attrs">{'readonly': True,'invisible': [('component_tracking', '=', 'none')]}</attribute>
    </xpath>
</data>

Source: snippets/mrp_workorder.mrp_workorder_view_form_tablet.modify_readonly.xmlopen in new window

Remove Button Action Continue

ID: mint_system.mrp_workorder.mrp_workorder_view_form_tablet.remove_button_action_continue

<?xml version="1.0"?>
<data inherit_id="mrp_workorder.mrp_workorder_view_form_tablet" priority="50">
    <xpath expr="//button[@name='action_continue'][3]" position="replace">    
  </xpath>
    <xpath expr="//button[@name='action_continue'][3]" position="replace">    
  </xpath>
</data>

Source: snippets/mrp_workorder.mrp_workorder_view_form_tablet.remove_button_action_continue.xmlopen in new window

Remove Button Do Finish

ID: mint_system.mrp_workorder.mrp_workorder_view_form_tablet.remove_button_do_finish

<?xml version="1.0"?>
<data inherit_id="mrp_workorder.mrp_workorder_view_form_tablet" priority="50">
    <xpath expr="//button[@name='do_finish']" position="replace">    
  </xpath>
</data>

Source: snippets/mrp_workorder.mrp_workorder_view_form_tablet.remove_button_do_finish.xmlopen in new window