Commit 2c002ce4 authored by alexAubin's avatar alexAubin
Browse files

Reimplement old behavior: change member status when registering a new membership fee

parent 7b4fe86e
......@@ -520,6 +520,11 @@ class MembershipFee(Bill):
def save(self, *args, **kwargs):
super(MembershipFee, self).save(*args, **kwargs)
today =
if self.start_date <= today and today <= self.end_date:
self.member.status = self.member.MEMBER_STATUS_MEMBER
if not self.pdf_exists():
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment