odoo/upgrade-util#303
Created by Upgrade, Jinane Maksoud (maji)
Merged
at 3e4f0178c23cf7645a917bfab888fbe2fdf30907
Statuses:
- ci/runbot: Test upgrades between stable versions
- ci/upgrade_enterprise: Test upgrades for enterprise master
- label
- odoo-dev:master-recompute-memory-maji
- head
- 321eba940c3145235e2160c8f1a434693f51880e
- merged
- 10 hours ago by Upgrade, Christophe Simonis (chs)
odoo/upgrade-util | |
---|---|
master | #303 |
[FIX] recompute_fields: get ids in batches
If no ids are given to recompute, the util will fetch all ids in the target table and then recompute in chunks. Fetching all the ids itself can cause a memory error if the table is too large.
Using a named cursor with a limit of 1M records to fetch can eliminate this possibility.
opw-4909458
upg-3106002