• Jérome Perrin's avatar
    calendar: Group Presence Period repeat only for the duration of the Group Calendar Assignment · 2c54e0f5
    Jérome Perrin authored
    We should be able to configure a group calendar saying that the pattern
    is "from 9:00 to 12:00, repeat every monday morning" with a group
    calendar assignment saying "use this pattern from 01/01/2016 until
    31/12/2016" and then create another group calendar assignment for 2017
    without having to change the periodicity stop date on all presence
    periods of the group calendar.
    
    I think it should repeat from group calendar assignment's start date
    until min(group calendar assignment's stop date, presence period's
    periodicity stop date).
    
    (cherry picked from commit b42a9c112d59454a42c0b5a0fd62d71a7fcd4202)
    2c54e0f5
document.erp5.GroupCalendarAssignment.py 3.95 KB