diff options
| author | Richard Mathot <rim@odoo.com> | 2017-08-25 16:40:22 +0200 |
|---|---|---|
| committer | Richard Mathot <rim@odoo.com> | 2017-08-25 16:40:22 +0200 |
| commit | 0c1c93002c9bba02ae6a95d0af3b4706d0870a17 (patch) | |
| tree | 47e5d9864fa7f7f5546986ee48ebebbd58e48b81 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 6df482eb99e83dbe3f6b51d950e70d8d7c5e4015 (diff) | |
[FIX] base_automation: race condition on time-based automated action
When used on a large db with lots of records to process, `last_run`
date that was written on the base.automation could be a few seconds
later than `now` that was used to check whether to run the automated
action. This caused some small time frames to be never checked, and some
records to be missed. We fix this by using exactly the same timestamp.
opw-766182
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
