mirror of https://gitlab.crans.org/bde/nk20
more bug fixing
This commit is contained in:
parent
e2426bd6a6
commit
361de9f8b4
|
@ -3751,7 +3751,8 @@
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier bouffe"
|
"description": "Modifier bouffe"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"model": "permission.permission",
|
"model": "permission.permission",
|
||||||
"pk": 239,
|
"pk": 239,
|
||||||
"fields": {
|
"fields": {
|
||||||
|
@ -3759,12 +3760,12 @@
|
||||||
"note",
|
"note",
|
||||||
"alias"
|
"alias"
|
||||||
],
|
],
|
||||||
"query": "[\"AND\", [\"OR\", {\"note__noteuser__user__memberships__club\": \"club\", \"note__noteuser__user__memberships__date_start__lte\": [\"today\"], \"note__noteuser__user__memberships__date_end__gte\": [\"today\"]}, {\"note__noteclub__isnull\": false}], {\"note__is_active\": true}]",
|
"query": "[\"AND\", [\"OR\", {\"note__noteuser__user__memberships__club\": [\"club\"], \"note__noteuser__user__memberships__date_start__lte\": [\"today\"], \"note__noteuser__user__memberships__date_end__gte\": [\"today\"]}, {\"note__noteclub__isnull\": false}], {\"note__is_active\": true}]",
|
||||||
"type": "view",
|
"type": "view",
|
||||||
"mask": 1,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Voir les alias des notes des clubs et des adhérent⋅es du club BDE"
|
"description": "Voir les alias des notes des clubs et des adhérent⋅es du club"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -306,7 +306,8 @@ class FutureUserDetailView(ProtectQuerysetMixin, LoginRequiredMixin, FormMixin,
|
||||||
return super().form_invalid(form)
|
return super().form_invalid(form)
|
||||||
|
|
||||||
if join_kfet and not join_bde:
|
if join_kfet and not join_bde:
|
||||||
forl.add_error('join_bde', _("You must also join the parent club BDE."))
|
form.add_error('join_bde', _("You must also join the parent club BDE."))
|
||||||
|
return super().form_invalid(form)
|
||||||
|
|
||||||
# Calculate required registration fee
|
# Calculate required registration fee
|
||||||
fee = 0
|
fee = 0
|
||||||
|
|
Loading…
Reference in New Issue