summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorToufik Benjaa <tbe@odoo.com>2018-04-18 15:58:32 +0200
committerToufik Benjaa <tbe@odoo.com>2018-04-18 16:49:53 +0200
commit0e49ccc4196b5302fbd15d0b11026afb489ce10f (patch)
treebfd28c10a0a6f4a524ff47fe83dff84f5fbd79e3 /addons/web/static/src/js/fields/basic_fields.js
parent8550cf28e882cdb39c95a8a530f86ec1d86db468 (diff)
[FIX] payment: Save payment token only if user is connected
- Fix an issue where the transaction were always set a 'form_save' thus always creating payment tokens. - Fix an issue where when the customer paying while not being logged in was crashing. The issue is due to the fact that we are creating payment transactions linked to no partners, doing so it crashing the code when creating the payment token with no partner set.
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions