Skip to content

[17.0][FW] base_geoengine: name and order of parameters of the gist index creation function - #498

Draft
leemannd wants to merge 1 commit into
OCA:17.0from
camptocamp:17.0-port-350-base_geoengine-gist-index
Draft

leemannd wants to merge 1 commit into
OCA:17.0from
camptocamp:17.0-port-350-base_geoengine-gist-index

Conversation

@leemannd

Copy link
Copy Markdown

Port of #350 from 16.0 to 17.0.

Ported with oca-port. Untested for now.

Note: there was a conflict because 17.0 already calls create_geo_index from fields.py. It was resolved by only fixing the parameter order of create_geo_index(cr, tablename, columnname) and its 3 call sites (17.0 has one more call site than 16.0).

@sersanchus could you please review this port?

@oca-cla-bot

oca-cla-bot Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@weinni2000 weinni2000 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@sersanchus

sersanchus commented Dec 2, 2026 •

Copy link
Copy Markdown

Thanks for the port, @leemannd! I've reviewed the diff and it looks good: the signature is now (cr, tablename, columnname) and the 3 call sites in fields.py are all updated, with no other callers left in the repo.

Note that this is optional: it only reorders the parameters (table before column) and doesn't fix any actual bug, since the generated index name and SQL are the same as before. I hope it gets merged once it's out of draft and tested.

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.

4 participants