Daily updates from Odoo
Tuesday, February 22, 2022
14 changes · master
Enhancements to existing features
Helpdesk has been adjusted to stay compatible with a related change in how customer rating data is handled. This helps keep helpdesk feedback and satisfaction information working consistently after the underlying data move.
Original PR description
See community PR for more details.
Odoo now handles posting the same message across multiple records more efficiently in several business apps. This reduces unnecessary processing, especially when there are no recipients to notify, while keeping message behavior consistent for users.
Original PR description
+ mail override cleanup/improvements COM PR: https://github.com/odoo/odoo/pull/61237
The CRM Pipeline no longer shows dashboard and cohort views by default, reducing clutter and making the main pipeline easier to use. These more advanced views remain better suited for the Reporting area, helping users focus on day-to-day sales work.
Original PR description
We remove the dashboard and cohort views from the default Pipeline action. The purpose is to avoid to have too many complex buttons on this Pipeline. It's better suited to the Reporting menu. task-2760892
Resolved issues and error corrections
A typo introduced during a previous update prevented the file widget from appearing in SEPA payroll batches. This fix restores the expected display so payroll users can access the related file information again.
Original PR description
The commit aa95e275eec1 introduced a typo in the method name.
Miscellaneous changes
The method `_search_planning_overlap` doesn't take the assigned users of the overlapping tasks into account, and returns tasks that are not overlapping. This commit fixes the SQL query in this method to correctly consider the assigned users for the overlapping tasks. Task-2765539 Forward-Port-Of: odoo/enterprise#24632
Original PR description
The method `_search_planning_overlap` doesn't take the assigned users of the overlapping tasks into account, and returns tasks that are not overlapping. This commit fixes the SQL query in this method to correctly consider the assigned users for the overlapping tasks. Task-2765539 Forward-Port-Of: odoo/enterprise#24632
The supporting documents were only showing in Documents when they were uploaded after the leave was already in the database. This is due to the ID not known at the time the document is uploaded to the server. TaskID: 2741974 Forward-Port-Of: odoo/enterprise#24481
Original PR description
The supporting documents were only showing in Documents when they were uploaded after the leave was already in the database. This is due to the ID not known at the time the document is uploaded to the server. TaskID: 2741974 Forward-Port-Of: odoo/enterprise#24481
The Mexico Delivery Guide modifies the standard delivery slip to include the weight of each line. When Serial Numbers are printed on the Delivery slip, the weight of the related stock.move is a sum of all units while they are separated on each line - resulting in an increased weight. This commit adds a new computed field on stock move line, and uses this field on the report instead Forward-Port-Of: odoo/enterprise#24535 Forward-Port-Of: odoo/enterprise#24508
Original PR description
The Mexico Delivery Guide modifies the standard delivery slip to include the weight of each line. When Serial Numbers are printed on the Delivery slip, the weight of the related stock.move is a sum of all units while they are separated on each line - resulting in an increased weight. This commit adds a new computed field on stock move line, and uses this field on the report instead Forward-Port-Of: odoo/enterprise#24535 Forward-Port-Of: odoo/enterprise#24508
odoo/enterprise#23514 merged the pause & sell wizards into the 'modify' wizard - here we test those features. Task-2753067 Forward-Port-Of: odoo/enterprise#24483
Original PR description
odoo/enterprise#23514 merged the pause & sell wizards into the 'modify' wizard - here we test those features. Task-2753067 Forward-Port-Of: odoo/enterprise#24483
Reproduction: 1. Open a product page in the e-shop 2. Switch on “discussion and rating” 3. Install new language fr_BE 4. The “Average” in the rating section is not translated Reason: the “Average” translation for module portal_rating is overwritten by module web_cohort, so it isn't translated at the front-end Fix: Included a new ir_http.py file in the module web_cohort so its translation is included at the front-end. No changes in the module protal_rating opw-2747846 Forward-
Original PR description
Reproduction: 1. Open a product page in the e-shop 2. Switch on “discussion and rating” 3. Install new language fr_BE 4. The “Average” in the rating section is not translated Reason: the “Average” translation for module portal_rating is overwritten by module web_cohort, so it isn't translated at the front-end Fix: Included a new ir_http.py file in the module web_cohort so its translation is included at the front-end. No changes in the module protal_rating opw-2747846 Forward-Port-Of: odoo/enterprise#24387
When a date isn't set, we shouldn't convert to string, we were validating a string "False" instead of the boolean False. Forward-Port-Of: odoo/enterprise#24590
Original PR description
When a date isn't set, we shouldn't convert to string, we were validating a string "False" instead of the boolean False. Forward-Port-Of: odoo/enterprise#24590
When a date isn't set, we shouldn't convert to string, we were validating a string "False" instead of the boolean False. Forward-Port-Of: odoo/enterprise#24588
Original PR description
When a date isn't set, we shouldn't convert to string, we were validating a string "False" instead of the boolean False. Forward-Port-Of: odoo/enterprise#24588
**Current behavior before PR:** when scheduling a call activity and making the call with VOIP then end the call, the activity is resolved, and there is a note left on the chatter, but currently, it contains HTML. **Desired behavior after PR is merged:** The note will not contain any HTML content. Task-2717666 Forward-Port-Of: odoo/enterprise#24493 Forward-Port-Of: odoo/enterprise#23660
Original PR description
**Current behavior before PR:** when scheduling a call activity and making the call with VOIP then end the call, the activity is resolved, and there is a note left on the chatter, but currently, it contains HTML. **Desired behavior after PR is merged:** The note will not contain any HTML content. Task-2717666 Forward-Port-Of: odoo/enterprise#24493 Forward-Port-Of: odoo/enterprise#23660
How to reproduce the bug ? - Install the timesheet app - Open the timesheet app and view timesheets with the grid view - Create a new filter with task or project as field, equal or not equal as operator and a string as value Bug: When the grid view of the timesheet app is used and you want to create a filter on the task or the project with the operator "equal" or "not equal" and a string as value, there will be an error message. opw-2741766 Signed-off-by: Adrien Minet <admi@o
Original PR description
How to reproduce the bug ? - Install the timesheet app - Open the timesheet app and view timesheets with the grid view - Create a new filter with task or project as field, equal or not equal as operator and a string as value Bug: When the grid view of the timesheet app is used and you want to create a filter on the task or the project with the operator "equal" or "not equal" and a string as value, there will be an error message. opw-2741766 Signed-off-by: Adrien Minet <admi@odoo.com> Forward-Port-Of: odoo/enterprise#24373
For now adding a new field after payment_term_id.note is impossible because of a traceback this is due to the content of note which contains HTML inside a P tag and the payment_term_id.note is inside a P tag too which is forbidden https://stackoverflow.com/questions/4291467/nesting-block-level-elements-inside-the-p-tag-right-or-wrong/4291608 This commit prevents the addition of new blocks in incompatible places. It fallback to the last valid location opw-2739941 Forward-Port-Of: odoo/
Original PR description
For now adding a new field after payment_term_id.note is impossible because of a traceback this is due to the content of note which contains HTML inside a P tag and the payment_term_id.note is inside a P tag too which is forbidden https://stackoverflow.com/questions/4291467/nesting-block-level-elements-inside-the-p-tag-right-or-wrong/4291608 This commit prevents the addition of new blocks in incompatible places. It fallback to the last valid location opw-2739941 Forward-Port-Of: odoo/enterprise#24342