-
- Downloads
[FIX] payment: Wrong extra fees with payment acquier
Steps to reproduce the bug: - Install Sales - Configure Paypal payment acquier - Add extra fees such as 10€ of domestic fee - Create a customer C with an email E and with no country - Create a quotation Q of 100€ for C and send it by email to C - Go in the email box of E and click on the link - Click on 'Sign and Pay' button - Sign Q and click on 'Pay' - Choose Paypal as payment acquier - Process the payment with Paypal Bug: An error log was displayed saying: Paypal incorrect data: mc_gross received 100 instead of 110 PS: the domestic fee was not counted because the partner_country_id was not set in function render defined in model payment.acquirer Inspired from function create defined in model payment.transaction (addons/payment/models/payment_acquirer.py +961) where the domestic fee is counted. opw:2167104 closes odoo/odoo#43258 X-original-commit: 581020c7 Signed-off-by:Simon Goffin (sig) <sig@openerp.com>
Loading
Please register or sign in to comment