Skip to content

Conversation

@aab-odoo
Copy link
Contributor

@aab-odoo aab-odoo commented Oct 24, 2025

PR odoo/odoo#232988 adds the support of minimal/maximal widths for the width attribute in list archs. This commit updates the documentation accordingly.

task-5194492

@robodoo
Copy link
Collaborator

robodoo commented Oct 24, 2025

Pull request status dashboard

@aab-odoo aab-odoo requested a review from AntoineVDV October 24, 2025 10:52
@C3POdoo C3POdoo requested a review from a team October 24, 2025 11:22
Copy link
Collaborator

@AntoineVDV AntoineVDV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robodoo r+ delegate+

@robodoo
Copy link
Collaborator

robodoo commented Oct 24, 2025

@aab-odoo @AntoineVDV linked pull request(s) odoo/odoo#232988 not ready. Linked PRs are not staged until all of them are ready.

@aab-odoo aab-odoo force-pushed the master-column-width-arch-range-5194492-aab branch from 3bc51ce to cff257e Compare October 24, 2025 14:11
PR odoo/odoo#232988 adds the support of minimal/maximal widths for
the `width` attribute in list archs. This commit updates the
documentation accordingly.

task~5194492
@aab-odoo aab-odoo force-pushed the master-column-width-arch-range-5194492-aab branch from cff257e to e326ccf Compare October 27, 2025 07:46
@aab-odoo
Copy link
Contributor Author

robodoo r+

robodoo pushed a commit to odoo/odoo that referenced this pull request Oct 27, 2025
Before this commit, it was only possible to specify a fixed width
in list view archs, e.g. `width="80"`, for columns. However, the
column widths logic supported ranges, i.e. min and optionally max
widths. This was used as default widths for some field types, and
in some field widgets. This couldn't be specified directly in archs
though. This commit enables it. One can now write `width="[50]"`
to specify a min width, and `width="[50,80]"` to specify a min and
a max widths.

task~5194492

closes #232988

Related: odoo/enterprise#98074
Related: odoo/documentation#14998
Signed-off-by: Romeo Fragomeli (rfr) <[email protected]>
robodoo pushed a commit that referenced this pull request Oct 27, 2025
PR odoo/odoo#232988 adds the support of minimal/maximal widths for
the `width` attribute in list archs. This commit updates the
documentation accordingly.

task~5194492

closes #14998

Related: odoo/enterprise#98074
Signed-off-by: Aaron Bohy (aab) <[email protected]>
@robodoo robodoo added the 19.1 label Oct 27, 2025
@robodoo robodoo closed this Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants