Skip to content

Conversation

@sebastienbeau
Copy link
Contributor

By default there is too many missing index in Odoo core (also in OCA module) and on big database deleting a partner is super slow (1/2s). And it's not a common user action, so most of the time we do not care.

For sure we always have to optimize request, but I fear that new comer that test Shopinvader will just have a super bad experience. If they test it on an existing database it will be slow in 99% of case if there have a big db =W so their will just intepret that shopinvader is slow.

As we always have queue job installed, maybe it can be an acceptable dependency and solution to delete this record in background.

@lmignon @paradoxxxzero @sbidoul need your feedback (I do not have a strong opinion on this one)

By default there is too many missing index in odoo core
and on big database deleting a partner is slow
as not all intergrator optimize their database
delete it in background by default
@sebastienbeau sebastienbeau changed the title shopinvader_anonymous_partner: make deletation asynchronious [16.0] shopinvader_anonymous_partner: make deletation asynchronious Sep 12, 2025
@sebastienbeau
Copy link
Contributor Author

I will fix the test (just need to adapt them as it's now a job) But I would like to have your feedback before

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant