summaryrefslogtreecommitdiff
path: root/odoo/modules/loading.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-09-13 18:07:59 +0200
committerChristophe Simonis <chs@odoo.com>2019-09-13 18:07:59 +0200
commit6c948c36bbf72dd896e0bff03aa7fbddadcbb0cd (patch)
treef8620905c011735d8a3c340c46d1417a54a75972 /odoo/modules/loading.py
parent48503fcf08eac6fed12e080d4f501f9bbc8d257d (diff)
parent197474e5b9ad43ab2d587a98136a1a809ce9a2e7 (diff)
[MERGE] forward port branch saas-12.5 up to 197474e5b9a
Diffstat (limited to 'odoo/modules/loading.py')
-rw-r--r--odoo/modules/loading.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/modules/loading.py b/odoo/modules/loading.py
index 1551bdc3800..b844fddaf49 100644
--- a/odoo/modules/loading.py
+++ b/odoo/modules/loading.py
@@ -80,7 +80,7 @@ def load_demo(cr, package, idref, mode, report=None):
try:
_logger.info("Module %s: loading demo", package.name)
- with cr.savepoint():
+ with cr.savepoint(flush=False):
load_data(cr, idref, mode, kind='demo', package=package, report=report)
return True
except Exception as e: