odoo/addons/report/models
Olivier Dony e0014387c5
[FIX] report: always close pdf files after merge
If an exception during the merges (such as a file descriptor overrun), we
would otherwise depend on the next garbage collection to close the
files. But the next GC may never come.

For example if we ran out of OS file descriptors during merge, all future
requests will crash for the same reason, and the process will never recover
because the GC will never run.

Much easier to explicitly close the files all the time.
2017-05-11 09:01:12 +02:00
..
__init__.py [FIX] report, website_report: barcode widget 2016-03-03 13:51:44 +01:00
abstract_report.py [FIX] report: abstract reports default lang 2015-02-24 17:42:25 +01:00
ir_qweb.py [FIX] report, website_report: barcode widget 2016-03-03 13:51:44 +01:00
report.py [FIX] report: always close pdf files after merge 2017-05-11 09:01:12 +02:00
report_paperformat.py [FIX] Report: search associated qweb views: do not forward context 2014-09-09 14:36:00 +02:00