Daily updates from Odoo
Monday, October 23, 2017
3 changes · master
Enhancements to existing features
This improves how website pages keep track of the template and view being rendered, even after the page response is processed. It helps related business features, such as CRM tracking, identify the correct page without extra lookups, improving reliability and efficiency behind the scenes.
Original PR description
This commit is related to enterprise commit adding crm_track option to @routes. Before this commit: 1. We could not get template's name after dispatch() had been called. Indeed, it will remove the…
This commit is related to enterprise commit adding crm_track option to @routes. Before this commit: 1. We could not get template's name after dispatch() had been called. Indeed, it will remove the template name from the response (response.flatten()) to make it not considered as 'qweb' anymore (is_qweb()). We need the template in some case. Eg: In case of website_crm_score, after the dispatch() we still need the template's name to retrieve the @route's view being rendered to check if it was trackable or not. 2. To make an RPC that directly READ or WRITE to a record, we need its ID. In case of a page with a main object other than ir.ui.view, we would need to make extra RPC to get the view's id of the page based on the view's name that we got on the HTML data attributes. Now: 1. On response's INIT, we store a copy of the template's name. 2. We set the view's ID on HTML data attributes clientside. 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
Resolved issues and error corrections
Deleting a survey no longer causes an unexpected error. This improves reliability for users managing surveys and helps prevent interruptions during cleanup or administration tasks.
Original PR description
Description of the issue/feature this PR addresses: ISSUE ID - https://www.odoo.com/web#id=772042&view_type=form&model=project.issue&action=609&menu_id=4720 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
Documentation and clarification updates
This update adds the contributor license agreement record for the contributor and corrects a spelling mistake from “builded” to “built.” It is a minor administrative and wording change with no expected impact on product behavior.
Original PR description
Description of the issue/feature this PR addresses: Spelling Correction and CLA Current behavior before PR: CLA absent and builded spelling Desired behavior after PR is merged: CLA present and built spelled correctly -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr