Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: exception occurred when extracting the 'From' field #16

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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 openems/mail/openems/alerting_offline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<record id="alerting_offline" model="mail.template">
<field name="name">E-Mail Offline-Alerting</field>
<field name="model_id" ref="model_openems_alerting" />
<field name="email_from"><![CDATA[OpenEMS Association e.V.<[email protected]>]]></field>
<field name="email_from"><![CDATA[OpenEMS Association e.V. <[email protected]>]]></field>
<field name="partner_to">{{object.user_id.partner_id.id}}</field>
<field name="subject">OpenEMS Alert - Edge is offline</field>
<field name="body_html"><![CDATA[
Expand Down
2 changes: 1 addition & 1 deletion openems/mail/openems/alerting_sum_state.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<record id="alerting_sum_state" model="mail.template">
<field name="name">E-Mail SumState Alerting</field>
<field name="model_id" ref="model_openems_alerting" />
<field name="email_from"><![CDATA[OpenEMS Association e.V.<[email protected]>]]></field>
<field name="email_from"><![CDATA[OpenEMS Association e.V. <[email protected]>]]></field>
<field name="partner_to">{{object.user_id.partner_id.id}}</field>
<field name="subject">OpenEMS Alert - Edge is in {{object.device_id.openems_sum_state_level}} State</field>
<field name="body_html"><![CDATA[
Expand Down
2 changes: 1 addition & 1 deletion openems/mail/openems/setup_protocol_customer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<record id="setup_protocol_email_customer" model="mail.template">
<field name="name">E-Mail setup protocol for customer</field>
<field name="model_id" ref="model_openems_setup_protocol" />
<field name="email_from"><![CDATA[OpenEMS Association e.V.<[email protected]>]]></field>
<field name="email_from"><![CDATA[OpenEMS Association e.V. <[email protected]>]]></field>
<field name="partner_to">{{object.customer_id.id}}</field>
<field name="subject"
>Your OpenEMS setup protocol for {{object.openems_device_id.name}}</field>
Expand Down
2 changes: 1 addition & 1 deletion openems/mail/openems/setup_protocol_installer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<record id="setup_protocol_email_installer" model="mail.template">
<field name="name">E-Mail setup protocol for installer</field>
<field name="model_id" ref="model_openems_setup_protocol" />
<field name="email_from"><![CDATA[OpenEMS Association e.V.<[email protected]>]]></field>
<field name="email_from"><![CDATA[OpenEMS Association e.V. <[email protected]>]]></field>
<field name="partner_to">{{object.installer_id.id}}</field>
<field name="subject"
>Your OpenEMS setup protocol for {{object.openems_device_id.name}}</field>
Expand Down
2 changes: 1 addition & 1 deletion openems/mail/openems/user_registration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<record id="registration_email" model="mail.template">
<field name="name">E-Mail Kunden Registrierung</field>
<field name="model_id" ref="base.model_res_partner" />
<field name="email_from"><![CDATA[OpenEMS Association e.V.<[email protected]>]]></field>
<field name="email_from"><![CDATA[OpenEMS Association e.V. <[email protected]>]]></field>
<field name="partner_to">{{object.id}}</field>
<field name="subject">Registrierung erfolgreich</field>
<field name="auto_delete">false</field>
Expand Down