Daily updates from Odoo
Tuesday, September 23, 2014
1 change · master
Resolved issues and error corrections
PDF reports on Windows could generate as empty files when report DPI settings were below the Windows default. This update uses a safer Windows DPI value and keeps temporary files until PDF creation succeeds, improving report reliability for Windows users.
Original PR description
Fixes issue https://github.com/odoo/odoo/issues/364 https://github.com/odoo/odoo/issues/754 - PDF generate empty file on Windows platform. **_Impacted versions:**_ - 8.0 **_Patch tested on:**_ 1. Windows XP SP3 2. Windows 7 SP1 3. Windows Server 2003 R2 4. CentOs 5.10 <strong>All above test conducted using wkhtmltopdf version 0.12.1</strong> **_Current behavior:**_ - Script detect Windows platform and: - If DPI setting on requested report is set to anything below 96 (Current Odoo Default = 90), script will use 96 (Windows default) instead. - Avoid deletion of temp files till a successful creation of the required PDF report.