[17.0][IMP] hr_shift: add active to shift templates#34
Conversation
1bef8fc to
07b6853
Compare
|
Before merging, do you think we should apply any restriction to archive if there's something related? |
|
what kind of restriction you're thinking of? In our case, we need to archive the shifts because they won't be used anymore, but they have been used in the past |
|
I'm thinking of not letting archive it if still in use, but not sure how to achieve that or if it makes sense. |
|
I don't think it's necessary, because when we archive a shift that's still in use, the column in the kanban is still shown, you just can't select it for new allocations. |
|
Ok then. /ocabot merge minor |
|
On my way to merge this fine PR! |
|
Congratulations, your PR was merged at a4458c6. Thanks a lot for contributing to OCA. ❤️ |
Add active field to
hr.shift.templatemodel to allow archive shifts that are no longer in use.