Tuesday, July 14, 2020
4 changes · master
Enhancements to existing features
This update improves wording in the Survey app's management screens. The clearer labels should make survey setup and administration easier for users to understand, with no major workflow changes expected.
Original PR description
taskId 2285655 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo now shows the specific reason a translation file could not be loaded, instead of only saying the file could not be read. This helps administrators quickly identify issues such as a syntax error and line number, reducing troubleshooting time.
Original PR description
Before this commit Odoo would say that the translation file could not be loaded but not why. If we use, and include, the IOError the sysadmin can directly identify the issue. Let us take an example msgstr which has an issue: msgid "Website communication history" msgstr "Website communicatiegeschiedenis" 3 As you can see this contains an error because of the "3" here, which was added by accident. Before this commit you would only get "couldn't read translation file %s". After this commit it will pinpoint the issue with the line: odoo.tools.translate: couldn't read translation file [lang: nl][format: po]. Here's what we got back instead: Syntax error in po file (line 662) -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves the way Odoo's automated tests simulate dates and times, making test results more consistent and easier to maintain. It mainly affects accounting-related test coverage and supporting project dependencies, with no direct change expected for everyday users.
Original PR description
base, tests: use freezegun lib to mock dates and datetimes
This update improves automated checks for accounting-related features by using a more consistent way to simulate dates and times. It also adds extra coverage for Mexican electronic invoicing edge cases, helping reduce the risk of future regressions without changing day-to-day user workflows.
Original PR description
related to https://github.com/odoo/odoo/pull/54227