Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hr_holidays_auto_approve: overwrites tracking_disable=True #498

Closed
gurneyalex opened this issue Oct 30, 2018 · 0 comments
Closed

hr_holidays_auto_approve: overwrites tracking_disable=True #498

gurneyalex opened this issue Oct 30, 2018 · 0 comments

Comments

@gurneyalex
Copy link
Member

If I create a holiday with tracking_disable = True and a holiday type with auto approve false, I expect that no emails are going to be sent. However this line:

https://github.com/OCA/hr/blob/10.0/hr_holidays_leave_auto_approve/models/hr_holidays.py#L21

bypasses the value I put in the context.

gurneyalex added a commit to gurneyalex/hr that referenced this issue Oct 30, 2018
If tracking is disabled through the context, the module should not
reenable it.

closes OCA#498
gurneyalex added a commit to gurneyalex/hr that referenced this issue Oct 30, 2018
If tracking is disabled through the context, the module should not
reenable it.

closes OCA#498
gurneyalex added a commit to camptocamp/hr that referenced this issue Oct 30, 2018
If tracking is disabled through the context, the module should not
reenable it.

closes OCA#498
gurneyalex added a commit to gurneyalex/hr that referenced this issue Oct 30, 2018
If tracking is disabled through the context, the module should not
reenable it.

closes OCA#498
gurneyalex added a commit to gurneyalex/hr that referenced this issue Oct 30, 2018
If tracking is disabled through the context, the module should not
reenable it.

closes OCA#498
gurneyalex added a commit to camptocamp/hr that referenced this issue Oct 30, 2018
If tracking is disabled through the context, the module should not
reenable it.

closes OCA#498
gurneyalex added a commit to camptocamp/hr that referenced this issue Oct 31, 2018
If tracking is disabled through the context, the module should not
reenable it.

closes OCA#498
ovnicraft pushed a commit to prisehub/hr that referenced this issue Nov 14, 2018
If tracking is disabled through the context, the module should not
reenable it.

closes OCA#498
hhgabelgaard pushed a commit to steingabelgaard/hr that referenced this issue Dec 30, 2018
If tracking is disabled through the context, the module should not
reenable it.

closes OCA#498
i-vyshnevska pushed a commit to i-vyshnevska/hr that referenced this issue Mar 12, 2019
If tracking is disabled through the context, the module should not
reenable it.

closes OCA#498
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant