Account Payment Partner

account_payment_partner
REPOSITORY
REPOSITORYOCA/bank-payment
GIT
GIThttps://github.com/OCA/bank-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment/tree/18.0/account_payment_partner
VERSION
VERSION 1.0.5
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSEnric Tobella, Carlos Lopez, Víctor Martínez, Weblate, OCA-git-bot, oca-ci, Rémi - Le Filament, Felipe Motter, rjaraspearhead
WEBSITE
WEBSITEhttps://github.com/OCA/bank-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_mode
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds several fields:

- the *Supplier Payment Mode* and *Customer Payment Mode* on Partners,
- the *Payment Mode* on Invoices.
- the *Show bank account* on Payment Mode.
- the *\# of digits for customer bank account* on Payment Mode.
- the *Bank account from journals* on Payment Mode.
- the *Payment mode* on Invoices Analysis.

On a Payment Order, in the wizard *Select Invoices to Pay*, the invoices
will be filtered per Payment Mode.

Allows to print in the invoice to which account number the payment (via
SEPA direct debit) is going to be charged so the customer knows that
information, but there are some customers that don't want that everyone
looking at the invoice sees the full account number (and even GDPR can
say a word about that), so that's the reason behind the several options.

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
account_payment_mode_form account.payment.mode field Inherits account_payment_mode.account_payment_mode_form
report_invoice_payment_mode report_invoice_payment_mode ir.ui.view qweb Inherits account.report_invoice_document
res_config_settings_view_form res.config.settings.account.payment.partner res.config.settings xpath Inherits account.res_config_settings_view_form
view_account_invoice_filter account_payment_partner.account_invoice_search account.move filter Inherits account.view_account_invoice_filter
view_account_invoice_report_search account.invoice.report.search account.invoice.report field Inherits account.view_account_invoice_report_search
view_invoice_tree account_payment_partner.view_invoice_tree account.move field Inherits account.view_invoice_tree
view_move_form account_payment_partner.view_move_form account.move field Inherits account.view_move_form
view_move_line_form account_payment_partner.move_line_form account.move.line xpath Inherits account.view_move_line_form
view_move_line_tree account.move.line.tree - Add payment mode account.move.line field Inherits account.view_move_line_tree
view_partner_property_form account_partner_payment.partner_form res.partner field Inherits account.view_partner_property_form
Models touched (7)

New fields (1)
  • payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' readonly=True string='Payment mode'
Public methods (0)

No public methods.

New fields (5)
  • bank_account_required Boolean
    readonly=True related='payment_mode_id.payment_method_id.bank_account_required'
  • has_reconciled_items Boolean
    compute='_compute_has_reconciled_items' help='Technical field for supporting the editability of the payment mode'
  • partner_bank_filter_type_domain Many2one → res.partner
    comodel_name='res.partner' compute='_compute_partner_bank_filter_type_domain'
  • payment_mode_filter_type_domain Char
    compute='_compute_payment_mode_filter_type_domain'
  • payment_mode_id Many2one → account.payment.mode
    check_company=True comodel_name='account.payment.mode' compute='_compute_payment_mode_id' ondelete='restrict' precompute=True readonly=False store=True tracking=True
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • partner_banks_to_show(self)

New fields (1)
  • payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' compute='_compute_payment_mode' index=True ondelete='restrict' readonly=False store=True
Public methods (1)
  • write(self, vals)
    Propagate up to the move the payment mode if applies.

New fields (4)
  • refund_payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' domain="[('payment_type', '!=', payment_type)]" help='This payment mode will be used when doing refunds coming from the current payment mode.' string='Payment mode for refunds'
  • show_bank_account Selection
    default='full' help='Show in invoices partial or full bank account number' selection=[('full', 'Full'), ('first', 'First n chars'), ('last', 'Last n chars'), ('no', 'No')]
  • show_bank_account_chars Integer
    string='# of digits for customer bank account'
  • show_bank_account_from_journal Boolean
    string='Bank account from journals'
Public methods (2)
  • account_invoice_company_constrains(self)
    @api.constrains('company_id')
  • account_move_line_company_constrains(self)
    @api.constrains('company_id')

New fields (1)
  • keep_partner_bank_without_payment_mode Boolean
    default=True help='When enabled, invoices without a payment mode will keep the bank account auto-selected by Odoo. When disabled, the bank account will be cleared if no payment mode is set.' string='Keep Bank Account Without Payment Mode'
Public methods (0)

No public methods.

New fields (1)
  • keep_partner_bank_without_payment_mode Boolean
    readonly=False related='company_id.keep_partner_bank_without_payment_mode'
Public methods (0)

No public methods.

New fields (2)
  • customer_payment_mode_id Many2one → account.payment.mode
    check_company=True comodel_name='account.payment.mode' company_dependent=True domain="[('payment_type', '=', 'inbound'),('company_id', '=', current_company_id)]" help='Select the default payment mode for this customer.'
  • supplier_payment_mode_id Many2one → account.payment.mode
    check_company=True comodel_name='account.payment.mode' company_dependent=True domain="[('payment_type', '=', 'outbound'),('company_id', '=', current_company_id)]" help='Select the default payment mode for this supplier.'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/bank-payment
GIT
GIThttps://github.com/OCA/bank-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment/tree/17.0/account_payment_partner
VERSION
VERSION 1.0.9
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSEnric Tobella, Víctor Martínez, Sébastien Alix, Weblate, OCA-git-bot, oca-ci, pilarvargas-tecnativa, Miquel Alzanillas, Felipe Motter, christian-ramos-tecnativa, Zu83
WEBSITE
WEBSITEhttps://github.com/OCA/bank-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_mode
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds several fields:

- the *Supplier Payment Mode* and *Customer Payment Mode* on Partners,
- the *Payment Mode* on Invoices.
- the *Show bank account* on Payment Mode.
- the *\# of digits for customer bank account* on Payment Mode.
- the *Bank account from journals* on Payment Mode.
- the *Payment mode* on Invoices Analysis.

On a Payment Order, in the wizard *Select Invoices to Pay*, the invoices
will be filtered per Payment Mode.

Allows to print in the invoice to which account number the payment (via
SEPA direct debit) is going to be charged so the customer knows that
information, but there are some customers that don't want that everyone
looking at the invoice sees the full account number (and even GDPR can
say a word about that), so that's the reason behind the several options.

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
account_payment_mode_form account.payment.mode field Inherits account_payment_mode.account_payment_mode_form
report_invoice_payment_mode report_invoice_payment_mode ir.ui.view qweb Inherits account.report_invoice_document
res_config_settings_view_form res.config.settings.account.payment.partner res.config.settings xpath Inherits account.res_config_settings_view_form
view_account_invoice_filter account_payment_partner.account_invoice_search account.move filter Inherits account.view_account_invoice_filter
view_account_invoice_report_search account.invoice.report.search account.invoice.report field Inherits account.view_account_invoice_report_search
view_invoice_tree account_payment_partner.view_invoice_tree account.move field Inherits account.view_invoice_tree
view_move_form account_payment_partner.view_move_form account.move field Inherits account.view_move_form
view_move_line_form account_payment_partner.move_line_form account.move.line xpath Inherits account.view_move_line_form
view_move_line_tree account.move.line.tree - Add payment mode account.move.line field Inherits account.view_move_line_tree
view_partner_property_form account_partner_payment.partner_form res.partner field Inherits account.view_partner_property_form
Models touched (7)

New fields (1)
  • payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' readonly=True string='Payment mode'
Public methods (0)

No public methods.

New fields (6)
  • bank_account_required Boolean
    readonly=True related='payment_mode_id.payment_method_id.bank_account_required'
  • has_reconciled_items Boolean
    compute='_compute_has_reconciled_items' help='Technical field for supporting the editability of the payment mode'
  • partner_bank_filter_type_domain Many2one → res.partner
    comodel_name='res.partner' compute='_compute_partner_bank_filter_type_domain'
  • partner_bank_id Many2one
    compute='_compute_partner_bank_id' ondelete='restrict' readonly=False store=True
  • payment_mode_filter_type_domain Char
    compute='_compute_payment_mode_filter_type_domain'
  • payment_mode_id Many2one → account.payment.mode
    check_company=True comodel_name='account.payment.mode' compute='_compute_payment_mode_id' ondelete='restrict' readonly=False store=True tracking=True
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • partner_banks_to_show(self)

New fields (1)
  • payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' compute='_compute_payment_mode' index=True ondelete='restrict' readonly=False store=True
Public methods (1)
  • write(self, vals)
    Propagate up to the move the payment mode if applies.

New fields (4)
  • refund_payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' domain="[('payment_type', '!=', payment_type)]" help='This payment mode will be used when doing refunds coming from the current payment mode.' string='Payment mode for refunds'
  • show_bank_account Selection
    default='full' help='Show in invoices partial or full bank account number' selection=[('full', 'Full'), ('first', 'First n chars'), ('last', 'Last n chars'), ('no', 'No')]
  • show_bank_account_chars Integer
    string='# of digits for customer bank account'
  • show_bank_account_from_journal Boolean
    string='Bank account from journals'
Public methods (2)
  • account_invoice_company_constrains(self)
    @api.constrains('company_id')
  • account_move_line_company_constrains(self)
    @api.constrains('company_id')

New fields (1)
  • keep_partner_bank_without_payment_mode Boolean
    default=True help='When enabled, invoices without a payment mode will keep the bank account auto-selected by Odoo. When disabled, the bank account will be cleared if no payment mode is set.' string='Keep Bank Account Without Payment Mode'
Public methods (0)

No public methods.

New fields (1)
  • keep_partner_bank_without_payment_mode Boolean
    readonly=False related='company_id.keep_partner_bank_without_payment_mode'
Public methods (0)

No public methods.

New fields (2)
  • customer_payment_mode_id Many2one → account.payment.mode
    check_company=True comodel_name='account.payment.mode' company_dependent=True domain="[('payment_type', '=', 'inbound'),('company_id', '=', current_company_id)]" help='Select the default payment mode for this customer.'
  • supplier_payment_mode_id Many2one → account.payment.mode
    check_company=True comodel_name='account.payment.mode' company_dependent=True domain="[('payment_type', '=', 'outbound'),('company_id', '=', current_company_id)]" help='Select the default payment mode for this supplier.'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/bank-payment
GIT
GIThttps://github.com/OCA/bank-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment/tree/16.0/account_payment_partner
VERSION
VERSION 1.2.9
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSPedro M. Baeza, Enric Tobella, Akim Juillerat, Víctor Martínez, Sébastien Alix, Thomas Binsfeld, Weblate, OCA-git-bot, Luis J. Salvatierra, Rodrigo, oca-ci, David Ramia, Antônio Neto, Felipe Motter, Danny W. Adair
WEBSITE
WEBSITEhttps://github.com/OCA/bank-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_mode
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
account_payment_mode_form account.payment.mode field Inherits account_payment_mode.account_payment_mode_form
report_invoice_payment_mode report_invoice_payment_mode ir.ui.view qweb Inherits account.report_invoice_document
res_config_settings_view_form res.config.settings.account.payment.partner res.config.settings xpath Inherits account.res_config_settings_view_form
view_account_invoice_filter account_payment_partner.account_invoice_search account.move filter Inherits account.view_account_invoice_filter
view_account_invoice_report_search account.invoice.report.search account.invoice.report field Inherits account.view_account_invoice_report_search
view_invoice_tree account_payment_partner.view_invoice_tree account.move field Inherits account.view_invoice_tree
view_move_form account_payment_partner.view_move_form account.move field Inherits account.view_move_form
view_move_line_form account_payment_partner.move_line_form account.move.line xpath Inherits account.view_move_line_form
view_move_line_tree account.move.line.tree - Add payment mode account.move.line field Inherits account.view_move_line_tree
view_partner_property_form account_partner_payment.partner_form res.partner field Inherits account.view_partner_property_form
Models touched (7)

New fields (1)
  • payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' readonly=True string='Payment mode'
Public methods (0)

No public methods.

New fields (6)
  • bank_account_required Boolean
    readonly=True related='payment_mode_id.payment_method_id.bank_account_required'
  • has_reconciled_items Boolean
    compute='_compute_has_reconciled_items' help='Technical field for supporting the editability of the payment mode'
  • partner_bank_filter_type_domain Many2one → res.partner
    comodel_name='res.partner' compute='_compute_partner_bank_filter_type_domain'
  • partner_bank_id Many2one
    compute='_compute_partner_bank_id' ondelete='restrict' readonly=False store=True
  • payment_mode_filter_type_domain Char
    compute='_compute_payment_mode_filter_type_domain'
  • payment_mode_id Many2one → account.payment.mode
    check_company=True comodel_name='account.payment.mode' compute='_compute_payment_mode_id' ondelete='restrict' readonly=False store=True tracking=True
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • partner_banks_to_show(self)

New fields (1)
  • payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' compute='_compute_payment_mode' index=True ondelete='restrict' readonly=False store=True
Public methods (1)
  • write(self, vals)
    Propagate up to the move the payment mode if applies.

New fields (4)
  • refund_payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' domain="[('payment_type', '!=', payment_type)]" help='This payment mode will be used when doing refunds coming from the current payment mode.' string='Payment mode for refunds'
  • show_bank_account Selection
    default='full' help='Show in invoices partial or full bank account number' selection=[('full', 'Full'), ('first', 'First n chars'), ('last', 'Last n chars'), ('no', 'No')]
  • show_bank_account_chars Integer
    string='# of digits for customer bank account'
  • show_bank_account_from_journal Boolean
    string='Bank account from journals'
Public methods (2)
  • account_invoice_company_constrains(self)
    @api.constrains('company_id')
  • account_move_line_company_constrains(self)
    @api.constrains('company_id')

New fields (1)
  • keep_partner_bank_without_payment_mode Boolean
    default=True help='When enabled, invoices without a payment mode will keep the bank account auto-selected by Odoo. When disabled, the bank account will be cleared if no payment mode is set.' string='Keep Bank Account Without Payment Mode'
Public methods (0)

No public methods.

New fields (1)
  • keep_partner_bank_without_payment_mode Boolean
    readonly=False related='company_id.keep_partner_bank_without_payment_mode'
Public methods (0)

No public methods.

New fields (2)
  • customer_payment_mode_id Many2one → account.payment.mode
    check_company=True comodel_name='account.payment.mode' company_dependent=True domain="[('payment_type', '=', 'inbound'),('company_id', '=', current_company_id)]" help='Select the default payment mode for this customer.'
  • supplier_payment_mode_id Many2one → account.payment.mode
    check_company=True comodel_name='account.payment.mode' company_dependent=True domain="[('payment_type', '=', 'outbound'),('company_id', '=', current_company_id)]" help='Select the default payment mode for this supplier.'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/bank-payment
GIT
GIThttps://github.com/OCA/bank-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment/tree/15.0/account_payment_partner
VERSION
VERSION 1.3.2
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSPedro M. Baeza, Enric Tobella, OCA Transbot, Miquel Raïch, Weblate, OCA-git-bot, Marçal Isern, oca-ci, David Ramia, Felipe, Danny W. Adair, josep-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/bank-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:42
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_mode
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
account_payment_mode_form account.payment.mode field Inherits account_payment_mode.account_payment_mode_form
report_invoice_payment_mode report_invoice_payment_mode ir.ui.view qweb Inherits account.report_invoice_document
view_account_invoice_filter account_payment_partner.account_invoice_search account.move filter Inherits account.view_account_invoice_filter
view_account_invoice_report_search account.invoice.report.search account.invoice.report field Inherits account.view_account_invoice_report_search
view_invoice_tree account_payment_partner.view_invoice_tree account.move field Inherits account.view_invoice_tree
view_move_form account_payment_partner.view_move_form account.move field Inherits account.view_move_form
view_move_line_form account_payment_partner.move_line_form account.move.line xpath Inherits account.view_move_line_form
view_move_line_tree account.move.line.tree - Add payment mode account.move.line field Inherits account.view_move_line_tree
view_partner_property_form account_partner_payment.partner_form res.partner field Inherits account.view_partner_property_form
Models touched (5)

New fields (1)
  • payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' readonly=True string='Payment mode'
Public methods (0)

No public methods.

New fields (6)
  • bank_account_required Boolean
    readonly=True related='payment_mode_id.payment_method_id.bank_account_required'
  • has_reconciled_items Boolean
    compute='_compute_has_reconciled_items' help='Technical field for supporting the editability of the payment mode'
  • partner_bank_filter_type_domain Many2one → res.partner
    comodel_name='res.partner' compute='_compute_partner_bank_filter_type_domain'
  • partner_bank_id Many2one
    compute='_compute_partner_bank_id' ondelete='restrict' readonly=False store=True
  • payment_mode_filter_type_domain Char
    compute='_compute_payment_mode_filter_type_domain'
  • payment_mode_id Many2one → account.payment.mode
    check_company=True comodel_name='account.payment.mode' compute='_compute_payment_mode_id' ondelete='restrict' readonly=False store=True tracking=True
Public methods (2)
  • create(self, vals)
    @api.model
  • partner_banks_to_show(self)

New fields (1)
  • payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' compute='_compute_payment_mode' index=True ondelete='restrict' readonly=False store=True
Public methods (1)
  • write(self, vals)
    Propagate up to the move the payment mode if applies.

New fields (4)
  • refund_payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' domain="[('payment_type', '!=', payment_type)]" help='This payment mode will be used when doing refunds coming from the current payment mode.' string='Payment mode for refunds'
  • show_bank_account Selection
    default='full' help='Show in invoices partial or full bank account number' selection=[('full', 'Full'), ('first', 'First n chars'), ('last', 'Last n chars'), ('no', 'No')]
  • show_bank_account_chars Integer
    string='# of digits for customer bank account'
  • show_bank_account_from_journal Boolean
    string='Bank account from journals'
Public methods (2)
  • account_invoice_company_constrains(self)
    @api.constrains('company_id')
  • account_move_line_company_constrains(self)
    @api.constrains('company_id')

New fields (2)
  • customer_payment_mode_id Many2one → account.payment.mode
    check_company=True comodel_name='account.payment.mode' company_dependent=True domain="[('payment_type', '=', 'inbound'),('company_id', '=', current_company_id)]" help='Select the default payment mode for this customer.'
  • supplier_payment_mode_id Many2one → account.payment.mode
    check_company=True comodel_name='account.payment.mode' company_dependent=True domain="[('payment_type', '=', 'outbound'),('company_id', '=', current_company_id)]" help='Select the default payment mode for this supplier.'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/bank-payment
GIT
GIThttps://github.com/OCA/bank-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment/tree/14.0/account_payment_partner
VERSION
VERSION 1.7.2
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Pedro M. Baeza, Jairo Llopis, Enric Tobella, OCA Transbot, Miquel Raïch, Víctor Martínez, JordiMForgeFlow, João Marques, oca-travis, Weblate, OCA-git-bot, Marçal Isern, oca-ci, Hai Lang, Felipe, Danny W. Adair
WEBSITE
WEBSITEhttps://github.com/OCA/bank-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_mode
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
account_payment_mode_form account.payment.mode field Inherits account_payment_mode.account_payment_mode_form
report_invoice_payment_mode report_invoice_payment_mode ir.ui.view qweb Inherits account.report_invoice_document
view_account_invoice_filter account_payment_partner.account_invoice_search account.move filter Inherits account.view_account_invoice_filter
view_account_invoice_report_search account.invoice.report.search account.invoice.report field Inherits account.view_account_invoice_report_search
view_invoice_tree account_payment_partner.view_invoice_tree account.move field Inherits account.view_invoice_tree
view_move_form account_payment_partner.view_move_form account.move field Inherits account.view_move_form
view_move_line_form account_payment_partner.move_line_form account.move.line xpath Inherits account.view_move_line_form
view_move_line_tree account.move.line.tree - Add payment mode account.move.line field Inherits account.view_move_line_tree
view_partner_property_form account_partner_payment.partner_form res.partner field Inherits account.view_partner_property_form
Models touched (5)

New fields (1)
  • payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' readonly=True string='Payment mode'
Public methods (0)

No public methods.

New fields (6)
  • bank_account_required Boolean
    readonly=True related='payment_mode_id.payment_method_id.bank_account_required'
  • has_reconciled_items Boolean
    compute='_compute_has_reconciled_items' help='Technical field for supporting the editability of the payment mode'
  • partner_bank_filter_type_domain Many2one → res.partner
    comodel_name='res.partner' compute='_compute_partner_bank_filter_type_domain'
  • partner_bank_id Many2one
    compute='_compute_partner_bank' ondelete='restrict' readonly=False store=True
  • payment_mode_filter_type_domain Char
    compute='_compute_payment_mode_filter_type_domain'
  • payment_mode_id Many2one → account.payment.mode
    check_company=True comodel_name='account.payment.mode' compute='_compute_payment_mode' ondelete='restrict' readonly=False store=True tracking=True
Public methods (2)
  • create(self, vals)
    @api.model
    Force compute partner_bank_id when invoice is created from SO to avoid that odoo _prepare_invoice method value will be set.
  • partner_banks_to_show(self)

New fields (1)
  • payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' compute='_compute_payment_mode' index=True ondelete='restrict' readonly=False store=True
Public methods (1)
  • write(self, vals)
    Propagate up to the move the payment mode if applies.

New fields (4)
  • refund_payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' domain="[('payment_type', '!=', payment_type)]" help='This payment mode will be used when doing refunds coming from the current payment mode.' string='Payment mode for refunds'
  • show_bank_account Selection
    default='full' help='Show in invoices partial or full bank account number' selection=[('full', 'Full'), ('first', 'First n chars'), ('last', 'Last n chars'), ('no', 'No')] string='Show bank account'
  • show_bank_account_chars Integer
    string='# of digits for customer bank account'
  • show_bank_account_from_journal Boolean
    string='Bank account from journals'
Public methods (2)
  • account_invoice_company_constrains(self)
    @api.constrains('company_id')
  • account_move_line_company_constrains(self)
    @api.constrains('company_id')

New fields (2)
  • customer_payment_mode_id Many2one → account.payment.mode
    check_company=True comodel_name='account.payment.mode' company_dependent=True domain="[('payment_type', '=', 'inbound'),('company_id', '=', current_company_id)]" help='Select the default payment mode for this customer.'
  • supplier_payment_mode_id Many2one → account.payment.mode
    check_company=True comodel_name='account.payment.mode' company_dependent=True domain="[('payment_type', '=', 'outbound'),('company_id', '=', current_company_id)]" help='Select the default payment mode for this supplier.'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/bank-payment
GIT
GIThttps://github.com/OCA/bank-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment/tree/13.0/account_payment_partner
VERSION
VERSION 1.5.0
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSPedro M. Baeza, GitHub, mreficent, Carlos Dauden, Enric Tobella, OCA Transbot, Miquel Raïch, Víctor Martínez, JordiMForgeFlow, João Marques, oca-travis, Weblate, OCA-git-bot, Raf Ven, oca-ci, CarlosRoca13
WEBSITE
WEBSITEhttps://github.com/OCA/bank-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_mode
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
account_payment_mode_form account.payment.mode field Inherits account_payment_mode.account_payment_mode_form
report_invoice_payment_mode report_invoice_payment_mode ir.ui.view qweb Inherits account.report_invoice_document
view_account_invoice_filter account_payment_partner.account_invoice_search account.move filter Inherits account.view_account_invoice_filter
view_account_invoice_report_search account.invoice.report.search account.invoice.report field Inherits account.view_account_invoice_report_search
view_invoice_tree account_payment_partner.view_invoice_tree account.move field Inherits account.view_invoice_tree
view_move_form account_payment_partner.view_move_form account.move xpath Inherits account.view_move_form
view_move_line_form account_payment_partner.move_line_form account.move.line xpath Inherits account.view_move_line_form
view_move_line_tree account.move.line.tree - Add payment mode account.move.line field Inherits account.view_move_line_tree
view_partner_property_form account_partner_payment.partner_form res.partner field Inherits account.view_partner_property_form
Models touched (5)

New fields (1)
  • payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' readonly=True string='Payment mode'
Public methods (0)

No public methods.

New fields (6)
  • bank_account_required Boolean
    readonly=True related='payment_mode_id.payment_method_id.bank_account_required'
  • has_reconciled_items Boolean
    compute='_compute_has_reconciled_items' help='Technical field for supporting the editability of the payment mode'
  • invoice_partner_bank_id Many2one
    compute='_compute_invoice_partner_bank' ondelete='restrict' readonly=False store=True
  • partner_bank_filter_type_domain Many2one → res.partner
    comodel_name='res.partner' compute='_compute_partner_bank_filter_type_domain'
  • payment_mode_filter_type_domain Char
    compute='_compute_payment_mode_filter_type_domain'
  • payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' compute='_compute_payment_mode' ondelete='restrict' readonly=False store=True tracking=True
Public methods (2)
  • create(self, vals)
    @api.model
    Force compute invoice_partner_bank_id when invoice is created from SO to avoid that odoo _prepare_invoice method value will be set
  • partner_banks_to_show(self)

New fields (1)
  • payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' compute='_compute_payment_mode' index=True ondelete='restrict' readonly=False store=True
Public methods (1)
  • write(self, vals)
    Propagate up to the move the payment mode if applies.

New fields (4)
  • refund_payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' domain="[('payment_type', '!=', payment_type)]" help='This payment mode will be used when doing refunds coming from the current payment mode.' string='Payment mode for refunds'
  • show_bank_account Selection
    default='full' help='Show in invoices partial or full bank account number' selection=[('full', 'Full'), ('first', 'First n chars'), ('last', 'Last n chars'), ('no', 'No')] string='Show bank account'
  • show_bank_account_chars Integer
    string='# of digits for customer bank account'
  • show_bank_account_from_journal Boolean
    string='Bank account from journals'
Public methods (2)
  • account_invoice_company_constrains(self)
    @api.constrains('company_id')
  • account_move_line_company_constrains(self)
    @api.constrains('company_id')

New fields (2)
  • customer_payment_mode_id Many2one → account.payment.mode
    check_company=True comodel_name='account.payment.mode' company_dependent=True domain="[('payment_type', '=', 'inbound')]" help='Select the default payment mode for this customer.'
  • supplier_payment_mode_id Many2one → account.payment.mode
    check_company=True comodel_name='account.payment.mode' company_dependent=True domain="[('payment_type', '=', 'outbound')]" help='Select the default payment mode for this supplier.'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/bank-payment
GIT
GIThttps://github.com/OCA/bank-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment/tree/12.0/account_payment_partner
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSGuewen Baconnier, Stefan Rijnhart, Holger Brunn, Pedro M. Baeza, Luis Felipe Mileo, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Raf Ven
WEBSITE
WEBSITEhttps://github.com/OCA/bank-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_mode
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
account_payment_mode_form account.payment.mode group Inherits account_payment_mode.account_payment_mode_form
invoice_form account_payment_partner.invoice_form account.invoice field Inherits account.invoice_form
invoice_supplier_form account_payment_partner.invoice_supplier_form account.invoice field Inherits account.invoice_supplier_form
invoice_supplier_tree account_payment_partner.supplier_invoice_tree account.invoice field Inherits account.invoice_supplier_tree
invoice_tree account_payment_partner.customer_invoice_tree account.invoice field Inherits account.invoice_tree
report_invoice_payment_mode report_invoice_payment_mode ir.ui.view qweb Inherits account.report_invoice_document
view_account_invoice_filter account_payment_partner.account_invoice_search account.invoice filter Inherits account.view_account_invoice_filter
view_move_line_form account_payment_partner.move_line_form account.move.line xpath Inherits account.view_move_line_form
view_partner_property_form account_partner_payment.partner_form res.partner field Inherits account.view_partner_property_form
Models touched (4)

New fields (3)
  • bank_account_required Boolean
    readonly=True related='payment_mode_id.payment_method_id.bank_account_required'
  • partner_bank_id Many2one
    ondelete='restrict'
  • payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' ondelete='restrict' readonly=True states={'draft': [('readonly', False)]} string='Payment Mode'
Public methods (4)
  • create(self, vals)
    @api.model
    Fill the payment_mode_id from the partner if none is provided on creation, using same method as upstream.
  • line_get_convert(self, line, part)
    @api.model
    Copy payment mode from invoice to account move line
  • partner_banks_to_show(self)
  • validate_partner_bank_id(self)
    @api.constrains('partner_id', 'partner_bank_id')
    Inhibit the validation of the bank account by default, as core rules are not the expected one for the bank-payment suite.

New fields (1)
  • payment_mode_id Many2one → account.payment.mode
    domain="[('company_id', '=', company_id)]" index=True ondelete='restrict' string='Payment Mode' args: 'account.payment.mode'
Public methods (0)

No public methods.

New fields (3)
  • show_bank_account Selection
    default='full' help='Show in invoices partial or full bank account number' selection=[('full', 'Full'), ('first', 'First n chars'), ('last', 'Last n chars'), ('no', 'No')] string='Show bank account'
  • show_bank_account_chars Integer
    string='# of digits for customer bank account'
  • show_bank_account_from_journal Boolean
    string='Bank account from journals'
Public methods (2)
  • account_invoice_company_constrains(self)
    @api.constrains('company_id')
  • account_move_line_company_constrains(self)
    @api.constrains('company_id')

New fields (2)
  • customer_payment_mode_id Many2one → account.payment.mode
    company_dependent=True domain="[('payment_type', '=', 'inbound')]" help='Select the default payment mode for this customer.' string='Customer Payment Mode' args: 'account.payment.mode'
  • supplier_payment_mode_id Many2one → account.payment.mode
    company_dependent=True domain="[('payment_type', '=', 'outbound')]" help='Select the default payment mode for this supplier.' string='Supplier Payment Mode' args: 'account.payment.mode'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/bank-payment
GIT
GIThttps://github.com/OCA/bank-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment/tree/11.0/account_payment_partner
VERSION
VERSION 1.4.0
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSGuewen Baconnier, Pedro M. Baeza, GitHub, Andrea, Enric Tobella, OCA Transbot, vrenaville, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/bank-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_mode
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
account_payment_mode_form account.payment.mode group Inherits account_payment_mode.account_payment_mode_form
invoice_form account_payment_partner.invoice_form account.invoice field Inherits account.invoice_form
invoice_supplier_form account_payment_partner.invoice_supplier_form account.invoice field Inherits account.invoice_supplier_form
invoice_supplier_tree account_payment_partner.supplier_invoice_tree account.invoice field Inherits account.invoice_supplier_tree
invoice_tree account_payment_partner.customer_invoice_tree account.invoice field Inherits account.invoice_tree
report_invoice_payment_mode report_invoice_payment_mode ir.ui.view qweb Inherits account.report_invoice_document
view_account_invoice_filter account_payment_partner.account_invoice_search account.invoice filter Inherits account.view_account_invoice_filter
view_move_line_form account_payment_partner.move_line_form account.move.line group Inherits account.view_move_line_form
view_partner_property_form account_partner_payment.partner_form res.partner field Inherits account.view_partner_property_form
Models touched (4)

New fields (3)
  • bank_account_required Boolean
    readonly=True related='payment_mode_id.payment_method_id.bank_account_required'
  • partner_bank_id Many2one
    ondelete='restrict'
  • payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' ondelete='restrict' readonly=True states={'draft': [('readonly', False)]} string='Payment Mode'
Public methods (3)
  • create(self, vals)
    @api.model
    Fill the payment_mode_id from the partner if none is provided on creation, using same method as upstream.
  • line_get_convert(self, line, part)
    @api.model
    Copy payment mode from invoice to account move line
  • partner_banks_to_show(self)

New fields (1)
  • payment_mode_id Many2one → account.payment.mode
    domain="[('company_id', '=', company_id)]" index=True ondelete='restrict' string='Payment Mode' args: 'account.payment.mode'
Public methods (0)

No public methods.

New fields (3)
  • show_bank_account Selection
    default='full' help='Show in invoices partial or full bank account number' selection=[('full', 'Full'), ('first', 'First n chars'), ('last', 'Last n chars'), ('no', 'No')] string='Show bank account'
  • show_bank_account_chars Integer
    string='# of digits for customer bank account'
  • show_bank_account_from_journal Boolean
    string='Bank account from journals'
Public methods (2)
  • account_invoice_company_constrains(self)
    @api.constrains('company_id')
  • account_move_line_company_constrains(self)
    @api.constrains('company_id')

New fields (2)
  • customer_payment_mode_id Many2one → account.payment.mode
    company_dependent=True domain="[('payment_type', '=', 'inbound')]" help='Select the default payment mode for this customer.' string='Customer Payment Mode' args: 'account.payment.mode'
  • supplier_payment_mode_id Many2one → account.payment.mode
    company_dependent=True domain="[('payment_type', '=', 'outbound')]" help='Select the default payment mode for this supplier.' string='Supplier Payment Mode' args: 'account.payment.mode'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/bank-payment
GIT
GIThttps://github.com/OCA/bank-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment/tree/10.0/account_payment_partner
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSGuewen Baconnier, Pedro M. Baeza, GitHub, OCA Transbot, Thierry Ducrest, Adrien Peiffer (ACSONE), oca-travis, OCA-git-bot, François Honoré
WEBSITE
WEBSITEhttps://github.com/OCA/bank-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_mode
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
account_payment_mode_form account.payment.mode group Inherits account_payment_mode.account_payment_mode_form
invoice_form account_payment_partner.invoice_form account.invoice field Inherits account.invoice_form
invoice_supplier_form account_payment_partner.invoice_supplier_form account.invoice field Inherits account.invoice_supplier_form
invoice_supplier_tree account_payment_partner.supplier_invoice_tree account.invoice field Inherits account.invoice_supplier_tree
invoice_tree account_payment_partner.customer_invoice_tree account.invoice field Inherits account.invoice_tree
report_invoice_payment_mode report_invoice_payment_mode ir.ui.view qweb Inherits account.report_invoice_document
view_account_invoice_filter account_payment_partner.account_invoice_search account.invoice filter Inherits account.view_account_invoice_filter
view_move_line_form account_payment_partner.move_line_form account.move.line group Inherits account.view_move_line_form
view_partner_property_form account_partner_payment.partner_form res.partner field Inherits account.view_partner_property_form
Models touched (4)

New fields (3)
  • bank_account_required Boolean
    readonly=True related='payment_mode_id.payment_method_id.bank_account_required'
  • partner_bank_id Many2one
    ondelete='restrict'
  • payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' ondelete='restrict' readonly=True states={'draft': [('readonly', False)]} string='Payment Mode'
Public methods (4)
  • create(self, vals)
    @api.model
    Fill the payment_mode_id from the partner if none is provided on creation, using same method as upstream.
  • line_get_convert(self, line, part)
    @api.model
    Copy payment mode from invoice to account move line
  • partner_banks_to_show(self)
  • payment_mode_id_change(self)
    @api.onchange('payment_mode_id')

New fields (1)
  • payment_mode_id Many2one → account.payment.mode
    index=True ondelete='restrict' string='Payment Mode' args: 'account.payment.mode'
Public methods (0)

No public methods.

New fields (3)
  • show_bank_account Selection
    default='full' help='Show in invoices partial or full bank account number' selection=[('full', 'Full'), ('first', 'First n chars'), ('last', 'Last n chars'), ('no', 'No')] string='Show bank account'
  • show_bank_account_chars Integer
    string='# of digits for customer bank account'
  • show_bank_account_from_journal Boolean
    string='Bank account from journals'
Public methods (0)

No public methods.

New fields (2)
  • customer_payment_mode_id Many2one → account.payment.mode
    company_dependent=True domain=[('payment_type', '=', 'inbound')] help='Select the default payment mode for this customer.' string='Customer Payment Mode' args: 'account.payment.mode'
  • supplier_payment_mode_id Many2one → account.payment.mode
    company_dependent=True domain=[('payment_type', '=', 'outbound')] help='Select the default payment mode for this supplier.' string='Supplier Payment Mode' args: 'account.payment.mode'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/bank-payment
GIT
GIThttps://github.com/OCA/bank-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment/tree/9.0/account_payment_partner
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Pedro M. Baeza, GitHub, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Sergio Teruel Albert
WEBSITE
WEBSITEhttps://github.com/OCA/bank-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_mode
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
account_payment_mode_form account.payment.mode group Inherits account_payment_mode.account_payment_mode_form
invoice_form account_payment_partner.invoice_form account.invoice field Inherits account.invoice_form
invoice_supplier_form account_payment_partner.invoice_supplier_form account.invoice field Inherits account.invoice_supplier_form
invoice_supplier_tree account_payment_partner.supplier_invoice_tree account.invoice field Inherits account.invoice_supplier_tree
invoice_tree account_payment_partner.customer_invoice_tree account.invoice field Inherits account.invoice_tree
report_invoice_payment_mode report_invoice_payment_mode ir.ui.view qweb Inherits account.report_invoice_document
view_account_invoice_filter account_payment_partner.account_invoice_search account.invoice filter Inherits account.view_account_invoice_filter
view_move_line_form account_payment_partner.move_line_form account.move.line group Inherits account.view_move_line_form
view_partner_property_form account_partner_payment.partner_form res.partner field Inherits account.view_partner_property_form
Models touched (4)

New fields (3)
  • bank_account_required Boolean
    readonly=True related='payment_mode_id.payment_method_id.bank_account_required'
  • partner_bank_id Many2one
    ondelete='restrict'
  • payment_mode_id Many2one → account.payment.mode
    comodel_name='account.payment.mode' ondelete='restrict' readonly=True states={'draft': [('readonly', False)]} string='Payment Mode'
Public methods (3)
  • create(self, vals)
    @api.model
    Fill the payment_mode_id from the partner if none is provided on creation, using same method as upstream.
  • line_get_convert(self, line, part)
    @api.model
    Copy payment mode from invoice to account move line
  • payment_mode_id_change(self)
    @api.onchange('payment_mode_id')

New fields (1)
  • payment_mode_id Many2one → account.payment.mode
    ondelete='restrict' string='Payment Mode' args: 'account.payment.mode'
Public methods (0)

No public methods.

New fields (1)
  • bank_invoice_report Boolean
    default=True help='Uncheck this option to hide bank account in invoice report' string='Print Bank Account'
Public methods (0)

No public methods.

New fields (2)
  • customer_payment_mode_id Many2one → account.payment.mode
    company_dependent=True domain=[('payment_type', '=', 'inbound')] help='Select the default payment mode for this customer.' string='Customer Payment Mode' args: 'account.payment.mode'
  • supplier_payment_mode_id Many2one → account.payment.mode
    company_dependent=True domain=[('payment_type', '=', 'outbound')] help='Select the default payment mode for this supplier.' string='Supplier Payment Mode' args: 'account.payment.mode'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/bank-payment
GIT
GIThttps://github.com/OCA/bank-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment/tree/8.0/account_payment_partner
VERSION
VERSION 0.2.0
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Serv. Tecnol. Avanzados - Pedro M. Baeza
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Serv. Tecnol. Avanzados - Pedro M. Baeza
COMMITTERS
COMMITTERSStéphane Bidoul, Alexis de Lattre, Yannick Vaucher, Alexandre Fayolle, Holger Brunn, Pedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, Danimar Ribeiro, Stefan Rijnhart (Therp), oca-travis, Roberto Lizana, AngelMoya-Domatix, Philippe Schmidt
WEBSITE
WEBSITEhttps://github.com/OCA/bank-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_banking_payment_export
odoo/odoo:
    - account_payment
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
    - account_voucher
    - base_iban
    - document
    - knowledge
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
invoice_filter account_payment_partner.invoice_filter account.invoice filter Inherits account.view_account_invoice_filter
invoice_form account_payment_partner.invoice_form account.invoice field Inherits account.invoice_form
invoice_supplier_form account_payment_partner.invoice_supplier_form account.invoice field Inherits account.invoice_supplier_form
report_invoice_payment_mode report_invoice_payment_mode ir.ui.view qweb Inherits account.report_invoice_document
view_create_payment_order account_payment_partner.payment.order.create.form payment.order.create field Inherits account_banking_payment_export.view_create_payment_order
view_partner_property_form account_partner_payment.partner_form res.partner field Inherits account.view_partner_property_form
view_payment_mode_form account_payment_partner.payment.mode.form payment.mode group Inherits account_banking_payment_export.view_payment_mode_form_inherit
Models touched (4)

New fields (1)
  • payment_mode_id Many2one → payment.mode
    comodel_name='payment.mode' domain="[('type', '=', type)]" string='Payment Mode'
Public methods (1)
  • onchange_partner_id(self, type, partner_id, date_invoice=False, payment_term=False, partner_bank_id=False, company_id=False)
    @api.multi

New fields (1)
  • default_payment_mode Selection
    default='same' string='Payment Mode on Invoice' args: [('same', 'Same'), ('same_or_null', 'Same or empty'), ('any', 'Any')]
Public methods (0)

No public methods.

New fields (1)
  • payment_mode Selection
    string='Payment Mode on Invoice' args: [('same', 'Same'), ('same_or_null', 'Same or empty'), ('any', 'Any')]
Public methods (2)
  • default_get(self, field_list)
    @api.model
  • extend_payment_order_domain(self, payment_order, domain)
    @api.multi

New fields (2)
  • customer_payment_mode Many2one → payment.mode
    company_dependent=True domain="[('sale_ok', '=', True)]" help='Select the default payment mode for this customer.' string='Customer Payment Mode' args: 'payment.mode'
  • supplier_payment_mode Many2one → payment.mode
    company_dependent=True domain="[('purchase_ok', '=', True)]" help='Select the default payment mode for this supplier.' string='Supplier Payment Mode' args: 'payment.mode'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/bank-payment
GIT
GIThttps://github.com/OCA/bank-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment/tree/7.0/account_payment_partner
VERSION
VERSION 0.1
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Yannick Vaucher, Alexandre Fayolle, Raphaël Valyi, Holger Brunn, Pedro M. Baeza, Launchpad Translations on behalf of banking-addons-team, OCA Transbot, fernandomr
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_banking_payment_export
odoo/odoo:
    - account_payment
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
    - account_voucher
    - base_iban
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Account Payment Partner
=======================

This module adds severals fields :

* the *Supplier Payment Mode* and *Customer Payment Mode* on Partners,

* the *Payment Mode* on Invoices.

On a Payment Order, in the wizard *Select Invoices to Pay*, the invoices will
be filtered per Payment Mode.

Please contact Alexis de Lattre from Akretion <alexis.delattre@akretion.com>
for any help or question about this module.
    

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
invoice_form account_payment_partner.invoice_form account.invoice field Inherits account.invoice_form
invoice_supplier_form account_payment_partner.invoice_supplier_form account.invoice field Inherits account.invoice_supplier_form
view_partner_property_form account_partner_payment.partner_form res.partner field Inherits account.view_partner_property_form
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • onchange_partner_id(self, cr, uid, ids, type, partner_id, date_invoice=False, payment_term=False, partner_bank_id=False, company_id=False)

New fields (0)

No new fields.

Public methods (1)
  • extend_payment_order_domain(self, cr, uid, payment_order, domain, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.