In babi_multiprocess.diff, avoid registration of the model to prevent database

concurrency errors.
This commit is contained in:
Albert Cervera i Areny 2019-08-16 12:21:23 +02:00
parent 4782dee645
commit 6467c54542
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
+ readonly=False):
+ Execution = pool.get('babi.report.execution')
+ execution = Execution(int(name[15:]))
+ execution.validate_model()
+ execution.validate_model(avoid_registration=True)
+ obj = pool.get(name, type=type)
+ else:
+ raise