summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/data_model.js
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2016-04-29 11:00:10 +0200
committerOlivier Dony <odo@openerp.com>2016-04-29 11:39:29 +0200
commit7c177d91432bc2499b81ff361434021ca079b9c7 (patch)
tree846da538bfa03f3dd9f9b9f4b74dc87c961d3f36 /addons/web/static/src/js/framework/data_model.js
parente77399ff30f8825c9934cf7a4c125c7e8453ee8c (diff)
[FIX] mail queue: wrong condition for test mode
Rev. 56cec604e6313c49582bbd9801686328696b2675 modifies the auto-commit behavior of the mail queue scheduler, to allow using it within tests. The condition was wrong and always True as soon as the registry was loaded, permanently disabling auto-commit, both during tests and outside tests. This broke the duplicate emails protection.
Diffstat (limited to 'addons/web/static/src/js/framework/data_model.js')
0 files changed, 0 insertions, 0 deletions