summaryrefslogtreecommitdiff
path: root/addons/timer/models/timer.py
diff options
context:
space:
mode:
authoraab-odoo <aab@odoo.com>2020-02-14 11:52:37 +0000
committeraab-odoo <aab@odoo.com>2020-02-14 13:01:57 +0000
commitf0a0cf5a6f58887a1c972d71145eb2e30be06c71 (patch)
treecb5439574f3e323b63d738069cae5810e22f926b /addons/timer/models/timer.py
parented3e0b51ad7f4d5a948f37641f3d9a46421cb426 (diff)
[IMP] web: add odoo version to frontend session_info
This information is necessary for tours going from the backend to the frontend (or the other way around) to run properly: Some tour steps may be flagged with 'community' or 'enterprise', meaning they must only be executed in the corresponding edition. The TourManager filters the steps according to the edition. When a tour is executed (either in test mode, automatically, or in an onboarding situation, manually), the index of the current step is stored in the local storage. So, the list of filtered steps must be the same in the backend and in the frontend, which couldn't be guaranteed as the frontend didn't have the information (thus always considered being in community). Part of task 2180175 closes odoo/odoo#45398 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/timer/models/timer.py')
0 files changed, 0 insertions, 0 deletions