forked from DGNum/gestioCOF
Fix le transfert des reventes
Il y avait une typo qui causait une erreur quand on voulait transférer une revente.
This commit is contained in:
parent
af817534e4
commit
12ae10f2c4
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