diff options
| author | Romain Derie <rde@odoo.com> | 2019-12-31 15:23:16 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-01-29 14:53:28 +0000 |
| commit | 3bce5277e378fd499bf2d0fed8c62929165b7871 (patch) | |
| tree | 700fcdde9bc40e7c76969a16072f5363c95837f8 /addons/website/static/src/xml | |
| parent | 506d29371437f4411a8dedbf86a4ec724892151a (diff) | |
[IMP] website: add consent duration on s_popup snippet
This commit introduce a new snippet option for s_popup to control the
consent duration in days. This value will be used to know if the popup
should be shown or not.
If the user close the popup, it won't be shown until the consent
duration is over.
This will also avoid popup to be shown on exit (display mode) more than
once. Indeed, every mouseout of the screen (changing tab, changing app,
alt tab etc) would show the popup, as well as page navigation.
Part of https://github.com/odoo/odoo/pull/41294
task-2087003
Diffstat (limited to 'addons/website/static/src/xml')
0 files changed, 0 insertions, 0 deletions
