mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 11:53:12 +00:00
Merge branch 'mixin_hist' into 'master'
Commentaire sur le controle See merge request nounous/re2o!22
This commit is contained in:
commit
c0f1eb7acf
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,7 @@ from django.utils import timezone
|
|||
from django.views.decorators.csrf import csrf_exempt
|
||||
from django.views.decorators.debug import sensitive_variables
|
||||
# Import des models, forms et fonctions re2o
|
||||
from reversion import revisions as reversion
|
||||
from users.models import User
|
||||
from re2o.settings import LOGO_PATH
|
||||
from re2o import settings
|
||||
|
@ -465,6 +466,7 @@ def control(request):
|
|||
controlform = controlform_set(request.POST or None, queryset=facture_list.object_list)
|
||||
if controlform.is_valid():
|
||||
controlform.save()
|
||||
reversion.set_comment("Controle")
|
||||
return redirect(reverse('cotisations:control'))
|
||||
return render(request, 'cotisations/control.html', {
|
||||
'facture_list': facture_list,
|
||||
|
|
Loading…
Reference in a new issue