Monday, August 1, 2022
1 change · master
Features or functions removed from Odoo
This change removes the separate website-specific UTM component because the main website module already includes the needed UTM support. It also moves tracking response updates to a more reliable stage so cookies or headers can be applied consistently, including error or fallback pages.
Original PR description
`_post_dispatch` is a late addition to the httpocalypse. It can be used to alter the response object e.g. to inject headers or cookies. The function is automatically called for regular, fallback and error responses. On the other hand, `_dispatch` is only called when an endpoint is matched and might not return a response in case of error. Task: 2839031 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