Skip to content

Commit

Permalink
[FIX] portal_event_tickets: fixed error in communications
Browse files Browse the repository at this point in the history
  • Loading branch information
kwhatk0k3 authored and em230418 committed Nov 26, 2024
1 parent 357ceed commit c502e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portal_event_tickets/models/event_mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _compute_scheduled_date(self):
super(EventMailScheduler, rself)._compute_scheduled_date()
continue

if rself.event_id.state not in ["confirm", "done"]:
if not rself.event_id.is_done:
rself.scheduled_date = False
else:
date, sign = rself.event_id.create_date, 1
Expand Down

0 comments on commit c502e43

Please sign in to comment.