summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_renderer.js
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2020-01-13 10:16:08 +0000
committerGoffin Simon <sig@odoo.com>2020-01-14 10:41:09 +0000
commit0d8836f7e1134481717732514d23282827986564 (patch)
treecbb217b1a2ffa53c8ecc3cbdb67cc2627c8c0797 /addons/web/static/src/js/views/basic/basic_renderer.js
parentc76c1dd30c3dac5409167b0f7a2bac32c6040e3d (diff)
[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#43265 X-original-commit: 581020c733044b52cacd0d41a6a8eb8708671d0d Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions