summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorJorge Pinna Puissant <jpp@odoo.com>2019-07-25 07:30:07 +0000
committerJorge Pinna Puissant <jpp@odoo.com>2019-07-25 07:33:12 +0000
commitfd7ce4c983bc7137794266126f22e65454ca7681 (patch)
tree4a9b1baf87f1aebf159f6e9d58f3645254129368 /addons/web/static/src/js/views/basic/basic_controller.js
parent1a7d4ec378ac9bc34ceb126cf39379a761adb136 (diff)
[FIX] hr_holidays: Disable emails when importing from file
When using the "test import" feature to import leaves request allocations, odoo fails with a 500 error and no error message. The only difference with an actual import is that the test dry-runs by roll-backing. The issue here are that mails are sent *after* a commit is done hence crashes because they do not exist any more. Fine-tuning of c7b6fcb9f23671847f7e3a3ccd1b7b781a7b51ca for hr.leave.allocation opw-2041872 closes odoo/odoo#35166 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions