summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authortbe-odoo <tbe@odoo.com>2017-10-16 12:23:56 +0200
committerNicolas Martinelli <nim@odoo.com>2017-10-27 11:45:25 +0200
commit7c639be4aadce20bf6662ab347470fadf9afd99f (patch)
treeeb90c2c4f21f035af7d955032f1c23b8161fdb26 /addons/web/static/src/js/views/basic/basic_model.js
parent9b4688b0434c9700f00287d8af60c40b1ce91d74 (diff)
[FIX] payment_stripe: fix stripe payment form
- Before this patch, stripe doesn't get displayed. It was a bug related to the fact that stripe doesn't respect how the generic payment form works. So to make it work, we were relying on small hacks that got broke by changes on the payment form. To fix the bug we are no longer adding an event to the pay button of the payment form, instead we listen all the changes made to the DOM and detect if a form with an attribute 'provider' set to 'stripe' is added. If so, we open up the Stripe payment form. - Fix ACL issue when trying to pay with Stripe on eCommerce without being logged. Closes #20202 opw-776200
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions