-
- Downloads
[FIX] payment_ingenico: fix payment_token creation
Now, we can again creates ingenico token on production environment. Commit https://github.com/odoo/odoo/commit/f0e059e6#diff-0c487d0R558 replaced aquirer.id by self.acquire_id.id. It is wrong since env['payment.token'].create() will call the function with self == payment.token(). self.acquirer_id == False --> self.acquirer_id.state != 'enabled' --> request done in test mode each time. closes odoo/odoo#44126 X-original-commit: 68028b90 Signed-off-by:Jérémy Kersten (jke) <jke@openerp.com>
Loading
Please register or sign in to comment