[FIX] payment_paypal: SUPERUSER_ID removed by inadvertence in 1826f6d4ec

This commit is contained in:
Denis Ledoux 2014-08-07 11:54:30 +02:00
parent 1826f6d4ec
commit b0b9153cf7
1 changed files with 1 additions and 1 deletions

View File

@ -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: