Skip to content

Commit 6d42540

Browse files
author
Kevin Baptiste
committed
[IMP] adyen_platforms: replace web.base.url by get_base_url
Use the helper method introduced in odoo#68201 instead of the `web.base.url` ICP. closes odoo#71644 Signed-off-by: Kevin Baptiste <kba@odoo.com>
1 parent 0b2315c commit 6d42540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/adyen_platforms/models/adyen_account.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def _adyen_rpc(self, operation, adyen_data=None):
370370
url = self.env['ir.config_parameter'].sudo().get_param('adyen_platforms.onboarding_url')
371371
params = {
372372
'creation_token': request.session.get('adyen_creation_token'),
373-
'base_url': self.env['ir.config_parameter'].sudo().get_param('web.base.url'),
373+
'base_url': self.get_base_url(),
374374
'adyen_data': adyen_data,
375375
}
376376
auth = None

0 commit comments

Comments
 (0)