summaryrefslogtreecommitdiff
path: root/odoo/modules/graph.py
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2018-06-19 12:11:59 +0200
committerXavier Morel <xmo@odoo.com>2018-07-16 11:44:32 +0200
commit93c0d7e811da0e64d03bfea0f131c6ace1fbde05 (patch)
tree9f2816352b39523e1828281fde3f208d613dcdd7 /odoo/modules/graph.py
parent233874d5efa00529a6d23a33a8b0b75d535e1950 (diff)
[IMP] de-commit-ify db/module install
Try to remove cr.commit (and rollback) from module and db install: * put a savepoint around test data loading * remove a bunch of commits sprinkled throughout * remove rollback on data loading failure (assuming it bubbles up, the entire module's installation should be rolled back) * add commit right before the tests are run, so they can run isolated and still see whatever was done when installing their module * convert a few explicit closing to context managers
Diffstat (limited to 'odoo/modules/graph.py')
0 files changed, 0 insertions, 0 deletions