Compare commits

...

1 Commits

Author SHA1 Message Date
Antoine Vandevenne (anv)
a911d743ab [IMP] developer/reference/payment: add docstrings for payment_method
task-2882677
2023-09-22 09:43:38 +02:00
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