Skip to content
This repository has been archived by the owner on Dec 17, 2019. It is now read-only.

[*] Solving record does not exist on sending mail #87

Open
wants to merge 1 commit into
base: 11.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion html_form_builder/controllers/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class HtmlFormController(http.Controller):

def _html_action_send_email(self, submit_action, history_data, values):

values = submit_action.email_template_id.generate_email(history_data.id)
values = submit_action.email_template_id.generate_email(history_data.record_id)
values['email_from'] = submit_action.from_email
values['email_to'] = submit_action.to_email
send_mail = request.env['mail.mail'].create(values)
Expand Down