Daily updates from Odoo
Tuesday, September 23, 2014
3 changes · 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.
This update fixes a problem in the reporting area that could affect how temporary files are handled when generating reports. It helps make report creation more reliable and reduces the chance of errors during normal business operations.
Original PR description
This patch fixes issue #364
This corrects a small typo in the accounting invoice code introduced during an API conversion. It helps prevent potential invoice processing errors caused by the typo, with no expected change to normal user workflows.