[FIX] payment_adyen: _get_adyen_urls
in python, if-else has a lower priority(operator precedence) than % opw:642886
This commit is contained in:
parent
cfca8bda8e
commit
9ef5e40278
|
@ -27,7 +27,7 @@ class AcquirerAdyen(osv.Model):
|
|||
- yhpp: hosted payment page: pay.shtml for single, select.shtml for multiple
|
||||
"""
|
||||
return {
|
||||
'adyen_form_url': 'https://%s.adyen.com/hpp/pay.shtml' % 'live' if environment == 'prod' else environment,
|
||||
'adyen_form_url': 'https://%s.adyen.com/hpp/pay.shtml' % ('live' if environment == 'prod' else environment),
|
||||
}
|
||||
|
||||
def _get_providers(self, cr, uid, context=None):
|
||||
|
|
Loading…
Reference in New Issue