[IMP] developer/reference/payment: add docstrings for payment_method

task-2882677

closes odoo/documentation#5717

Related: odoo/upgrade#5103
Related: odoo/odoo#120446
Related: odoo/enterprise#40666
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
Antoine Vandevenne (anv) 2023-09-04 13:43:56 +02:00
parent 78a4b3015c
commit 13feb8018d
2 changed files with 11 additions and 0 deletions

View File

@ -7,6 +7,7 @@ Payment
.. toctree::
:titlesonly:
payment/payment_method
payment/payment_provider
payment/payment_token
payment/payment_transaction

View File

@ -0,0 +1,10 @@
:hide-page-toc:
==============
Payment Method
==============
.. autoclass:: odoo.addons.payment.models.payment_method.PaymentMethod()
.. automethod:: _get_compatible_payment_methods
.. automethod:: _get_from_code