From cd0c0d631b2775712c3eca98c1797f489f5fe467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Mon, 22 Nov 2021 09:09:37 +0000 Subject: [PATCH] [FIX] crm: fix query counter in assign performance In one week, this test failed about 4 times, seems mainly on nightly enterprise. Let us update counter accordingly. closes odoo/odoo#80164 Signed-off-by: Thibault Delavallee (tde) --- addons/crm/tests/test_performances.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/tests/test_performances.py b/addons/crm/tests/test_performances.py index ed662f303ec..e14a48303e8 100644 --- a/addons/crm/tests/test_performances.py +++ b/addons/crm/tests/test_performances.py @@ -174,7 +174,7 @@ class TestLeadAssignPerf(TestLeadAssignCommon): leads.flush() with self.with_user('user_sales_manager'): - with self.assertQueryCount(user_sales_manager=7176): # 7170-7176 + with self.assertQueryCount(user_sales_manager=7179): # 7170-7176 generally self.env['crm.team'].browse(sales_teams.ids)._action_assign_leads(work_days=30) # teams assign