Thursday, April 2, 2015
1 change · master
Resolved issues and error corrections
This fix ensures database backup and restore tools use the database connection settings defined in Odoo instead of relying on incorrect defaults. This matters especially for Windows and custom database setups, reducing failed backups or restores caused by wrong user or host assumptions.
Original PR description
1. remove code that force the usage of database user to current user 2. remove code that force database host to localhost on Windows 3. remove unused code that generate pgpass file 4. when using pg_dump or pg_restore, force pg environment variables to Odoo database configuration Hello @odony , please review it. I have tested on Windows and it works fine.