-
-
Notifications
You must be signed in to change notification settings - Fork 585
[18.0][IMP] contract: Add index on account.move old_contract_id #1330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 18.0
Are you sure you want to change the base?
[18.0][IMP] contract: Add index on account.move old_contract_id #1330
Conversation
This field is often searched which may be slow on DB with a lot of account moves.
flotho
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review,
LGTM
Great thanks
FrancoMaxime
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
This PR has the |
|
There's only one search: contract/contract/models/contract.py Line 426 in 1df7f34
and that one is only for retro-compatibility with 11-. I'm wondering if we should still provide that compatibility... |
I agree we should consider removing this feature. |
|
Go ahead then. |
|
The field hasn't been removed as talked. |
|
That's still on my todo list but the go-live of a major customer in a few days leaves me little time. |
This field is often searched which may be slow on DB with a lot of account moves.