mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 09:12:11 +01:00 
			
		
		
		
	PC Kfet can update profile section while renewing memberships
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
		@@ -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
 | 
			
		||||
            user.profile.save()
 | 
			
		||||
 | 
			
		||||
        # Credit note before the membership is created.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user