#3538 (New model mixin DateRangeObservable)
by Luc Saffre · in Developers · assigned to Luc Saffre
Résumé
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).
Concepts sous-jacents
Commentaires
- 6 ans, 7 mois 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).