Daily updates from Odoo
Thursday, May 23, 2024
4 changes
Enhancements to existing features
The appointment module’s automated tests were updated to reflect a calendar list view change. This helps ensure the “All calendars” filter continues to be checked correctly during development, reducing the risk of regressions for appointment scheduling.
Original PR description
This commit adapts the tests with mock RPC routes to add the route to get the "All calendars" filter from the calendar's list view. related: odoo/odoo#149192 task-3790206
Employees with an appraisal already in progress now see “Ongoing” where the next appraisal date appears, instead of a blank value. This makes appraisal status clearer for managers and employees reviewing employee profiles.
Original PR description
Before the next appraisal date displayed nothing when there was an ongoing appraisal but now it will display "Ongoing". task-3890332
New automated tests verify that Balance Sheet reports remain balanced across supported accounting setups. This helps catch localization or configuration issues earlier, reducing the risk of inaccurate financial reports reaching users.
Original PR description
This commit introduces a l10n test over the Balance Sheet reports. For each CoA, a company is set-up, and all the available Balance Sheet reports for the company are tested. The test generates a…
This commit introduces a l10n test over the Balance Sheet reports. For each CoA, a company is set-up, and all the available Balance Sheet reports for the company are tested. The test generates a journal entry with a line in every account that is not `off_balance` and not in the NON_TESTED_ACCOUNTS global at the head of the file (useful for accounts that are forced to be generated, but should never be used, like 999999 in Belgium). It then checks whether the Balance Sheet is balanced. The test does this both for debits and for credits. To work, the test needs to know, for each Balance Sheet report: - the XMLID of the Total Assets line - the XMLID of the Total Liabilities line - the XMLID of the Total Equity line (if separate from Liabilities) - the column name containing the balance (if different from 'balance') These are specified in the REPORT_CONFIG global at the head of the file. The test will hard-fail if an available Balance Sheet report is not configured in the REPORT_CONFIG global. This makes it mandatory for new Balance Sheets to add their config there. Setting the global IDENTIFY_INCORRECT_ACCOUNTS to True switches the behaviour of the test: it identifies the accounts that cause the imbalance using a binary search. This is off by default for runbot. Task: 3060790
This update removes outdated configuration left over from an earlier redesign of the import screen controls. It does not change user-facing behavior, but helps keep the accounting import interface easier to maintain and less prone to future layout issues.
Original PR description
During the "Milk" redesign [1], ControlPanel's layout was changed, impacting the `display` prop used to control which parts are displayed or not.
This commit cleans up some remnants of the old layout (i.e. `{top,bottom}-{left,right}`) that are now unused.
task-3336242
[1]: https://github.com/odoo/odoo/pull/116641