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
      • Project Task View List Fsm
        • Show Id
      • Worksheet Custom
        • Add Info
        • Replace Layout
      • Worksheet Custom Page
        • Remove Address
        • Replace Display Name
        • Style Moser
    • 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
    • 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

Industry Fsm

Project Task View List Fsm

Show Id

ID: mint_system.industry_fsm.project_task_view_list_fsm.show_id

<data inherit_id="industry_fsm.project_task_view_list_fsm" priority="50">
    <xpath expr="//field[@name='progress']" position="after">
        <field name="id" string="ID" optional="hide"/>
    </xpath>
</data>

Source: snippets/industry_fsm.project_task_view_list_fsm.show_id.xml

Worksheet Custom

Add Info

ID: mint_system.industry_fsm.worksheet_custom.add_info

<data inherit_id="industry_fsm.worksheet_custom" priority="50">
    <xpath expr="//div[1]" position="before">
        <h1>Arbeitsrapport</h1>
        <span id="title">
            <strong t-field="doc.name"/>
        </span>
        <table>
            <tr>
                <td style="width:120px">
                      Kunde:
        </td>
                <td style="width:700px">
                    <span t-field="doc.partner_id"/>
                    <t t-if="doc.partner_id.ref">
                      /
            <span t-field="doc.partner_id.ref"/>
          </t>
                </td>
            </tr>
            <tr>
                <td>Benutzer:</td>
                <td>
                    <span t-field="doc.x_user_text"/>
                </td>
            </tr>
            <tr>
                <td>Systemname:</td>
                <td>
                    <span t-field="doc.x_systemname"/>
                </td>
            </tr>
        </table>
    </xpath>
</data>

Source: snippets/industry_fsm.worksheet_custom.add_info.xml

Replace Layout

ID: mint_system.industry_fsm.worksheet_custom.replace_layout

<data inherit_id="industry_fsm.worksheet_custom" priority="50">
    <xpath expr="//t[@t-call='web.external_layout']" position="replace">
        <t t-call="web.external_layout_worksheet">
            <t t-call="industry_fsm.worksheet_custom_page" t-lang="doc.partner_id.lang"/>
        </t>
    </xpath>
</data>

Source: snippets/industry_fsm.worksheet_custom.replace_layout.xml

Worksheet Custom Page

Remove Address

ID: mint_system.industry_fsm.worksheet_custom_page.remove_address

<data inherit_id="industry_fsm.worksheet_custom_page" priority="50">
    <xpath expr="//div/div[1]" position="replace"/>
</data>

Source: snippets/industry_fsm.worksheet_custom_page.remove_address.xml

Replace Display Name

ID: mint_system.industry_fsm.worksheet_custom_page.replace_display_name

<data inherit_id="industry_fsm.worksheet_custom_page" priority="50">
    <xpath expr="//span[@t-field='line.display_name']" position="replace">
        <span t-field="line.name"/>
    </xpath>
</data>

Source: snippets/industry_fsm.worksheet_custom_page.replace_display_name.xml

Style Moser

ID: mint_system.industry_fsm.worksheet_custom_page.style_moser

<data inherit_id="industry_fsm.worksheet_custom_page" priority="60">
    <xpath expr="//div[hasclass('page')]" position="before">
        <style>
              h1 {
            font-size: 1.8rem;
            margin-top: 60px;
            }
            h2 {
            font-size: 1.4rem;
            margin-top: 60px;
            }   
              #title {
             font-size: 1.2rem;
              }
        </style>
    </xpath>
</data>

Source: snippets/industry_fsm.worksheet_custom_page.style_moser.xml

Edit this page
Last Updated:
Contributors: Kurt Gisler
Prev
Hr Timesheet
Next
Industry Fsm Sale