An error is thrown when displaying the invoice analysis with a group by
on payment status when there is at least one invoice partially paid
Steps to reproduce:
1. Install Invoicing
2. Open Invoicing and partially pay any invoice
3. Go to Invoicing > Reporting > Invoice Analysis
4. Group by custom field: payment status
Solution:
Use all the possible payment_state values of account_move for
account_invoice_report
opw-3213576
closesodoo/odoo#123777
X-original-commit: 0e063bc142f13456935263caa07e6d840c1852f9
Signed-off-by: Brice Bartoletti (bib) <bib@odoo.com>
Signed-off-by: Guillaume Merlin (megu) <megu@odoo.com>