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
    • 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
      • Payment Checkout Inherit
        • Remove Is Subscription Note
      • Sale Subscription Order View Form
        • Show End Date
      • Sale Subscription Template View Form
        • Journal Id Domain
    • Stock
    • Stock Account
    • Stock Delivery Note
    • Survey
    • Timesheet Grid
    • Web
    • Website
    • Website Discount Voucher
    • Website Sale

Sale Subscription

Payment Checkout Inherit

Remove Is Subscription Note

ID: mint_system.sale_subscription.payment_checkout_inherit.remove_is_subscription_note

<data inherit_id="sale_subscription.payment_checkout_inherit" priority="50">
    <label t-if="is_subscription" position="replace"/>
</data>

Source: snippets/sale_subscription.payment_checkout_inherit.remove_is_subscription_note.xml

Sale Subscription Order View Form

Show End Date

ID: mint_system.sale_subscription.sale_subscription_order_view_form.show_end_date

<data inherit_id="sale_subscription.sale_subscription_order_view_form" priority="50">
    <xpath expr="//group[@name='sales_person']//field[@name='to_renew']" position="before">
        <field name="end_date" attrs="{'invisible': [('recurrence_id', '=', False)]}"/>
    </xpath>
</data>

Source: snippets/sale_subscription.sale_subscription_order_view_form.show_end_date.xml

Sale Subscription Template View Form

Journal Id Domain

ID: mint_system.sale_subscription.sale_subscription_template_view_form.journal_id_domain

<data inherit_id="sale_subscription.sale_subscription_template_view_form" priority="50">
    <xpath expr="//field[@name='journal_id']" position="attributes">
        <attribute name="attrs">{'domain': []}</attribute>
    </xpath>
</data>

Source: snippets/sale_subscription.sale_subscription_template_view_form.journal_id_domain.xml

Edit this page
Last Updated:
Contributors: Kurt Gisler
Prev
Sale Product Set
Next
Stock