Thursday, November 2, 2023
15 changes · master
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.
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
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
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