Daily updates from Odoo
Thursday, November 2, 2023
20 changes
15 changes
Enhancements to existing features
Portal users viewing tasks for a project with shared documents will now see tasks grouped by stage by default, matching the usual project experience. The Documents button remains available, but is shown alongside the first stage instead of requiring tasks to be grouped by project.
Original PR description
Since 16.0, when viewing the tasks of a project with shared documents in the portal, the tasks are grouped by project to allow displaying the "Documents" button. However, it doesn't make much sense to group by project if there is only a single project. This PR changes the default groupby to be by stage, like for all the other projects, and adds the button next to the first stage instead. Community: https://github.com/odoo/odoo/pull/136126 Task-3438493
Resolved issues and error corrections
This change moves a Luxembourg monthly declaration field to the reporting module where its required report setup is available. It prevents payroll declaration tests and related workflows from failing when the payroll module references reporting-only functionality.
Original PR description
Issus on several tests in test_monthly_declaration.py due to account_representative_id called in l10n_lu_hr_payroll. This field depends on action report installed with l10n_lu_reports.
Code cleanup and technical improvements
This update simplifies internal building blocks used in account reports, payroll SEPA dashboards, and Odoo Studio editors. It reduces reliance on an older shared component, making these areas easier to maintain while preserving the expected user experience.
This update aligns Enterprise modules with a platform-level change that removes an obsolete field option. It keeps contact phone searches and hierarchical records behaving consistently while simplifying internal configuration.
Original PR description
In the community branch, we remove the `unaccent` parameter from `Field`. Then there are some changes to make in the enterprise: - Remove `unaccent=False` from all `parent_path` fields. - Since we remove `unaccent=False` from `phone` + `mobile` of `res.partner`, we replace the `ilike` with `like` to have the same behavior as before in `get_contacts` (voip module). https://github.com/odoo/odoo/pull/139568
Miscellaneous changes
Collaborative html_field should all use `handle_history_divergence` during `write`, to ensure that someone cannot save content if another user saved and they did not sync their change together (diverging steps would overwrite previously saved changes without informing the user). See [1]. Without this fix, the `data-last-history-steps` attribute of the first node in the article body would grow indefinitely after each write. After this fix, only the required id is kept. [1]: https://git
Original PR description
Collaborative html_field should all use `handle_history_divergence` during `write`, to ensure that someone cannot save content if another user saved and they did not sync their change together (diverging steps would overwrite previously saved changes without informing the user). See [1]. Without this fix, the `data-last-history-steps` attribute of the first node in the article body would grow indefinitely after each write. After this fix, only the required id is kept. [1]: https://github.com/odoo/odoo/pull/112099 task-3572449 Forward-Port-Of: odoo/enterprise#49875 Forward-Port-Of: odoo/enterprise#49647
Add a new pdf export related to the partner ledger, the customer statements report. It is a standard feature in AU and NZ accounting package but can benefit other countries. It is basically an export of the partner ledger, with slightly different information shown. It is typically sent to the customers one at the end of each month to help them keep track of their account and of how much they owe the business. Task id # 3503791 Forward-Port-Of: odoo/enterprise#49434
Original PR description
Add a new pdf export related to the partner ledger, the customer statements report. It is a standard feature in AU and NZ accounting package but can benefit other countries. It is basically an export of the partner ledger, with slightly different information shown. It is typically sent to the customers one at the end of each month to help them keep track of their account and of how much they owe the business. Task id # 3503791 Forward-Port-Of: odoo/enterprise#49434
Purpose: The appraisal created from cron is already is confirmed state and it should have same bihavior as manually created and confirmed one. The feedback templates should be loaded and feedback not published. Prior this commit: When we create appraisal from cron, the template is not loaded. Also both feedbacks are published. After this commit: The appraisal that is created from cron, has loaded templates and employee and manager feedbacks are not published. Forward-Port-Of: odoo/ente
Original PR description
Purpose: The appraisal created from cron is already is confirmed state and it should have same bihavior as manually created and confirmed one. The feedback templates should be loaded and feedback not published. Prior this commit: When we create appraisal from cron, the template is not loaded. Also both feedbacks are published. After this commit: The appraisal that is created from cron, has loaded templates and employee and manager feedbacks are not published. Forward-Port-Of: odoo/enterprise#49773
Remove useless code Forward-Port-Of: odoo/enterprise#49707
Original PR description
Remove useless code Forward-Port-Of: odoo/enterprise#49707
Forward-Port-Of: odoo/enterprise#49925 Community: https://github.com/odoo/odoo/pull/140594
Original PR description
Forward-Port-Of: odoo/enterprise#49925 Community: https://github.com/odoo/odoo/pull/140594
…mplate Forward-Port-Of: odoo/enterprise#49782
Original PR description
…mplate Forward-Port-Of: odoo/enterprise#49782
The last ones where expires and do not let us to make any functional tests on runbot, and the unit tests where failing If we go to settings > Accounting > Argentinean Localization. Button test connection we receive this error  with this PR the certificate are working  Forward-Port-Of: odoo/ente
Original PR description
The last ones where expires and do not let us to make any functional tests on runbot, and the unit tests where failing If we go to settings > Accounting > Argentinean Localization. Button test connection we receive this error  with this PR the certificate are working  Forward-Port-Of: odoo/enterprise#49886
Before this PR, On the Products page(/shop), when all the options on the left panel(attributes and categories) are disabled, then the width of the page is not adapted to the width of the website. The issue occurs after installing the Rental(website_sale_renting) module because we set the value for [hasLeftColumn](https://github.com/odoo/enterprise/blob/16.0/website_sale_renting/views/templates.xml#L217) directly, so we always get hasLeftColumn(left panel) even after all options are disabl
Original PR description
Before this PR, On the Products page(/shop), when all the options on the left panel(attributes and categories) are disabled, then the width of the page is not adapted to the width of the website. The issue occurs after installing the Rental(website_sale_renting) module because we set the value for [hasLeftColumn](https://github.com/odoo/enterprise/blob/16.0/website_sale_renting/views/templates.xml#L217) directly, so we always get hasLeftColumn(left panel) even after all options are disabled After this PR, we set the value for the left panel based on the condition so that when all the options are disabled the Product page adapts the width of the website task-3267971 Forward-Port-Of: odoo/enterprise#41616
Hides preparation display category filter by default. task-id: 3572362 Forward-Port-Of: odoo/enterprise#49734
Original PR description
Hides preparation display category filter by default. task-id: 3572362 Forward-Port-Of: odoo/enterprise#49734
The web_studio clickbot qunit test fails after October because of a hard coded month. It needs to be refactored but let's skip it in emergency. Forward-Port-Of: odoo/enterprise#49983
Original PR description
The web_studio clickbot qunit test fails after October because of a hard coded month. It needs to be refactored but let's skip it in emergency. Forward-Port-Of: odoo/enterprise#49983
Before this commit, a user for a swiss company having hr rights but no payroll rights wouldn't be able to access employees because of the `l10n_ch_children` o2m field on `l10n.ch.hr.employee.children` which is supposed to be only accessed by payroll officers. This commit adds a group to the field so that only the users with the correct access rights can see it. Forward-Port-Of: odoo/enterprise#49896
Original PR description
Before this commit, a user for a swiss company having hr rights but no payroll rights wouldn't be able to access employees because of the `l10n_ch_children` o2m field on `l10n.ch.hr.employee.children` which is supposed to be only accessed by payroll officers. This commit adds a group to the field so that only the users with the correct access rights can see it. Forward-Port-Of: odoo/enterprise#49896
5 changes
Resolved issues and error corrections
This update fixes a display issue where forum posts shared from helpdesk tickets were missing a space between the post name and the forum post indicator. When users share a helpdesk ticket to a forum and view the post, the text now displays correctly with proper spacing in the ticket's activity log.
Original PR description
Steps: - In helpdesk ticket click on share on forum - click on create and view post - it will redirect to website - click back and see the chatter of the helpdesk ticket Issue: - missing space between name of the post and forum post created Fix: - we have added a space from the place where the message is posted task-3463622 Forward-Port-Of: odoo/enterprise#46224
A test in the Web Studio module was failing after October due to a hardcoded month value in the test code. This fix temporarily disables the problematic test to prevent system failures, with plans to properly refactor it later.
Original PR description
The web_studio clickbot qunit test fails after October because of a hard coded month. It needs to be refactored but let's skip it in emergency. Forward-Port-Of: odoo/enterprise#49983
A technical issue was preventing account reports from properly saving configuration options due to incompatible data format. The team resolved this by removing an unused option that was causing the problem, ensuring reports function smoothly without affecting any user-facing features.
Original PR description
A bug was caused by trying to converting the options that contained a set into json. We fix it by removing the option that used the set as it doesn't seem to be used anymore.
This fix reorganizes the timesheet menu structure to give timesheet managers access to the tips menu, which was previously unavailable to them. This improves manager capabilities by allowing them to view helpful tips and guidance within the timesheet application.
Original PR description
This PR changes the timesheets menuitems order and groups so that the tips menu is available to timesheets managers, which was not the case before. task-3579920
Code cleanup and technical improvements
This update replaces an outdated search interface component in the Twitter integration with a modern, more maintainable version. The change removes legacy code dependencies and improves the overall system architecture without affecting how users interact with the feature.