From 7360530c68ddb31fcdb269b94347d5c19fa58491 Mon Sep 17 00:00:00 2001 From: "Thomas Becquevort (thbe)" Date: Fri, 16 Feb 2024 14:14:26 +0100 Subject: [PATCH] [FIX] account: Amounts to Settle views and filters adjustments This commit replaces the Display Name column by the Name column in the Amounts to Settle view and adds the Journal Entry to the search options. It also includes a small modification to the Amounts to Settle opening action to adjust the amls that are shown. task-3640027 closes odoo/odoo#148476 Related: odoo/enterprise#54137 Signed-off-by: Olivier Colson (oco) --- addons/account/views/account_move_views.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index fb6c3369ed4..6f2f00aece2 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -395,7 +395,7 @@ - + @@ -422,6 +422,7 @@ '|', '|', '|', ('name', 'ilike', self), ('ref', 'ilike', self), ('account_id', 'ilike', self), ('partner_id', 'ilike', self)]"/> + @@ -1699,7 +1700,7 @@ tree - [('parent_state', '=', 'posted'), ('amount_residual', '<', 0), ('account_id.reconcile', '=', True), ('journal_id.type', '=', 'sale')] + [('parent_state', '=', 'posted'), ('date_maturity', '!=', False), ('amount_residual', '<', 0), ('account_id.reconcile', '=', True), ('journal_id.type', '=', 'sale')]

Amounts to settle @@ -1715,7 +1716,7 @@ tree - [('parent_state', '=', 'posted'), ('amount_residual', '<', 0), ('account_id.reconcile', '=', True), ('journal_id.type', '=', 'purchase')] + [('parent_state', '=', 'posted'), ('date_maturity', '!=', False), ('amount_residual', '<', 0), ('account_id.reconcile', '=', True), ('journal_id.type', '=', 'purchase')]

Amounts to settle