Do not ignore invoice cancelled by a credit note
With #9097 (closed) the invoice with a cancel move are excluded but as #9221 (closed) shows is that we should only exclude canceled invoice with a move with an origin different from an invoice.
With #9097 (closed) the invoice with a cancel move are excluded but as #9221 (closed) shows is that we should only exclude canceled invoice with a move with an origin different from an invoice.