Merge branch 'Aufinal/fix-revente-transfer' into 'master'
Fix le transfert des reventes See merge request cof-geek/gestioCOF!302
This commit is contained in:
commit
96416bffea
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ def revente_manage(request, tirage_id):
|
|||
soldform = SoldForm(participant, request.POST, prefix='sold')
|
||||
if soldform.is_valid():
|
||||
reventes = soldform.cleaned_data['reventes']
|
||||
for reventes in reventes:
|
||||
for revente in reventes:
|
||||
revente.attribution.participant = revente.soldTo
|
||||
revente.attribution.save()
|
||||
|
||||
|
|
Loading…
Reference in a new issue