[IMP] account: improve performances of computation of the two fields due_delay and delay_to_pay for account_invoice_report