Odoo Community Association

Account Payment Method Base + Payment Mode Glue

Beta License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

This module is a glue module between account_payment_method_base and account_payment_mode.

In Odoo 18 the module account_payment_method_base introduces the canonical user interface for the model account.payment.method, including:

However account_payment_mode historically defined its own base views for the same model.

This results in two competing base view definitions.

This module rewires the views from account_payment_mode so they inherit from the views provided by account_payment_method_base.

This preserves compatibility with existing modules that inherit:

while ensuring that account_payment_method_base remains the canonical provider of the payment method UI.

Table of contents

Configuration

No configuration is required.

The module automatically rewires the view inheritance between account_payment_method_base and account_payment_mode.

Usage

After installing the module, the views defined in account_payment_mode will inherit from the base views provided by account_payment_method_base.

No functional changes are introduced.

The module only ensures a consistent view inheritance chain between the two addons and keeps compatibility with downstream modules that inherit the original view XML IDs from account_payment_mode.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Therp BV

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/bank-payment project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.