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
      • Print Batch Payment
        • Add Row
        • Sort
      • View Batch Payment Form
        • Show Sct Generic
    • 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
    • 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

Account Batch Payment

Print Batch Payment

Add Row

ID: mint_system.account_batch_payment.print_batch_payment.add_row

<data inherit_id="account_batch_payment.print_batch_payment" priority="50">
    <xpath expr="//table/thead/tr/th[3]" position="after">
        <th class="text-left">Purpose</th>
    </xpath>
    <xpath expr="//table/tr/td[3]" position="after">
        <td class="text-left">
            <t t-esc="x_studio_bemerkungen"/>
        </td>
    </xpath>
    <xpath expr="//table/tfoot/tr/td[3]" position="after">
        <td/>
    </xpath>
</data>

Source: snippets/account_batch_payment.print_batch_payment.add_row.xml

Sort

ID: mint_system.account_batch_payment.print_batch_payment.sort

<data inherit_id="account_batch_payment.print_batch_payment" priority="50">
    <xpath expr=" //tr[@t-as='payment']" position="replace">
        <tr t-foreach="sorted(page['payments'], key=lambda l: l.partner_id.name)" t-as="payment">
            <td class="text-left">
                <t t-esc="payment.partner_id.name"/>
            </td>
            <td class="text-left">
                <t t-esc="payment.date" t-options="{&quot;widget&quot;: &quot;date&quot;}"/>
            </td>
            <td class="text-left">
                <t t-esc="payment.ref"/>
            </td>
            <td class="text-right">
                <t t-esc="payment.amount" t-options="{'widget': 'monetary', 'display_currency': payment.currency_id}"/>
            </td>
        </tr>
    </xpath>
</data>

Source: snippets/account_batch_payment.print_batch_payment.sort.xml

View Batch Payment Form

Show Sct Generic

ID: mint_system.account_batch_payment.view_batch_payment_form.show_sct_generic

<data inherit_id="account_batch_payment.view_batch_payment_form" priority="50">
    <field name="batch_type" position="after">
        <field name="sct_generic"/>
    </field>
</data>

Source: snippets/account_batch_payment.view_batch_payment_form.show_sct_generic.xml

Edit this page
Last Updated:
Contributors: Kurt Gisler
Prev
Account Asset
Next
Account Budget