[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:
@@ -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',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user