Account Payment Base OCA - Sale

account_payment_base_oca_sale
REPOSITORY
REPOSITORYOCA/bank-payment-alternative
GIT
GIThttps://github.com/OCA/bank-payment-alternative.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment-alternative/tree/19.0/account_payment_base_oca_sale
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/bank-payment-alternative
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-payment:
    - account_payment_method_base
OCA/bank-payment-alternative:
    - account_payment_base_oca
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This modules improves the implementation of *Payment Mode* of sale orders:

- it adds the *Payment Mode* field in *Sales > Reporting > Sales*
- it updates the *Quotation / Order* report with Payment instructions

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
report_sale_payment_mode report_sale_payment_mode ir.ui.view qweb Inherits sale.report_saleorder_document
sale_report_view_tree sale.report field Inherits sale.sale_report_view_tree
view_order_product_search sale.report filter Inherits sale.view_order_product_search
Models touched (2)

New fields (1)
  • preferred_payment_method_line_id Many2one
    domain="[('payment_type', '=', 'inbound'), ('company_id', '=', company_id), ('selectable', '=', True)]"
Public methods (0)

No public methods.

New fields (1)
  • preferred_payment_method_line_id Many2one → account.payment.method.line
    readonly=True string='Payment Method' args: 'account.payment.method.line'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/bank-payment-alternative
GIT
GIThttps://github.com/OCA/bank-payment-alternative.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment-alternative/tree/18.0/account_payment_base_oca_sale
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/bank-payment-alternative
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-payment:
    - account_payment_method_base
OCA/bank-payment-alternative:
    - account_payment_base_oca
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 Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This modules adds one field on sale orders: *Payment Mode*. This field
is copied from partner to sale order and then from sale order to
customer invoice.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
report_sale_payment_mode report_sale_payment_mode ir.ui.view qweb Inherits sale.report_saleorder_document
sale_report_view_tree sale.report field Inherits sale.sale_report_view_tree
view_order_form account_payment_sale.sale_order.form sale.order field Inherits sale.view_order_form
view_order_product_search sale.report filter Inherits sale.view_order_product_search
Models touched (2)

New fields (1)
  • payment_method_line_id Many2one → account.payment.method.line
    check_company=True comodel_name='account.payment.method.line' compute='_compute_payment_method_line_id' domain="[('payment_type', '=', 'inbound'), ('company_id', '=', company_id), ('selectable', '=', True)]" precompute=True readonly=False store=True string='Payment Method' tracking=2
Public methods (0)

No public methods.

New fields (1)
  • payment_method_line_id Many2one → account.payment.method.line
    readonly=True string='Payment Method' args: 'account.payment.method.line'
Public methods (0)

No public methods.