diff options
| author | Julien Mougenot <jum@odoo.com> | 2019-12-24 08:47:45 +0000 |
|---|---|---|
| committer | Julien Mougenot <jum@odoo.com> | 2020-01-07 12:49:33 +0000 |
| commit | 2e861cc8ee39fc2681dd9fb2fe13f45ed2cec5a1 (patch) | |
| tree | b340dda8594adeb4675bb6ffa3152b113360ecf5 /addons/crm/data | |
| parent | 7e05cff59b511a4535bceee1b1d9103310682ed6 (diff) | |
[FIX] web: boolean widgets in list views
Before this commit, pointer events were prevented on all checkboxes in readonly
list views. That meant that the boolean_toggle widget for instance could not be
properly toggled in a non-editable list (which was the purpose of such a widget).
Now, pointer events are enabled only if the checkbox :
- is in a selected row AND does not have a readonly modifier
OR
- has a widget applied on the field.
Also ensured that the field widgets in the list view multi edition confirmation
modal are not interactive.
We cannot test the `pointer-events` property interactions as it does not affect
manual event triggering used in tests.
Task 2154055
closes odoo/odoo#42848
X-original-commit: c7ee164d572e01fcb565001fd5e62fe1278b5cd8
Signed-off-by: Julien Mougenot (JUM) <Arcasias@users.noreply.github.com>
Diffstat (limited to 'addons/crm/data')
0 files changed, 0 insertions, 0 deletions
