The logger show "Job done" before the flush. But if during the flush an error appear (sql constraint, validation error during computed field, ...), the log contain "Job done", but is not True. The time to compute the cron is not good because it doesn't contain the flush time. closes odoo/odoo#161204 X-original-commit: 0cde9c7238ece225ebd50c50f4a78d16ac6b5226 Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>