Daily updates from Odoo
Thursday, July 28, 2022
2 changes · master
Resolved issues and error corrections
Customers using a portal access link can now complete payment for a sales order even when they do not have broader editing permissions. The change aligns subscription payment access checks with standard portal behavior, reducing failed payments and support issues.
Original PR description
…assignment If you access (and pay) for a SO with the portal access token, but you don't have generic write rights on it, the token assignment step will raise. This commit (and its community counterpart) make sure the assign_token route follows the generic behavior of portal routes, relying on _document_check_access to make sure the user is allowed to access (& edit) the record. Community PR: https://github.com/odoo/odoo/pull/94020
Worksheet templates now use the correct field information when being generated, preventing missing or incorrect template content. Related field service tests were updated to confirm that portal worksheet content appears as expected when reporting features are installed.
Original PR description
Prior to this commit and since odoo/enterprise#23783, the templates were no more correctly generated since fields info were no more retrieved as `field_name` was passed as a string rather than its value. This commit fixes that issue.