[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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user