[IMP] hr_holidays: increase performance counter

The change introduced in odoo/enterprise#16664 for hr_appraisal
increases the query counter by one.

TaskID: 2464991
This commit is contained in:
Kevin Baptiste
2021-03-08 07:17:59 +00:00
parent bb54e5ea1a
commit 07ccdb2e88
2 changed files with 2 additions and 2 deletions
@@ -313,7 +313,7 @@ class TestCompanyLeave(TransactionCase):
})
company_leave._compute_date_from_to()
with self.assertQueryCount(__system__=736, admin=865):
with self.assertQueryCount(__system__=737, admin=865):
# Original query count: 1987
# Without tracking/activity context keys: 5154
company_leave.action_validate()
@@ -31,7 +31,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__=90, admin=99):
with self.assertQueryCount(__system__=91, admin=99):
leave.action_validate()
leave.action_refuse()