Odoo BuildOdoo Build
Home
Help
Images
Snippets
Revisions
Modules
Changelog
Mint System
Chat
GitHub
Home
Help
Images
Snippets
Revisions
Modules
Changelog
Mint System
Chat
GitHub
  • Snippets

    • Account
    • Account Accountant
    • Account Asset
    • Account Batch Payment
    • Account Budget
    • Account Financial Report
    • Account Followup
    • Account Journal Items Report
    • Account Sale Timesheet Report
    • Agreement
    • Agreement Legal
    • Auth Api Key
    • Base
    • Base Install Request
    • Base Location
    • Business Requirement
    • Calendar
    • Certificate Planer
    • Contract
    • Crm
    • Crm Iap Lead Enrich
    • Delivery
    • Digest
    • Fleet
    • Forestry Timesheet
    • Gio Payroll Custom
    • Helpdesk
    • Hr
    • Hr Attendance
    • Hr Attendance Kanban
    • Hr Contract
    • Hr Expense
    • Hr Holidays
    • Hr Holidays Delegations
    • Hr Payroll
    • Hr Recruitment
    • Hr Timesheet
    • Industry Fsm
    • Industry Fsm Sale
    • Ir Model
    • Ir Ui View
    • L10n Ch
    • L10n Ch Qr Isr Invoice Import
    • L10n Din5008
    • Mail
    • Mail Activity Board
    • Maintenance
    • Maintenance Plan
    • Mrp
    • Mrp Account
    • Mrp Workorder
      • Mrp Workorder View Form Tablet
        • Modify Readonly
        • Remove Button Action Continue
        • Remove Button Do Finish
    • Payment
    • Portal
    • Printnode Base
    • Product
    • Project
    • Project Enterprise
    • Purchase
    • Purchase Requisition
    • Purchase Requisition Send
    • Res Groups
    • Sale
    • Sale Blanket Order
    • Sale Management
    • Sale Margin
    • Sale Order Contact Person
    • Sale Order Line Date
    • Sale Order Picking Note
    • Sale Partner Incoterm
    • Sale Product Set
    • Sale Subscription
    • Stock
    • Stock Account
    • Stock Delivery Note
    • Survey
    • Timesheet Grid
    • Web
    • Website
    • Website Discount Voucher
    • Website Sale

Mrp Workorder

Mrp Workorder View Form Tablet

Modify Readonly

ID: mint_system.mrp_workorder.mrp_workorder_view_form_tablet.modify_readonly

<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.xml

Remove Button Action Continue

ID: mint_system.mrp_workorder.mrp_workorder_view_form_tablet.remove_button_action_continue

<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.xml

Remove Button Do Finish

ID: mint_system.mrp_workorder.mrp_workorder_view_form_tablet.remove_button_do_finish

<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.xml

Edit this page
Last Updated:
Contributors: Janik von Rotz
Prev
Mrp Account
Next
Payment