~extra-addons-commiter/openobject-extension/oerp6.1-stable

« back to all changes in this revision

Viewing changes to base_external_referentials/report_mail_template.xml

  • Committer: Benoit Guillot
  • Date: 2013-01-15 10:00:05 UTC
  • Revision ID: benoit.guillot@akretion.com.br-20130115100005-h9pbpfj7i2xo0ipe
[FIX] fix subject, email_from, email_to, language in email template for reporting error

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!--
3
 
  crm_claim_categ_as_name for OpenERP
 
3
  base_external_referentials for OpenERP
4
4
  Copyright (C) 2012 Akretion Benoît GUILLOT <benoit.guillot@akretion.com>
5
5
  The licence is in the file __openerp__.py
6
6
-->
10
10
        <!--Email template -->
11
11
        <record id="email_template_report" model="email.template">
12
12
            <field name="name">Reporting error</field>
13
 
            <field name="email_from">${object.company_id.email or ''}</field>
14
 
            <field name="subject">${object.company_id.name} Error with ${object.report_id.name or '' })</field>
15
 
            <field name="email_to">${object.company_id.email or ''}</field>
 
13
            <field name="email_from">Select email from</field>
 
14
            <field name="subject">Error with ${object.report_id.name or '' })</field>
 
15
            <field name="email_to">Select receiver</field>
16
16
            <field name="model_id" ref="base_external_referentials.model_external_report_line"/>
17
17
            <field name="auto_delete" eval="True"/>
18
 
            <field name="lang">${object.company_id.partner_id.lang}</field>
 
18
            <field name="lang">Select language</field>
19
19
            <field name="body_html"><![CDATA[]]></field>
20
20
            <field name="body_text"><![CDATA[
21
21
An error occurred during the import of the ${object.report_id.action_on}
24
24
        </record>
25
25
    </data>
26
26
</openerp>
 
27