#3538 (New model mixin DateRangeObservable)
by Luc Saffre · in Developers · assigned to Luc Saffre
Kokkuvõte
This mixin was needed because in Presto we want to filter Partners based on date ranges (with a custom ObservedEvent). But splitting it out of DateRange caused a MRO conflict in team because in lino.modlib.online.users we inherit from both User(DateRange) and Person(Partner).
Children
Kommentaarid
- 6 aastat, 7 kuud ago by Luc Saffre about #3538 (New model mixin DateRangeObservable) : Solution was to change the mixin declaration order in User from (..., DateRange, Printable) to (..., Printable, DateRange).