Verified Commit 15dd2b8f authored by ynerant's avatar ynerant

PC Kfet can update profile section while renewing memberships

Signed-off-by: ynerant's avatarYohann D'ANELLO <>
parent c540b633
Pipeline #6054 passed with stages
in 9 minutes and 31 seconds
......@@ -746,6 +746,7 @@ class ClubAddMemberView(ProtectQuerysetMixin, ProtectedCreateView):
# When we renew the BDE membership, we update the profile section
# that should happens at least once a year.
user.profile.section = user.profile.section_generated
user.profile._force_save = True
# Credit note before the membership is created.
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