-
-
Notifications
You must be signed in to change notification settings - Fork 672
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
[12.0][MIG] resource_multi_week_calendar #1389
base: 12.0
Are you sure you want to change the base?
[12.0][MIG] resource_multi_week_calendar #1389
Commits on Sep 2, 2024
-
[ADD] resource_multi_week_calendar
Signed-off-by: Carmen Bianca BAKKER <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 86d6a4b - Browse repository at this point
Copy the full SHA 86d6a4bView commit details -
[IMP] resource_multi_week_calendar: Implement computation of current …
…calendar This is the bones of the implementation. Signed-off-by: Carmen Bianca BAKKER <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9559926 - Browse repository at this point
Copy the full SHA 9559926View commit details -
[IMP] resource_multi_week_calendar: Create form view
Signed-off-by: Carmen Bianca BAKKER <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e20e8a - Browse repository at this point
Copy the full SHA 2e20e8aView commit details -
[IMP] resource_multi_week_calendar: Implement _attendance_intervals_b…
…atch This is the real implementation work. With this method implemented, all other methods correctly get the correct week each time. Signed-off-by: Carmen Bianca BAKKER <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f9cf0b9 - Browse repository at this point
Copy the full SHA f9cf0b9View commit details -
[REF] resource_multi_week_calendar: Simplify epoch date
The epoch date is hidden on the child anyway. Let's just hide it, and always make sure to get the parent's epoch date. This gets rid of the complicated computation stuff that won't backport well to v12. Signed-off-by: Carmen Bianca BAKKER <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 551497a - Browse repository at this point
Copy the full SHA 551497aView commit details -
[REF] resource_multi_week_calendar: Parent calendar no longer uses it…
…s attendances The idea here is that the children contain all the logic/attendances, and the parent is just a holder of children. Signed-off-by: Carmen Bianca BAKKER <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df1a6ba - Browse repository at this point
Copy the full SHA df1a6baView commit details -
[IMP] resource_multi_week_calendar: Display only parents by default
Signed-off-by: Carmen Bianca BAKKER <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a8c3c88 - Browse repository at this point
Copy the full SHA a8c3c88View commit details -
[IMP] resource_multi_week_calendar: Add roadmap
Signed-off-by: Carmen Bianca BAKKER <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 51269f6 - Browse repository at this point
Copy the full SHA 51269f6View commit details -
[FIX] resource_multi_week_calendar: Hide two-week calendar
Signed-off-by: Carmen Bianca BAKKER <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a1a39c1 - Browse repository at this point
Copy the full SHA a1a39c1View commit details
Commits on Sep 3, 2024
-
[IMP] resource_multi_week_calendar: Add convenience function
I need this elsewhere. It _technically_ reduces performance by doing the same calculation twice, but this module is horrible as pertains to performance in any case. Signed-off-by: Carmen Bianca BAKKER <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a012ba - Browse repository at this point
Copy the full SHA 8a012baView commit details
Commits on Sep 9, 2024
-
[REF] resource_multi_week_calendar: Miscelleanous changes
- `parent_calendar_id` is now `ondelete="cascade"`. - Renamed `family_calendar_ids` to `multi_week_calendar_ids`. - Renamed `current_calendar_id` to `current_multi_week_calendar_id`. - Renamed `_get_calendar` to `_get_multi_week_calendar`. Signed-off-by: Carmen Bianca BAKKER <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ae76e1 - Browse repository at this point
Copy the full SHA 7ae76e1View commit details -
[IMP] resource_multi_week_calendar: Improve roadmap
Signed-off-by: Carmen Bianca BAKKER <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ccedcc3 - Browse repository at this point
Copy the full SHA ccedcc3View commit details -
[IMP] resource_multi_week_calendar: Improve comments and simplify code
- Improved the comment on how week_sequence works. - Renamed family_size to calendar_count - Added a comment on _get_multi_week_calendar() returning a 1-item recordset. - Re-optimised the current week calculation. Signed-off-by: Carmen Bianca BAKKER <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1bfbfb3 - Browse repository at this point
Copy the full SHA 1bfbfb3View commit details -
[FIX] resource_multi_week_calendar: Hide hours_per_day on parent cale…
…ndar Signed-off-by: Carmen Bianca BAKKER <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c12cc65 - Browse repository at this point
Copy the full SHA c12cc65View commit details -
[MIG] resource_multi_week_calendar: Backport to 12.0
Signed-off-by: Carmen Bianca BAKKER <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1d4db07 - Browse repository at this point
Copy the full SHA 1d4db07View commit details