[FIX] crm: still fixing some peak runbot counters in assign tests

closes odoo/odoo#65861

X-original-commit: e199f22eb07debe34de375cbefbae638075e6c0a
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
Thibault Delavallée
2021-02-10 11:12:25 +00:00
parent 83a43af4cb
commit 8b67fe0b2b
+1 -1
View File
@@ -46,7 +46,7 @@ class TestLeadAssignPerf(TestLeadAssignCommon):
lead.probability = (idx + 1) * 10 * ((int(lead.priority) + 1) / 2)
with self.with_user('user_sales_manager'):
with self.assertQueryCount(user_sales_manager=474): # crm only: 466
with self.assertQueryCount(user_sales_manager=475): # crm only: 466
self.env['crm.team'].browse(self.sales_teams.ids)._action_assign_leads(work_days=2)
# teams assign