Repository navigation
[20.0][MIG] web_remember_tree_column_width: Migration to 20.0 - #3751
mcastillol14 wants to merge 29 commits into
Conversation
… widths Remember the tree columns' widths across sessions, and after filtering, grouping, or reordering.
this fixes scss file not found error after installing the module
…on column Fix an error when retrieving column sizes for lists containing one or more list_button columns. This error occurs when a list_button column is placed between other columns in the list. This type of column is excluded from the querySelector string used to retrieve column headers, which can cause the index to shift and the column size to change when the list is displayed.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: web-17.0/web-17.0-web_remember_tree_column_width Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_remember_tree_column_width/
Co-authored-by: Stefan Rijnhart <stefan@opener.amsterdam>
Fixes ``` Uncaught Javascript Error > Cannot read properties of undefined (reading 'isRTL') ``` when trying to resizing a column in a list view. Caused by upstream change odoo/odoo#210559
Analogous to the inherited code, the event listener would work on the resize stop event, but this event would regularly not have the same target as the resize start event in which case the field name and size could not be determined.
BhaveshHeliconia
left a comment
There was a problem hiding this comment.
Functionally not working
Quotations.mp4
|
Thanks for testing this and recording the video, @BhaveshHeliconia — you were right, it was functionally broken. I set up a real Odoo 20.0 instance (official Root cause: the migration only bumped the version number but missed several real breaking changes in the OWL version shipped with 20.0 (signal-based reactivity):
Just pushed a fix with all of the above. Verified against a real Odoo 20.0 container: resizing a column and reloading the page now keeps the new width, with no console errors. Could you re-test when you have a chance? |
|
Functionally working now, But squash the last commit into the migration commit. |
125b1d8 to
cb599b3
Compare
|
Done, squashed the fix into the migration commit. Thanks for confirming it's working! |
Standard migration of
web_remember_tree_column_widthto 20.0, following the usualgit format-patch/git amprocedure to preserve commit history and authorship. Only change needed: manifest version bump to20.0.1.0.0. No code changes (single JS asset, no Python, no tests).