Tuesday, November 5, 2024
2 changes · saas-17.2
Resolved issues and error corrections
Companies in countries without a dedicated accounting template will now receive the generic chart of accounts instead of being blocked by country matching rules. This helps new company setup work correctly in places such as Fiji while still allowing country-specific localizations to take precedence when available.
Original PR description
A previous fix[^1] prevents installing a wrong l10n if the country doesn't match. But it should still match if the template is not for a specific country. For instance, Fiji should instanciate the generic CoA. If a better one should be installed instead, the hook will be overridden when the module will be installed thanks to the `countries` flag of the l10n manifests. [^1]: 7f3a094a117477833b2814f0cfd3d574c6c22b53
Fixed timesheet reports so they show only tasks or subtasks that actually have recorded time. This prevents empty parent tasks from appearing and makes subtask entries easier to trace back to their origin.
Original PR description
Steps to reproduce: - Project app > New Project > New Task - On Task > Subtask tab > Add subtask > Save - On Subtask > Timesheets tab > Record a timesheet - On task > Print timesheets The report shows a line for Task with no timesheets in saas-17.2 and saas-17.4, while it is completely blank in 18.0 (Due to an extra condition added in https://github.com/odoo/odoo/pull/178397). We'd expect only tasks with recorded timesheets to be on the report, regardless of whether their parent tasks are there or not. Additionally, since subtasks can now appear without parent, the titles have been updated to make tarcking subtask origin easier. opw-4292481 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr