-
-
Notifications
You must be signed in to change notification settings - Fork 688
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
account_invoice_pricelist install into existing database takes excessive time #1508
Comments
Hi @gdgellatly. I don't see tracked field in this module. https://github.com/OCA/account-invoicing/blob/15.0/account_invoice_pricelist/models/account_move.py |
Thanks @legalsylvain Only the version number :)
|
sorry, missed the version ! |
IMO, disable tracking make sense. Traking allow to know when the value changed. For a new computed field, having the date of the installation of the module for all the records is totally useless. |
Best I could come up with - I don't really need this now, installed with tracking disabled before writing #1511 |
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Module
account_invoice_pricelist
Describe the bug
Install of account invoice pricelist takes a very very long time on an existing database.
To Reproduce
Affected versions:
16.0 - likely only v16 as that is where tracking was added
Steps to reproduce the behavior:
Here we see the computation of pricelist id takes 8 mins. That is OK. I am writing this at 8:12, and it just completed. What it is is the tracking attribute of the pricelist id.
IN pg_activity we see a lot of entries
and
Expected behavior
A sub 1 hour installation time. The question is how to approach - pre-init hook? Remove tracking? Somehow suspend tracking?
Additional context
There isn't actually that many outwards invoices on this database, 530,000.
The text was updated successfully, but these errors were encountered: