Monday, April 16, 2018
1 change · master
Resolved issues and error corrections
This fix lets standard purchase users save purchase orders with product lines without being blocked by a permissions error. It prevents the order line from trying to update product records unnecessarily, so purchases can continue through the approval flow as expected.
Original PR description
Task : https://www.odoo.com/web?debug#id=1818787&view_type=form&model=project.task&action=327&menu_id=4720 Pad : https://pad.odoo.com/p/r.d3b2047e143dc4a698ac859eaf8fb203 Description of the issue/feature this PR addresses: Steps to reproduce : - Login as admin to set "Two Steps approval" (5000 min) - Login as demo - Create a PO gives access error like this.. Sorry, you are not allowed to modify this document. Only users with the following access level are currently allowed to do that: - Accounting & Finance/Billing Manager - Inventory/Manager - Purchases/Manager (Document model: product.product) Current behavior before PR: Doesn't let me save the order line having product_id Desired behavior after PR is merged: Should let me save the order (and move to the approve step) -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr