[IMP] sale: apply correct header to quotation email template

This commit applies the correct quotation header to the quotation email.
The header now states "Your Quotation" if the stage is quotation instead of "Your Sale Order".

Related Task ID : 1936003

closes odoo/odoo#30849

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
Jinal Patel
2019-04-08 13:20:14 +00:00
parent 0b9d752333
commit 25153b50ef
+2 -1
View File
@@ -617,7 +617,8 @@ class SaleOrder(models.Model):
'mark_so_as_sent': True,
'custom_layout': "mail.mail_notification_paynow",
'proforma': self.env.context.get('proforma', False),
'force_email': True
'force_email': True,
'model_description': self.type_name
}
return {
'type': 'ir.actions.act_window',