diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-07-25 11:16:07 +0200 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-07-30 09:24:16 +0200 |
| commit | dc253ff1c65029e3795c1e49da0b16aa9e90db2a (patch) | |
| tree | dd0003277635cd1c209854b6a6387157a83ec3ef /odoo/tools/safe_eval.py | |
| parent | ba61098cf3a4f9daf103cc2808998bcb25327990 (diff) | |
[FIX] web: kanban progress bar, auto width
Have ~50 records in a column,
Mark 49 of them as blocked (kanban_state field)
Mark 1 or 2 as done
Before this commit, the bar that showed the proportions of blocked objects was invisible
This was because the min-width of a bar was 10px, without max-width
Leaving the red bar to 95% or something, the green bar to 10px
All of this overflowing 100%
After this commit, we compute max-width and min-width to be able to fit everything
within the progress bar
OPW 1867464
closes #25962
Diffstat (limited to 'odoo/tools/safe_eval.py')
0 files changed, 0 insertions, 0 deletions
