Daily updates from Odoo
Wednesday, January 15, 2020
1 change
Resolved issues and error corrections
This fix removes unintended accounting access from stock managers while preserving the stock valuation actions they need. Stock managers can still work with stock accounting records where appropriate, but broader billing permissions are no longer granted automatically.
Original PR description
The inheritance of account billing group gives stock managers the access to account module. This commit is to remove this inheritance. When we need to access account.move model, check if the user is a stock manager. If so, use sudo() to get the access. 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