Skip to content

Conversation

Aurelienvd
Copy link
Contributor

@Aurelienvd Aurelienvd commented Feb 5, 2025

Allow to pass a callable (lambda) as the definition of a TableObject. This makes it possible to branch on registry.has_unaccent when adding compound/partial indexes with the new syntax introduced in 675c0711fb for instance.


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

@Aurelienvd Aurelienvd requested a review from kmagusiak February 5, 2025 13:21
@robodoo
Copy link
Contributor

robodoo commented Feb 5, 2025

Pull request status dashboard

@C3POdoo C3POdoo requested review from a team and xmo-odoo and removed request for a team February 5, 2025 13:23
@C3POdoo C3POdoo added the RD research & development, internal work label Feb 5, 2025
@Aurelienvd Aurelienvd force-pushed the master-unaccent-index-avd branch from ab744c2 to 04648d8 Compare February 6, 2025 14:39
@Aurelienvd Aurelienvd force-pushed the master-unaccent-index-avd branch from 04648d8 to 19e1b8e Compare February 6, 2025 14:56
Allow to pass a callable (lambda) as the definition of a TableObject.
This makes it possible to branch on registry.has_unaccent when
adding compound/partial indexes with the new syntax introduced
in 675c0711fb for instance.
@Aurelienvd Aurelienvd force-pushed the master-unaccent-index-avd branch from 19e1b8e to f6c7476 Compare February 7, 2025 10:28
@Aurelienvd Aurelienvd changed the title [IMP] core: add unaccent/trgm support to Index table object [IMP] core: add unaccent support to Index table object Feb 7, 2025
@ryv-odoo
Copy link
Contributor

ryv-odoo commented Feb 7, 2025

@robodoo r+
Thx @Aurelienvd and @kmagusiak

robodoo pushed a commit that referenced this pull request Feb 7, 2025
Allow to pass a callable (lambda) as the definition of a TableObject.
This makes it possible to branch on registry.has_unaccent when
adding compound/partial indexes with the new syntax introduced
in 675c0711fb for instance.

closes #196621

Signed-off-by: Rémy Voet (ryv) <ryv@odoo.com>
@robodoo robodoo added the 18.2 label Feb 7, 2025
@robodoo robodoo closed this Feb 7, 2025
@fw-bot fw-bot deleted the master-unaccent-index-avd branch February 21, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

18.2 RD research & development, internal work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants