Payment Method¶
- class odoo.addons.payment.models.payment_method.PaymentMethod[source]¶
- _deduplicate_by_code(report=None)[source]¶
Sort and deduplicate payment methods by code, keeping the best-ranked match.
The payment methods are first sorted by display order (see
_sort_by_display_order), then all but the first occurrence of each code are dropped.- Parameters
report (dict) – The report into which availability statuses are to be logged
- Returns
The deduplicated payment methods
- Return type
payment.method