summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorRémi Rahir <rar@odoo.com>2020-03-05 12:59:12 +0000
committerRémi Rahir <rar@odoo.com>2020-03-05 16:47:34 +0000
commit74847914977210b1d5a80c1d586eb1316324d9d7 (patch)
tree9151555a81b44c935fa3f5366f9166b5d60b604d /addons/web/static/src/js/views/basic/basic_controller.js
parentc6e52e9037f2029a66b9415efb21a4b017204ddc (diff)
[FIX] iap: Commit creation on dedicated cursor
The generic IAP flows forces us to commit the creation of a new record to prevent the loss of his token once the system contacts iap.odoo.com. Unfortunately, this operation can drastically alter any business flow if it's not executed at the very begining or end of the flow. Furthermore, it can be difficult to exactly pinpoint if this will affect a flow (for instance, the point of sale is affected by iap because of the module 'stock_sms' while the former doesn't depend on the later). To avoid those issues, we isolate the account creation on a dedicated cursor and load the values of the created record on the current cache. closes odoo/odoo#47026 X-original-commit: 5307f47d975c3b3ebd87c7f7e2248802a1aa5be7 Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions