Metadata-Version: 2.1
Name: odoo-addon-account_payment_method_base_mode
Version: 18.0.1.0.0.3
Requires-Python: >=3.10
Requires-Dist: odoo-addon-account_payment_method_base==18.0.*
Requires-Dist: odoo-addon-account_payment_mode==18.0.*
Requires-Dist: odoo==18.0.*
Summary: Glue module for base views
Home-page: https://github.com/OCA/bank-payment
License: AGPL-3
Author: Therp BV, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

===============================================
Account Payment Method Base + Payment Mode Glue
===============================================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:320fd6cd728a65116f91a65b225698f75ed46c704c1eb507719defb4cb077472
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github
    :target: https://github.com/OCA/bank-payment/tree/18.0/account_payment_method_base_mode
    :alt: OCA/bank-payment
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/bank-payment-18-0/bank-payment-18-0-account_payment_method_base_mode
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/bank-payment&target_branch=18.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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:

- form view
- list view
- search view
- menu entry

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:

- ``account_payment_mode.account_payment_method_form``
- ``account_payment_mode.account_payment_method_tree``
- ``account_payment_mode.account_payment_method_search``

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

**Table of contents**

.. contents::
   :local:

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 <https://github.com/OCA/bank-payment/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 <https://github.com/OCA/bank-payment/issues/new?body=module:%20account_payment_method_base_mode%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Therp BV

Contributors
------------

- Nikos Tsirintanis ntsirintanis@therp.nl (Therp BV)

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

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 <https://github.com/OCA/bank-payment/tree/18.0/account_payment_method_base_mode>`_ project on GitHub.

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