From ecabd74ed75d5a2088407df3889067b2e6a09db5 Mon Sep 17 00:00:00 2001 From: MerlinGuillaume Date: Mon, 21 Aug 2023 08:37:57 +0000 Subject: [PATCH] [FIX] account_3way_match: correct number of draft bills in dashboard The number of bills to validate in the accounting dashboard is not the same as the number of bills displayed when clicking on the button Steps to reproduce: 1. Install Accounting and module `Vendor Bill: Release to Pay` 2. Go to Accounting > Vendors > Bills, create a new one with a due date set to yesterday and save it 3. Go to the accounting dashboard 4. In the 'Vendor Bills' journal, see that there is one bill to validate 5. Open the draft bills (by clicking on the `Bills to Validate` link), the number of bills in the view is greater than what was previously advertised Solution: Modify the context used in the action 'Bills to Validate' Problem: The module `account_3way_match` modified the query to get the number of draft bills so the action should be adapted opw-3440854 closes odoo/odoo#132483 Related: odoo/enterprise#45987 Signed-off-by: Cedric Snauwaert --- addons/account/views/account_journal_dashboard_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/views/account_journal_dashboard_view.xml b/addons/account/views/account_journal_dashboard_view.xml index 4898cfc2a63..b64e7b60e26 100644 --- a/addons/account/views/account_journal_dashboard_view.xml +++ b/addons/account/views/account_journal_dashboard_view.xml @@ -313,7 +313,7 @@