diff --git a/addons/account/data/mail_template_data.xml b/addons/account/data/mail_template_data.xml index 26e66bfe007..f461a271452 100644 --- a/addons/account/data/mail_template_data.xml +++ b/addons/account/data/mail_template_data.xml @@ -61,65 +61,5 @@ from ${object.company_id.name}.

- - - - diff --git a/addons/account/models/account_invoice.py b/addons/account/models/account_invoice.py index 476a4991b11..2f82816d67d 100644 --- a/addons/account/models/account_invoice.py +++ b/addons/account/models/account_invoice.py @@ -634,7 +634,7 @@ class AccountInvoice(models.Model): default_template_id=template and template.id or False, default_composition_mode='comment', mark_invoice_as_sent=True, - custom_layout="account.mail_notification_invoice", + custom_layout="mail.mail_notification_borders", force_email=True ) return { diff --git a/addons/delivery/data/mail_template_data.xml b/addons/delivery/data/mail_template_data.xml index 53e9bb17ae4..14e566c5213 100644 --- a/addons/delivery/data/mail_template_data.xml +++ b/addons/delivery/data/mail_template_data.xml @@ -26,50 +26,5 @@

Thank you,

- - diff --git a/addons/delivery/models/stock_picking.py b/addons/delivery/models/stock_picking.py index 92e7cdb44b4..d24c1a6f3e3 100644 --- a/addons/delivery/models/stock_picking.py +++ b/addons/delivery/models/stock_picking.py @@ -148,7 +148,7 @@ class StockPicking(models.Model): default_model='stock.picking', default_use_template=bool(delivery_template_id), default_template_id=delivery_template_id, - custom_layout='delivery.mail_notification_delivery' + custom_layout='mail.mail_notification_borders' ) return { 'type': 'ir.actions.act_window', diff --git a/addons/purchase/data/mail_template_data.xml b/addons/purchase/data/mail_template_data.xml index 461df29c9dc..a5cc40f5696 100644 --- a/addons/purchase/data/mail_template_data.xml +++ b/addons/purchase/data/mail_template_data.xml @@ -76,56 +76,5 @@ from ${object.company_id.name}.

Thank you,

]]> - - - diff --git a/addons/purchase/models/purchase.py b/addons/purchase/models/purchase.py index 3f085e2ba1f..3669a19dd28 100644 --- a/addons/purchase/models/purchase.py +++ b/addons/purchase/models/purchase.py @@ -306,7 +306,7 @@ class PurchaseOrder(models.Model): 'default_use_template': bool(template_id), 'default_template_id': template_id, 'default_composition_mode': 'comment', - 'custom_layout': "purchase.mail_notification_purchase", + 'custom_layout': "mail.mail_notification_borders", 'force_email': True, 'mark_rfq_as_sent': True, }) diff --git a/addons/sale/data/mail_template_data.xml b/addons/sale/data/mail_template_data.xml index 9f781149248..b1ee2412b94 100644 --- a/addons/sale/data/mail_template_data.xml +++ b/addons/sale/data/mail_template_data.xml @@ -60,56 +60,5 @@ from ${object.company_id.name}.

]]> - - - diff --git a/addons/sale/models/sale.py b/addons/sale/models/sale.py index 5f6b9421c76..d1e6324690f 100644 --- a/addons/sale/models/sale.py +++ b/addons/sale/models/sale.py @@ -482,7 +482,7 @@ class SaleOrder(models.Model): 'default_template_id': template_id, 'default_composition_mode': 'comment', 'mark_so_as_sent': True, - 'custom_layout': "sale.mail_notification_sale_order", + 'custom_layout': "mail.mail_notification_borders", 'proforma': self.env.context.get('proforma', False), 'force_email': True }