Contract Sale Payment Mode

contract_sale_payment_mode
REPOSITORY
REPOSITORYOCA/contract
GIT
GIThttps://github.com/OCA/contract.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/contract/tree/18.0/contract_sale_payment_mode
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSsbejaoui, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/contract
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_sale
    - account_payment_partner
    - account_payment_mode
OCA/contract:
    - product_contract
    - contract_termination
    - contract_line_successor
    - contract
    - contract_payment_mode
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module manages the payment mode from sale order to contract.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_form_view res.config.settings xpath Inherits sale.res_config_settings_view_form
sale_order_form_view sale.order xpath Inherits account_payment_sale.view_order_form
Models touched (3)

New fields (1)
  • specific_contract_payment_mode Boolean
    string='Specific payment mode for contracts created from sale orders'
Public methods (0)

No public methods.

New fields (1)
  • specific_contract_payment_mode Boolean
    readonly=False related='company_id.specific_contract_payment_mode' string='Specific payment mode for contracts created from sale orders'
Public methods (0)

No public methods.

New fields (2)
  • contract_payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' domain=[('payment_type', '=', 'inbound')] index=True string='Contract Payment Mode'
  • specific_contract_payment_mode Boolean
    related='company_id.specific_contract_payment_mode' string='Different payment mode for contracts generated from sale orders'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/contract
GIT
GIThttps://github.com/OCA/contract.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/contract/tree/12.0/contract_sale_payment_mode
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSDenis Roussel, sbejaoui, OCA Transbot, Thomas Binsfeld, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/contract
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_sale
    - account_payment_partner
    - account_payment_mode
OCA/contract:
    - product_contract
    - contract_sale
    - contract
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - decimal_precision
    - uom
    - analytic
    - portal
    - http_routing
    - digest
    - auth_signup
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_form_view res.config.settings xpath Inherits sale.res_config_settings_view_form
sale_order_form_view sale.order xpath Inherits account_payment_sale.view_order_form
Models touched (3)

New fields (1)
  • specific_contract_payment_mode Boolean
    string='Specific payment mode for contracts created from sale orders'
Public methods (0)

No public methods.

New fields (1)
  • specific_contract_payment_mode Boolean
    readonly=False related='company_id.specific_contract_payment_mode' string='Specific payment mode for contracts created from sale orders'
Public methods (0)

No public methods.

New fields (2)
  • contract_payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' domain=[('payment_type', '=', 'inbound')] index=True string='Contract Payment Mode'
  • specific_contract_payment_mode Boolean
    related='company_id.specific_contract_payment_mode' string='Different payment mode for contracts generated from sale orders'
Public methods (1)
  • onchange_partner_id(self)
    @api.onchange('partner_id')