@@ -56,7 +60,10 @@ if leave_period.getExpirationDate() <= leave_period.getStopDate():
...
@@ -56,7 +60,10 @@ if leave_period.getExpirationDate() <= leave_period.getStopDate():
else:
else:
ifbatch_mode:
ifbatch_mode:
return
return
context.REQUEST.response.redirect("%s?portal_status_message=%s"%(context.absolute_url(),"No need to create this DSN event report : return date is not previous to last leaved date."))
returncontext.Base_redirect(form_id,keep_items={
'portal_status_message':translateString("No need to create this DSN event report : return date is not previous to last leaved date."),