Monday, January 23, 2023
2 changes · master
Features or functions removed from Odoo
Odoo no longer supports relative field widths in list views, so old width settings have been removed from affected screens. This keeps the system aligned with the current interface behavior and avoids relying on layout options that no longer have an effect.
Original PR description
Since the conversion of the list view to owl, the relative field size
has not been reimplemented. We have decided not to support it anymore.
So we will remove all its uses.
The relative width consists in adding a width attribute with an integer
value. This value corresponds to the weight of the field, the higher
it is, the more space the field will take. This size is only used when
the list is empty.
Example of this:
<tree>
<field ... width="2">
<field ... width="1">
</tree>
The first field will take 2x more space than the first one when the list
is empty.
Description of the issue/feature this PR addresses:
Current behavior before PR:
Desired behavior after PR is merged:
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prOdoo is removing an old list-view field sizing option that has not worked since the list view was modernized. This cleanup reduces outdated configuration and keeps affected screens aligned with the currently supported display behavior.
Original PR description
Since the conversion of the list view to owl, the relative field size
has not been reimplemented. We have decided not to support it anymore.
So we will remove all its uses.
The relative width consists in adding a width attribute with an integer
value. This value corresponds to the weight of the field, the higher
it is, the more space the field will take. This size is only used when
the list is empty.
Example of this:
<tree>
<field ... width="2">
<field ... width="1">
</tree>
The first field will take 2x more space than the first one when the list
is empty.