[FIX] pos_restaurant_adyen: fix typo in method name

The function `get_adyen_endpoints` was renamed to `_get_adyen_endpoints`
It was a typo in the method name, so it was not called and a traceback
was raised.

closes odoo/odoo#130591

X-original-commit: 0c3e1abdeb66805b79e07218c5d5dde89baeb25d
Signed-off-by: Robin Heinz (rhe) <rhe@odoo.com>
Signed-off-by: David Monnom (moda) <moda@odoo.com>
This commit is contained in:
David Monnom (moda)
2023-08-03 12:11:46 +02:00
parent 358cb0417d
commit 26c9d5ec73
@@ -11,7 +11,7 @@ class PosPaymentMethod(models.Model):
def _get_adyen_endpoints(self):
return {
**super(PosPaymentMethod, self).get_adyen_endpoints(),
**super(PosPaymentMethod, self)._get_adyen_endpoints(),
'adjust': 'https://pal-%s.adyen.com/pal/servlet/Payment/v52/adjustAuthorisation',
'capture': 'https://pal-%s.adyen.com/pal/servlet/Payment/v52/capture',
}