[FIX] account: send invoices with the right name
[FIX] account: send invoices with the right name

The mail_notification_paynow template expects a model_description
parameter or defaults to the model _description, "Journal Entries".
We add, similar to 4a3fd02af4a on sale.order, a type_name field to
get the correct type name in an extensible way.

Similar to 8c91b193fca3b, 65b6375cf3f9b.

opw 2120545

closes odoo/odoo#40245

X-original-commit: d1b66ca8ea46af1034e344dfd3eb99e00f5a2a34
Signed-off-by: Nans Lefebvre (len) <a573b540d2dde90ba6da3b9d6286c8ec60c10044@odoo.com>

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo