-
- Downloads
[FIX] web: list: recompute default values for columns when visible
Before this commit, all the computation of the default widths for column headers was done before the list was attached to the DOM, meaning that no column was actually visible. This was a problem since columns that are meant to stay unseen were taken into account in the calculation of relative column widths. Now, the same algorithm runs once the columns are visible so that invisible columns can be properly excluded. fixes #38744 Task 2076721
Showing
- addons/web/static/src/js/views/form/form_controller.js 10 additions, 2 deletionsaddons/web/static/src/js/views/form/form_controller.js
- addons/web/static/src/js/views/list/list_editable_renderer.js 88 additions, 51 deletions...ns/web/static/src/js/views/list/list_editable_renderer.js
- addons/web/static/src/js/views/list/list_renderer.js 6 additions, 2 deletionsaddons/web/static/src/js/views/list/list_renderer.js
- addons/web/static/tests/fields/basic_fields_tests.js 51 additions, 0 deletionsaddons/web/static/tests/fields/basic_fields_tests.js
- addons/web/static/tests/views/form_tests.js 7 additions, 1 deletionaddons/web/static/tests/views/form_tests.js
- addons/web/static/tests/views/list_tests.js 56 additions, 75 deletionsaddons/web/static/tests/views/list_tests.js
Loading
Please register or sign in to comment