Skip to Content
Menu
This question has been flagged
1724 Views

Hello guys,

For unknown reasons I can no longer use the hr expense and hr leaves module because of this error : KeyError: 'body'.

My mail templates are simple, I don't see any translation which can make a conflict. Here my leaves template for example :


Object : Demande de congés ${object.employee_id}

Une demande de congés a été émise par ${object.employee_id}.
Durée : ${object.number_of_days_temp}
${object.report_note}


I don't know where to search to resolve my problem ! I point out that I have not access to the python code, all with the graphic interface.
Thanks if you could tell me some tips about this issue ! Two modules doesn't work in my company it's inconvenient.

Thanks a lot !


EDIT : I modified last week the "notification mail" template, the problem could come from here. I restaured the initial text, but it still doesn't work :(

Avatar
Discard