From 82c3d9297139e80a870c60282c27c19e2e06919e Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Tue, 2 Jan 2018 18:11:25 +0100 Subject: [PATCH] [FIX] test_performance: bump query count for tracking fields --- odoo/addons/test_performance/tests/test_performance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/odoo/addons/test_performance/tests/test_performance.py b/odoo/addons/test_performance/tests/test_performance.py index d2228d583f9..f41efcbaf5f 100644 --- a/odoo/addons/test_performance/tests/test_performance.py +++ b/odoo/addons/test_performance/tests/test_performance.py @@ -141,7 +141,7 @@ class TestPerformance(TransactionCase): records.write({'value': self.int(20)}) - @queryCount(admin=20, demo=31) + @queryCount(admin=33, demo=44) def test_write_mail_with_tracking(self): """ Write records inheriting from 'mail.thread' (with field tracking). """ record = self.env['test_performance.mail'].search([], limit=1) @@ -180,7 +180,7 @@ class TestPerformance(TransactionCase): model = self.env['test_performance.mail'] model.with_context(tracking_disable=True).create({'name': self.str('X')}) - @queryCount(admin=38, demo=54) + @queryCount(admin=63, demo=79) def test_create_mail_with_tracking(self): """ Create records inheriting from 'mail.thread' (with field tracking). """ model = self.env['test_performance.mail']