[FIX] payment_paypal: SUPERUSER_ID removed by inadvertence in 1826f6d4ec
This commit is contained in:
parent
1826f6d4ec
commit
b0b9153cf7
|
@ -54,7 +54,7 @@ class PaypalController(http.Controller):
|
|||
resp = uopen.read()
|
||||
if resp == 'VERIFIED':
|
||||
_logger.info('Paypal: validated data')
|
||||
res = request.registry['payment.transaction'].form_feedback(cr, uid, post, 'paypal', context=context)
|
||||
res = request.registry['payment.transaction'].form_feedback(cr, SUPERUSER_ID, post, 'paypal', context=context)
|
||||
elif resp == 'INVALID':
|
||||
_logger.warning('Paypal: answered INVALID on data verification')
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue