This is a general information regarding the patch erpnext.patches.v11_0.set_default_email_template_in_hr #08-06-2018
This patch requires the system to have an Email template by the name “Leave Approval Notification” and “Leave Status Notification”. However, the email template name is localised (e.g. “Statusänderung eines Urlaubsantrags”). Therefore, this patch will fail in any case where this install wizard was done in a language other than EN.
Workaround (personal opinion, not official): exclude the patch using the patch log and make sure the value is set in the HR settings.
Here’s an additional information, as I have just talked with @lasalesi .
If you are running a multi-tenant server, make sure to exclude those patches in all databases.
You can open a site specific database with bench --site [Sitename] mariadb
The issue with the patch.txt is that it is only temporary and breaks your sources (need to reset, which will then again fail in this case as this cannot work; classical catch 22 of a suboptimal patch)…