Daily updates from Odoo
Monday, August 26, 2019
6 changes · master
Enhancements to existing features
This update removes an unnecessary wrapper from the event questions website template. It does not change what users see, but keeps the underlying module simpler and easier to maintain.
Original PR description
Description of the issue/feature this PR addresses: Since this is template extension, the `<data>` element has no effect. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
This update fixes error handling screens so they work properly in Microsoft Edge and Android WebView. It replaces newer JavaScript syntax with a more widely supported approach, reducing the risk of crashes or broken error messages for users on those browsers.
Original PR description
As of August 20 2019, Microsoft Edge partially supports ECMA2018. For instance, `Promise.prototype.finally()` can be used, but the spread operator does not work on objects. Note that we use `_.extend()` instead of `Object.assign()`, because Android WebView does not support `Object.assign()` as of August 20 2019. Task-ID 2056070
Creating a subcontractor contact could previously trigger an error and interrupt the workflow. This fix adds the missing subcontractor contact type so users can create subcontractors normally in manufacturing subcontracting processes.
Original PR description
Task:https://www.odoo.com/web?#id=2058434&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.5f086f8c1b740d7bb62a0e035f2b9447 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Return Picking wizard now correctly shows the refund option when used from Sales. This prevents users from missing an important refund setting during product returns, reducing manual follow-up and billing mistakes.
Original PR description
Task: https://www.odoo.com/web?#id=2058574&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.3560886c962a4a293470e4968cf6aa03
This fix updates several Odoo Enterprise screens so they work correctly in Microsoft Edge and Android WebView. It helps users access document search, messaging, and VoIP features reliably across supported browsers and devices.
Original PR description
*: documents, mail_enterprise, voip As of August 20 2019, Microsoft Edge partially supports ECMA2018. For instance, `Promise.prototype.finally()` can be used, but the spread operator does not work on objects. Note that we use `_.extend()` instead of `Object.assign()`, because Android WebView does not support `Object.assign()` as of August 20 2019. Task-ID 2056070
Features or functions removed from Odoo
The website sitemap template no longer includes unused fields that were never populated. This cleanup reduces confusion in the code without changing how website visitors or search engines experience the sitemap.
Original PR description
Sitemap generation python side set `__priority` and `__lastmod`. Sitemap view tries to read `priority` and `lastmod` which is never set. It also tried to read `changefreq` which is also never set. Code introduced with 54d30d5194 Related to #35464