Skip to content

[18.0][FIX] hr_contract_employee_calendar_planning: avoid errors with…#1537

Open
FernandoRomera wants to merge 1 commit intoOCA:18.0from
FernandoRomera:18.0-fromera-hr_leave
Open

[18.0][FIX] hr_contract_employee_calendar_planning: avoid errors with…#1537
FernandoRomera wants to merge 1 commit intoOCA:18.0from
FernandoRomera:18.0-fromera-hr_leave

Conversation

@FernandoRomera
Copy link
Copy Markdown
Contributor

… hr_leave

Copy link
Copy Markdown
Contributor

@alexey-pelykh alexey-pelykh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Using with_context(no_leave_resource_calendar_update=True) to prevent the unwanted side effect makes sense. Clean fix, LGTM

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

Successfully merging this pull request may close these issues.

2 participants