diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-03-21 16:44:28 +0100 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-03-22 22:51:57 -0800 |
| commit | 8df055b584fd0e911238416ab9a1d473e3b27df7 (patch) | |
| tree | 24bf7c269179995bea5db11b26a0722caa973681 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | ef540eb006abac0d318f2a708384d125f6203662 (diff) | |
[FIX] web: don't loose focus when editing cell in list
Have a list with readonly modifiers on at least one column.
Have the first record of the list be readonly as computed by the modifier
Create and edit a second record
Enter a value in the cell and hit TAB
Before this commit:
The focus on the targetted cell was lost and the rendering of the cell was in mode readonly
This was because the baseMode of the modifier dict was applied to one and only one node (== one column) and hence to *all* the records
After this commit:
The rendering and keyboard TAB navigation works as expected in the list editable
The baseMode concept has been sharpened and each cell now has one
OPW-1816569
OPW-1824979
closes #23809
closes #22859
closes #23436
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
