Wednesday, November 2, 2022
19 changes · master
Enhancements to existing features
The settings screens for Documents and spreadsheets were adjusted to make configuration clearer and more consistent. This helps users find and manage document-related options with less confusion.
This update streamlines how several Odoo views are defined behind the scenes in Approvals, Knowledge, and Sign. It reduces duplicated setup work for developers, helping make future maintenance and improvements faster with little direct impact on day-to-day users.
Original PR description
*: approvals, knowledge, sign This commit adds definition of component template in the models. This allows not defining JS of component for most view models. Task-3053061 Community: https://github.com/odoo/odoo/pull/104641
The Helpdesk ticket form now presents SLA tags and SLA deadlines with better alignment. This makes ticket information easier to read for support teams without changing any underlying workflow or data.
Original PR description
Currently, In the helpdesk ticket form view the SLA tags and the SLA deadline are not correctly aligned. So in this commit, improve the UI and adjust the dom element accordingly. task-3002298
This update is intended to let users avoid receiving notifications simply because they are marked as responsible. It helps reduce unnecessary alerts and gives teams more control over which messages reach them.
Original PR description
Task-3032570
The document-related settings pages have been adjusted to make options easier to review and manage. This helps users configure Documents and spreadsheet-related document features with a clearer, more polished interface.
Resolved issues and error corrections
This update prevents errors when opening Belgian salary advantage records that use certain calculated contract fields. It also ensures the 13th Month benefit can correctly reference holiday-inclusive wages without triggering unnecessary recalculations.
Original PR description
…es_field_public and res_field_public selections The - cost_res_field_public and res_field_public - are selection fields consisting of 'hr.contract' fields. By default non-stored fields are not in…
Features or functions removed from Odoo
An obsolete internal Helpdesk code path was removed because it no longer had any effect. This cleanup reduces maintenance overhead without changing how users work with helpdesk tickets.
Original PR description
`with_context(norecompute=True)` does nothing and the return value was not save anyway. https://github.com/odoo/odoo/pull/99550
Miscellaneous changes
Before this commit, the customer city is only visible when the customer set on the task is a company. This commit also displays the partner's city when the customer is not a company. task-2960247 Forward-Port-Of: odoo/enterprise#32708
Original PR description
Before this commit, the customer city is only visible when the customer set on the task is a company. This commit also displays the partner's city when the customer is not a company. task-2960247 Forward-Port-Of: odoo/enterprise#32708
…es_field_public and res_field_public selections The - cost_res_field_public and res_field_public - are selection fields consisting of 'hr.contract' fields. By default non-stored fields are not in the selection, unless we add them via _advantage_white_list method. Prior, some of the computed non stored fields that are used in the Advantages were not added explicitly and it caused traceback when we clicked on the records of those advantages that have non-stored fields set for cost_res_field_id and res_field_id. Moreover, prior wage_with_holidays was backlisted. it causes issues for the advantage "13th Month", where res_field_id is set to wage_with_holidays and as the field is blacklisted we have issues when res_field_public is computed as the field is not in the selection. Maybe wage_with_holidays was blacklisted as it does not make sense to set it to cost_res_field_id and cost_res_field_public consequently, but as cost_res_field_public and res_field_public use the same method to get fields, backlisting wage_with_holidays causes an issue.
Fix some post-release issues with new views / owl [FIX] social: restore campaign form access [FIX] social: use correct default value type for mediaType [FIX] social{_sale}: disable engagement stat button. [FIX] social_push_notifications: remove o2m from group tag [FIX] social: fix kanban view stats overflow. Task-3016141 Forward-Port-Of: odoo/enterprise#32715
Original PR description
Fix some post-release issues with new views / owl
[FIX] social: restore campaign form access
[FIX] social: use correct default value type for mediaType
[FIX] social{_sale}: disable engagement stat button.
[FIX] social_push_notifications: remove o2m from group tag
[FIX] social: fix kanban view stats overflow.
Task-3016141
Forward-Port-Of: odoo/enterprise#32715Steps: - Sales - Edit form view with studio - Edit subview list - Select product We can disable creation and opening with many2one but we can't with product_configurator widget opw-3000408 Forward-Port-Of: odoo/enterprise#32816
Original PR description
Steps: - Sales - Edit form view with studio - Edit subview list - Select product We can disable creation and opening with many2one but we can't with product_configurator widget opw-3000408 Forward-Port-Of: odoo/enterprise#32816
Bug description: ---------------- When accessing `/knowledge/home` with a portal user when the user has not access to any article, one gets an error 500. Cause: ------ knowledge_website frontend template overrides a rendering condition of the overridden template, causing the favorite button to be rendered even if no article is given. The id of the article is used to render this button, which fails when no article is given. Fix: ---- Add the rendering condition of the overridden templ
Original PR description
Bug description: ---------------- When accessing `/knowledge/home` with a portal user when the user has not access to any article, one gets an error 500. Cause: ------ knowledge_website frontend template overrides a rendering condition of the overridden template, causing the favorite button to be rendered even if no article is given. The id of the article is used to render this button, which fails when no article is given. Fix: ---- Add the rendering condition of the overridden template in the knowledge_website template as well. Task-3040876 Forward-Port-Of: odoo/enterprise#33142
Following this recently merged fix: https://github.com/odoo/enterprise/commit/8b8c65460e60dd5434eeb2a93898bf3f080e57c7 The use case is identical, except that we are fixing the "Impacted Tax Grids" box here. opw-3039514 Forward-Port-Of: odoo/enterprise#33486
Original PR description
Following this recently merged fix: https://github.com/odoo/enterprise/commit/8b8c65460e60dd5434eeb2a93898bf3f080e57c7 The use case is identical, except that we are fixing the "Impacted Tax Grids" box here. opw-3039514 Forward-Port-Of: odoo/enterprise#33486
Bank statements import-specific fields are now displayed above the form because of the invisible `bank_statements_source`. Specify the correct field using a group name to move import fields below the right `bank_statements_source` field. task-3046427 Forward-Port-Of: odoo/enterprise#33345
Original PR description
Bank statements import-specific fields are now displayed above the form because of the invisible `bank_statements_source`. Specify the correct field using a group name to move import fields below the right `bank_statements_source` field. task-3046427 Forward-Port-Of: odoo/enterprise#33345
Steps to reproduce: 1. go to documents app 2. change the tags linked to a workspace 3. try to save After getting in touch with the author, it seems that the problem is on the side of owl2. And they are trying to fix it, I was told to just delete the custom buttons tags to leave the native working ones. opw-3025591 Forward-Port-Of: odoo/enterprise#33440
Original PR description
Steps to reproduce:
1. go to documents app
2. change the tags linked to a workspace
3. try to save
After getting in touch with the author, it seems that the problem is on the side of owl2.
And they are trying to fix it, I was told to just delete the custom buttons tags to leave the
native working ones.
opw-3025591
Forward-Port-Of: odoo/enterprise#33440Purpose ======= We don't use the properties field in the helpdesk kanban view. Because of this, we want to hide the option "View In Kanban" in the properties definition. Task-3012780 Forward-Port-Of: odoo/enterprise#32594
Original PR description
Purpose ======= We don't use the properties field in the helpdesk kanban view. Because of this, we want to hide the option "View In Kanban" in the properties definition. Task-3012780 Forward-Port-Of: odoo/enterprise#32594
Cannot call the first partner if partner only has a mobile number task-3046595 Forward-Port-Of: odoo/enterprise#33400
Original PR description
Cannot call the first partner if partner only has a mobile number task-3046595 Forward-Port-Of: odoo/enterprise#33400
Multiple fixes on sale_subscription Task_id : 2985726 Forward-Port-Of: odoo/enterprise#33262 Forward-Port-Of: odoo/enterprise#31150
Original PR description
Multiple fixes on sale_subscription Task_id : 2985726 Forward-Port-Of: odoo/enterprise#33262 Forward-Port-Of: odoo/enterprise#31150
This PR fixes the following issues: - The reference year is formatted with a comma between the thousands and the hundreds - The field `form_281_50_ids` in `form_325_view_form` doesn't occupy all of the available place - If information about partners is missing, editing them in the tree view triggered errors By: - Making the reference year a `Char` instead of an `Integer` - Removing the group tag around the field `form_281_50_ids` - Setting the fields as optional in `res_partner_vie
Original PR description
This PR fixes the following issues: - The reference year is formatted with a comma between the thousands and the hundreds - The field `form_281_50_ids` in `form_325_view_form` doesn't occupy all of the available place - If information about partners is missing, editing them in the tree view triggered errors By: - Making the reference year a `Char` instead of an `Integer` - Removing the group tag around the field `form_281_50_ids` - Setting the fields as optional in `res_partner_views.xml` Task : 3044798 Forward-Port-Of: odoo/enterprise#33076
The previous SEPA version used for Germany will be obsolete in November. Germany now uses 001.001.03 instead. The technical label of the corresponding value of res.company's pain_version field hasn't been changed in order not to break the stability policy, but will be modified in master. Also removed useless files. source: [LINK] task-id: 2985052 [LINK]: https://www.ebics.de/de/datenformate/format-lifecycle Forward-Port-Of: odoo/enterprise#31470
Original PR description
The previous SEPA version used for Germany will be obsolete in November. Germany now uses 001.001.03 instead. The technical label of the corresponding value of res.company's pain_version field hasn't been changed in order not to break the stability policy, but will be modified in master. Also removed useless files. source: [LINK] task-id: 2985052 [LINK]: https://www.ebics.de/de/datenformate/format-lifecycle Forward-Port-Of: odoo/enterprise#31470