[IMP] crm, hr_work_entry_holidays, test_mail{_full}: update query count

In order to display the unfollow link or not in emails or in the inbox, the
system need to query the followers of the document. This is what explains the
added queries.

See odoo/odoo#107978

Task-3061864
This commit is contained in:
Pierre-Yves Dufays
2023-05-10 13:21:07 +02:00
parent 3e57dc295c
commit c8b27bd3a0
4 changed files with 28 additions and 28 deletions
@@ -32,7 +32,7 @@ class TestWorkEntryHolidaysPerformance(TestWorkEntryHolidaysBase):
self.richard_emp.generate_work_entries(date(2018, 1, 1), date(2018, 1, 2))
leave = self.create_leave(datetime(2018, 1, 1, 7, 0), datetime(2018, 1, 1, 18, 0))
with self.assertQueryCount(__system__=92, admin=96):
with self.assertQueryCount(__system__=94, admin=98):
leave.action_validate()
leave.action_refuse()