From 6f8f66f3ee2aa297600d575dfff1f14305a09d35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Wed, 18 Jul 2018 11:51:32 +0200 Subject: [PATCH] [FIX] purchase: fix notification layout wrongly reset Commit e38ed7c780d35fb9d5d799ac783048616362702f moved code related to purchase, stock and purchase_stock in order to clean module dependencies. However probably due to some wrong manipulation notification layout was reset to an old removed layout. This commit fixes it. --- addons/purchase/models/purchase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/purchase/models/purchase.py b/addons/purchase/models/purchase.py index c61b4b3a518..71fb9815bc0 100644 --- a/addons/purchase/models/purchase.py +++ b/addons/purchase/models/purchase.py @@ -262,7 +262,7 @@ class PurchaseOrder(models.Model): 'default_use_template': bool(template_id), 'default_template_id': template_id, 'default_composition_mode': 'comment', - 'custom_layout': "purchase.mail_template_data_notification_email_purchase_order", + 'custom_layout': "mail.mail_notification_borders", 'force_email': True, 'mark_rfq_as_sent': True, })