mollie-odoo icon indicating copy to clipboard operation
mollie-odoo copied to clipboard

fees returns a dict when a float is required

Open baptisteghesquiere opened this issue 2 years ago • 1 comments

The function mollie_compute_fees returns a dict when if request and request.params.get('paymentmethod'): is false. ( line 52 in payment_acquirer.py )

Down the line odoo uses the return of this function to calculate and it expects a float. When the dict is returned, the website breaks.

Please default to a float when the if statement fails.

baptisteghesquiere avatar Jul 12 '22 06:07 baptisteghesquiere

Hello,

Can you provide the steps/video how this error is generated? And is it for v14 version ?

odoo-mvds avatar Nov 09 '22 09:11 odoo-mvds