diff options
| author | Antoine Prieels <anp@odoo.com> | 2020-07-01 11:13:14 +0000 |
|---|---|---|
| committer | Antoine Prieels <anp@odoo.com> | 2020-07-02 08:21:47 +0000 |
| commit | 17e198db3a69b854e5745bbd4a0628853f3d8702 (patch) | |
| tree | a6b00150c4b693099bbf5ffb18e4a1786e17523d /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | a86e90af53764cc1ed9097efec63b12a33ce0ff1 (diff) | |
[FIX] hw_drivers: Synchronize time before starting Odoo
Some features need the time to be synchronized before starting:
- A certificate might be considered valid and therefore not renewed if
the time is not synced.
- If the time is not correct when the pairing code is retrieved, it
will disappear as soon as the time is synced because more than 5
minutes will have "passed" since the code was retrieved.
We then make sure that the time is synced, or that the box is not
connected to the internet (because in this case the time will never be
synced and those features cannot work with a connection anyway).
closes odoo/odoo#53953
X-original-commit: b9b02dba67cd0a91b8c49a5f57fb2f7eb4bdd690
Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
Signed-off-by: Antoine Prieƫls <aprieels@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
