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
      • Partner Agreement Form View
        • Agreement Subtype Domain
        • Description Optional
        • Hide Description
        • Hide Parties
        • Hide Special Terms
        • X Group Ids And X User Ids
      • Partner Agreement List View
        • Replace Tree
      • Partner Agreement Search View
        • Partner First
    • 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

Agreement Legal

Partner Agreement Form View

Agreement Subtype Domain

ID: mint_system.agreement_legal.partner_agreement_form_view.agreement_subtype_domain

<data inherit_id="agreement_legal.partner_agreement_form_view" priority="50">
    <field name="agreement_subtype_id" position="attributes">
        <attribute name="domain"/>
    </field>
</data>

Source: snippets/agreement_legal.partner_agreement_form_view.agreement_subtype_domain.xml

Description Optional

ID: mint_system.agreement_legal.partner_agreement_form_view.description_optional

<data inherit_id="agreement_legal.partner_agreement_form_view" priority="50">
    <field name="description" position="attributes">
        <attribute name="required">False</attribute>
    </field>
    <xpath expr="//group[@class='oe_edit_only']" position="replace"/>
</data>

Source: snippets/agreement_legal.partner_agreement_form_view.description_optional.xml

Hide Description

ID: mint_system.agreement_legal.partner_agreement_form_view.hide_description

<data inherit_id="agreement_legal.partner_agreement_form_view" priority="50">
    <field name="description" position="replace"/>
</data>

Source: snippets/agreement_legal.partner_agreement_form_view.hide_description.xml

Hide Parties

ID: mint_system.agreement_legal.partner_agreement_form_view.hide_parties

<data inherit_id="agreement_legal.partner_agreement_form_view" priority="50">
    <field name="use_parties_content" position="attributes">
        <attribute name="invisible">1</attribute>
    </field>
    <xpath expr="//group[@name='cust_parties']/p" position="replace"/>
    <xpath expr="//group[@name='partner_left']" position="replace"/>
    <xpath expr="//group[@name='contact_right']" position="replace"/>
</data>

Source: snippets/agreement_legal.partner_agreement_form_view.hide_parties.xml

Hide Special Terms

ID: mint_system.agreement_legal.partner_agreement_form_view.hide_special_terms

<data inherit_id="agreement_legal.partner_agreement_form_view" priority="50">
    <page name="structure" position="attributes">
        <attribute name="invisible">1</attribute>
    </page>
    <page name="products" position="attributes">
        <attribute name="invisible">1</attribute>
    </page>
    <page name="child_agreements" position="attributes">
        <attribute name="invisible">1</attribute>
    </page>
    <page name="performance" position="attributes">
        <attribute name="invisible">1</attribute>
    </page>
</data>

Source: snippets/agreement_legal.partner_agreement_form_view.hide_special_terms.xml

X Group Ids And X User Ids

ID: mint_system.agreement_legal.partner_agreement_form_view.x_group_ids_and_x_user_ids

<data inherit_id="agreement_legal.partner_agreement_form_view" priority="50">
    <field name="agreement_subtype_id" position="after">
        <field name="x_group_ids" widget="many2many_tags" domain="[('category_id.name','=','Agreement')]"/>
        <field name="x_user_ids" widget="many2many_tags"/>
    </field>
</data>

Source: snippets/agreement_legal.partner_agreement_form_view.x_group_ids_and_x_user_ids.xml

Partner Agreement List View

Replace Tree

ID: mint_system.agreement_legal.partner_agreement_list_view.replace_tree

<data inherit_id="agreement_legal.partner_agreement_list_view" priority="50">
    <tree position="replace">
        <tree string="Agreements" default_order="code desc, name" multi_edit="1">
            <field name="code"/>
            <field name="name" optional="hide"/>
            <field name="partner_id"/>
            <field name="description"/>
            <field name="signed_contract" widget="binary" filename="name" optional="show"/>
            <field name="start_date"/>
            <field name="agreement_type_id"/>
            <field name="agreement_subtype_id"/>
            <field name="stage_id"/>
            <field name="active" invisible="1"/>
        </tree>
    </tree>
</data>

Source: snippets/agreement_legal.partner_agreement_list_view.replace_tree.xml

Partner Agreement Search View

Partner First

ID: mint_system.agreement_legal.partner_agreement_search_view.partner_first

<data inherit_id="agreement_legal.partner_agreement_search_view" priority="50">
    <field name="name" position="replace"/>
    <field name="partner_id" position="replace"/>
    <field name="code" position="before">
        <field name="partner_id"/>
    </field>
    <field name="code" position="before">
        <field name="name"/>
    </field>
</data>

Source: snippets/agreement_legal.partner_agreement_search_view.partner_first.xml

Edit this page
Last Updated:
Contributors: Kurt Gisler
Prev
Agreement
Next
Auth Api Key