Skip to content

Commit

Permalink
[FIX] education_group_mail_list: wrong leaf (#1260)
Browse files Browse the repository at this point in the history
  • Loading branch information
oihane committed Sep 21, 2021
1 parent 1ff3a5f commit bba0db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion education_group_mail_list/models/mail_mass_mailing_list.py
Expand Up @@ -102,7 +102,7 @@ def _mailing_list_automatic_sync(self):
mailing_lists = self.search(
[('dynamic', '=', True),
'|',
('academic_year_id.end_date', '>=',
('academic_year_id.date_end', '>=',
fields.Date.context_today(self)),
('academic_year_id', '=', False)])
if mailing_lists:
Expand Down

0 comments on commit bba0db4

Please sign in to comment.