From d37ac62d75cd772a6b671fcb21f9c248ce733f44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roc=C3=ADo=20Vega?= Date: Thu, 15 Feb 2024 10:56:01 -0300 Subject: [PATCH] [IMP] account: add Reversed payment filter to invoice search view Moves with a reversed payment_state are not included in the domain of the "Paid", "Unpaid" or "Overdue" filters. This means that it is not possible to display reversed invoices when using any combination of these filters. In this case, it is preferable to be able to encompass the entire range of possible states with a combination of filters. so rather than adding the reversed payment state to the domain of the "Paid" filter (since reversed payments aren't strictly "Paid"), this commit instead adds a new filter "Reversed" with its domain set to include reversed payment invoices only. closes odoo/odoo#160581 X-original-commit: 43a9b7afe4418fda10083fe7ced7744f0d93f79a Signed-off-by: Florian Gilbert (flg) --- addons/account/views/account_move_views.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index c344af46122..40def027919 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -1467,6 +1467,8 @@ + +