Add option to allow force assignment with leave conflict in RotaBuilder

This commit is contained in:
Ross
2025-09-17 21:35:52 +01:00
parent 47bfb16891
commit e1aec5011c
2 changed files with 28 additions and 11 deletions
+1
View File
@@ -322,6 +322,7 @@ def main(
weeks_to_rota=weeks,
balance_offset_modifier=bom,
name="cons rota test",
allow_force_assignment_with_leave_conflict=True,
)
# Rota = RotaBuilder(start_date, weeks_to_rota=20, balance_offset_modifier=1)
Rota.constraint_options["balance_weekends"] = True