There should be an index on party of account.invoice
Currently there is no index on this column, yet the relate from party to invoice could make a us of such an index especially when there is a big number of invoices.
Currently there is no index on this column, yet the relate from party to invoice could make a us of such an index especially when there is a big number of invoices.