summaryrefslogtreecommitdiff
path: root/addons/test_mail/tests/test_performance.py
diff options
context:
space:
mode:
authorjvm-odoo <jvm@odoo.com>2020-02-21 13:04:55 +0000
committerjvm-odoo <jvm@odoo.com>2020-03-11 09:49:02 +0000
commit06dee038ddd0e2344c45d4f20e79c28fc78407de (patch)
treeea92fab6b3d55769bb0c2d8a2ffad7d4cbf78e8a /addons/test_mail/tests/test_performance.py
parent4aa7e101a90f2281e581389e7c24909dd35fb00f (diff)
[FIX] mail: attachments in the message when marking activity as done
Fine tuning of 1e411e3a6d - It moves the attachment in the message when we mark an activity as done. - It adds a test OPW-2196668 closes odoo/odoo#47349 X-original-commit: 2033066426a6af6eed5f80f1bcde6e650e998f0d Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/test_mail/tests/test_performance.py')
-rw-r--r--addons/test_mail/tests/test_performance.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/test_mail/tests/test_performance.py b/addons/test_mail/tests/test_performance.py
index b952fe73388..85b1f24980f 100644
--- a/addons/test_mail/tests/test_performance.py
+++ b/addons/test_mail/tests/test_performance.py
@@ -229,7 +229,7 @@ class TestMailAPIPerformance(BaseMailPerformance):
#voip module read activity_type during create leading to one less query in enterprise on action_feedback
category = activity.activity_type_id.category
- with self.assertQueryCount(__system__=17, emp=21):
+ with self.assertQueryCount(__system__=18, emp=22):
activity.action_feedback(feedback='Zizisse Done !')
@users('__system__', 'emp')
@@ -246,7 +246,7 @@ class TestMailAPIPerformance(BaseMailPerformance):
record.write({'name': 'Dupe write'})
- with self.assertQueryCount(__system__=18, emp=21):
+ with self.assertQueryCount(__system__=19, emp=22):
record.action_close('Dupe feedback')
self.assertEqual(record.activity_ids, self.env['mail.activity'])