diff options
| author | qsm-odoo <qsm@odoo.com> | 2020-11-05 16:25:46 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-11-12 14:08:20 +0000 |
| commit | abbf88770442bded27b5e490ce3d3e1a7025dc04 (patch) | |
| tree | a5f6d72394add602e2ce49788f5a10d53bc163ea /addons/web/static/src | |
| parent | f954687d3a78be5e6fb5b9270805ecfb1081d38d (diff) | |
[FIX] website: prevent traceback on countdown bg color reset
When the layout background color was reset using the colorpicker of the
countdown option, a traceback occurred. This was because the countdown
widget relies on having a set color. The text and progress bar colors
were working with unset colors but with inconsistent behavior. This
commit fixes the traceback and makes the widget consistent: using the
reset button on any color tells the countdown widget "use the color
you want" and our countdown widget will simply set it to black.
Thanks to @dwa-odoo and @jpr-odoo for original investigation.
task-2227149
closes odoo/odoo#61657
X-original-commit: 7c29adc8bef633efd53dfd6557206e85a9f55aad
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
