Monday, May 8, 2017
1 change · master
Enhancements to existing features
This change reorganizes how validation and refusal permission checks are handled in Time Off. It makes those rules easier to customize for organizations that need different approval policies, without changing the user-facing workflow.
Original PR description
Description of the issue/feature this PR addresses: This PR moves security check for validation/refuse on hr_holidays in separeted method to allow to modify these rules properly. Current behavior before PR: Currently, it's not possible de modify the security check on holidays validation/refuse. Desired behavior after PR is merged: Have the possibility to modify these rules. Forward port of #16491 CC @mart-e -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr