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

[FIX] beesdoo_shift: Check working mode as well as shift_id #390

Merged
merged 5 commits into from
May 26, 2022

Conversation

carmenbianca
Copy link
Collaborator

Description

Previously the error would be shown when changing a regular worker to an
irregular worker, because the shift_id field was not erased.

Odoo task (if applicable)

https://gestion.coopiteasy.be/web#view_type=form&model=project.task&id=8482&active_id=8482&menu_id=

Checklist before approval

  • Tests are present (or not needed).
  • Credits/copyright have been changed correctly.
  • (If a new module) Moving this to OCA has been considered.

@codecov-commenter
Copy link

Codecov Report

Merging #390 (f45ef54) into 12.0 (a23e23c) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             12.0     #390   +/-   ##
=======================================
  Coverage   69.20%   69.20%           
=======================================
  Files         109      109           
  Lines        3445     3445           
  Branches      603      603           
=======================================
  Hits         2384     2384           
  Misses        948      948           
  Partials      113      113           
Impacted Files Coverage Δ
beesdoo_shift/wizard/subscribe.py 59.77% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a23e23c...f45ef54. Read the comment docs.

@carmenbianca
Copy link
Collaborator Author

When approved, let's try merging this with OCA bot. It's a patch-level fix.

Previously the error would be shown when changing a regular worker to an
irregular worker, because the `shift_id` field was not erased.

Signed-off-by: Carmen Bianca Bakker <[email protected]>
Signed-off-by: Carmen Bianca Bakker <[email protected]>
@remytms remytms force-pushed the 12.0-fix-regular-to-irregular branch from 6877943 to f416a46 Compare May 26, 2022 15:32
Copy link
Collaborator

@remytms remytms left a comment

Choose a reason for hiding this comment

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

LGTM

@remytms remytms merged commit bb21f50 into 12.0 May 26, 2022
@remytms remytms deleted the 12.0-fix-regular-to-irregular branch May 26, 2022 16:55
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.

5 participants