summaryrefslogtreecommitdiff
path: root/odoo/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'odoo/http.py')
-rw-r--r--odoo/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/http.py b/odoo/http.py
index 7006d6313b9..419e34e9f81 100644
--- a/odoo/http.py
+++ b/odoo/http.py
@@ -351,7 +351,7 @@ class WebRequest(object):
# flush here to avoid triggering a serialization error outside
# of this context, which would not retry the call
flush_env(self._cr)
- self._cr.precommit()
+ self._cr.precommit.run()
return result
if self.db: