odoo
odoo copied to clipboard
[FW][FIX] sale_project: e-commerce delivered_milestones
Steps to reproduce:
Create a Service Product with the Invoicing Policy "Based on Milestones" and publish its eCommerce page. When logged out, click on "Add to Cart" on the product's eCommerce page. an error message occurs
Bug: since this commit1 "delivered_milestones" is only a valid selection for users with the group "group_project_milestone"
Fix: compute the field as sudo to avoid access error but still only allow the correct group to manually set that value
opw-3892462
Forward-Port-Of: odoo/odoo#164714
This PR targets saas-16.3 and is part of the forward-port chain. Further PRs will be created up to master.
More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port
@hanniche-walid @xavierbol the next pull request (odoo/odoo#165133) is in conflict. You can merge the chain up to here by saying
@fw-bot r+
More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port
@fw-bot r+