Describe the bug
If you enable option Send email to customer from the grid and there is not any template choosen, when you change an order to this status it returns error Error: invalid e-mail template
To Reproduce
Steps to reproduce the behavior:
Send email to customer from the grid clicking on the cross iconIf you enable this option in the order status edit page it doesn't happen because template dropdown is required.
Screenshots
If applicable, add screenshots or screenrecords to help explain your problem.

Additionnal information
PrestaShop version: 1.7.5.0
Hi @idnovate,
Thanks for your report.
We need to enable the mode debug to reproduce the issue.
I manage to reproduce the issue with PS1.7.5.0 & PS1.7.4.4.
I attached a video record.
https://drive.google.com/file/d/1qLYvzA2UFtxb3qnExr3_Um4LGf1eihay/view
We will we see how to fix it.
Thanks!
Sorry you are right, I didn't notice it. Error is displayed from this function:
public static function dieOrLog($msg, $die = true)
{
if ($die || (defined('_PS_MODE_DEV_') && _PS_MODE_DEV_)) {
die($msg);
}
return PrestaShopLogger::addLog($msg);
}
We could delete the column "send email to customer" from the list
Or disable callback so this column is not clickable.