summaryrefslogtreecommitdiff
path: root/addons/mail/tests
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/tests')
-rw-r--r--addons/mail/tests/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/tests/common.py b/addons/mail/tests/common.py
index b20794ba8f7..84b17c9c080 100644
--- a/addons/mail/tests/common.py
+++ b/addons/mail/tests/common.py
@@ -334,7 +334,7 @@ class MailCase(MockEmail):
def flush_tracking(self):
""" Force the creation of tracking values. """
self.env['base'].flush()
- self.cr.precommit()
+ self.cr.precommit.run()
# ------------------------------------------------------------
# MAIL MOCKS