You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.2 KiB
41 lines
1.2 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<record id="portal_welcome_email" model="email.template">
|
|
<field name="name">Portal Welcome Email</field>
|
|
<field name="email_from">${object.company_id.name}<${object.company_id.email}></field>
|
|
<field name="subject">Your account at ${object.company_id.name}</field>
|
|
<field name="email_to">${object.email}</field>
|
|
<field name="lang">${object.lang}</field>
|
|
<field name="model_id" ref="base.model_res_users"/>
|
|
<field name="auto_delete" eval="True"/>
|
|
<field name="body_html">
|
|
<![CDATA[
|
|
<p>Dear ${object.name}, </p>
|
|
<p>You have been given access to ${object.company_id.name}'s ${ctx['portal']}.</p>
|
|
<p>Your login account data is:</p>
|
|
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
|
|
<div>
|
|
Username: <strong>${ctx['login']}</strong>
|
|
</div>
|
|
<div>
|
|
Portal: ${ctx['portal_url']}
|
|
</div>
|
|
<div>
|
|
Database: ${ctx['db']}
|
|
</div>
|
|
</blockquote>
|
|
<br/>
|
|
You can set or change your password via the following url:<br/>
|
|
${ctx['signup_url']}<br/>
|
|
<p>${ctx['welcome_message']}</p>
|
|
<pre>
|
|
--
|
|
Automatic Email.
|
|
${object.company_id.name or ''}
|
|
</pre>]]>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</openerp>
|