Commit 28df6b77 by Yvon Kerdoncuff

minor spacing wording fix

parent 8fdb58dd
Pipeline #4094 canceled with stage
......@@ -414,7 +414,7 @@ def update_members_makeups(request):
return JsonResponse(error, status=400)
if cm.has_state_unsubscribed_gone_or_associated():
error["error"] = ("L'opération de rattrapage a été annulée car le membre ciblé est désinscrit, parti ou"
"associé.")
" associé.")
return JsonResponse(error, status=400)
# Save computed data in member_data. It will be useful to update makeups and points.
member_data["points_diff"] = - makeup_change_count
......@@ -629,12 +629,12 @@ def analyse_shift_subscription_request(api, data, partner_id):
res["moving_from_std_to_ftop"] = api.search_read('res.partner', c, f)[0]['shift_type'] == 'standard'
else:
raise MembersAppException("Le service cible n'est ni standard ni ftop."
"L'exemption via un service spécial n'est plus supportée par l'application.")
" L'exemption via un service spécial n'est plus supportée par l'application.")
res["target_shift_template_id"] = shift_template_id
# Make sure unsubscribe_first data sent by js is still consistent with bdd
if data["unsubscribe_first"] == cm.has_state_unsubscribed_gone_or_associated():
raise MembersAppException("Les informations affichées sont périmées."
"Veuillez recharger la page avant de poursuivre.")
" Veuillez recharger la page avant de poursuivre.")
if data["unsubscribe_first"]:
res["makeups_reg_on_target_shift_template"] = cm.get_makeup_registrations_ids_on_shift_template(
res["target_shift_template_id"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment