Skip to content
Snippets Groups Projects
Commit 8d0a4e50 authored by Alvaro Fuentes's avatar Alvaro Fuentes
Browse files

[FIX] account: add index for account.move.tax_cash_basis_move_id


Computing account.move.payment_state relies on this field. When
perfoming payment operations in bulk (like during an upgrade) the field
computation may become too slow.

On recent upgrade cases the abscense of this index caused delays ranging
from 5 hours to whole days in the upgrade of big DBs.

closes odoo/odoo#105794

Signed-off-by: default avatarChristophe Simonis <chs@odoo.com>
parent d7fdcdce
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment