mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX]pms_api_rest: send mail confirmed folio with changed body manual modifications
This commit is contained in:
@@ -1127,7 +1127,12 @@ class PmsFolioService(Component):
|
||||
"auto_delete": False,
|
||||
}
|
||||
if pms_mail_info.bodyMail:
|
||||
email_values.update({"body": pms_mail_info.bodyMail})
|
||||
email_values.update(
|
||||
{
|
||||
"body": pms_mail_info.bodyMail,
|
||||
"body_html": pms_mail_info.bodyMail,
|
||||
}
|
||||
)
|
||||
if pms_mail_info.mailType == "confirm":
|
||||
template = folio.pms_property_id.property_confirmed_template
|
||||
res_id = folio.id
|
||||
|
||||
Reference in New Issue
Block a user