Skip to content

[18.0][FIX] web: use count limit on the domain field widget#1277

Merged
pedrobaeza merged 1 commit into
OCA:18.0from
camptocamp:18.0-backport-web-widget-domain-count-limit
May 21, 2026
Merged

[18.0][FIX] web: use count limit on the domain field widget#1277
pedrobaeza merged 1 commit into
OCA:18.0from
camptocamp:18.0-backport-web-widget-domain-count-limit

Conversation

@ivantodorovich
Copy link
Copy Markdown

Backports:

Executing a search count on a table with a large number of records can be slow, which is why a limit was added on b37d221.

The same issue exists on the domain field widget, and so the same solution is applied here.


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@OCA-git-bot
Copy link
Copy Markdown

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@Ricardoalso Ricardoalso force-pushed the 18.0-backport-web-widget-domain-count-limit branch from 909aff9 to a0c6773 Compare May 21, 2025 11:57
Copy link
Copy Markdown

@Ricardoalso Ricardoalso left a comment

Choose a reason for hiding this comment

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

Thanks for this @ivantodorovich

I allowed myself to rebase as there was a conflict in addons/web/static/src/views/fields/domain/domain_field.js

@flotho
Copy link
Copy Markdown
Member

flotho commented Apr 15, 2026

Hi @ivantodorovich , any chance to rebase ?

Executing a search count on a table with a large number of records can be slow,
which is why a limit was added on b37d221.

The same issue exists on the domain field widget, and so the same solution is
applied here.

Task 4471410
@ivantodorovich ivantodorovich force-pushed the 18.0-backport-web-widget-domain-count-limit branch from a0c6773 to 24d41c2 Compare April 20, 2026 18:03
@ivantodorovich
Copy link
Copy Markdown
Author

done

@flotho
Copy link
Copy Markdown
Member

flotho commented May 20, 2026

ping @OCA/web-maintainers , everything is properly tagged.
Any chance to merge ?
Thanks

@tarteo
Copy link
Copy Markdown
Member

tarteo commented May 21, 2026

/ocabot merge minor

@OCA-git-bot
Copy link
Copy Markdown

Sorry @tarteo you are not allowed to merge.

To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons.

If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the maintainers key of its manifest.

@tarteo
Copy link
Copy Markdown
Member

tarteo commented May 21, 2026

@flotho Sorry web maintainers can't merge this! @OCA/backport-maintainers is the correct team

@pedrobaeza pedrobaeza added this to the 18.0 milestone May 21, 2026
Copy link
Copy Markdown
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

This branch has no tests, and this is something of web client, where the test scope may be limited.

The linked runboat doesn't contain the patch as well, so it can be confusing. I have tried in a local DB, and it's working.

@pedrobaeza pedrobaeza merged commit ca53cc2 into OCA:18.0 May 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants