summaryrefslogtreecommitdiff
path: root/addons/website_quote/data/website_quotation_data.xml
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2014-01-26 00:09:11 +0100
committerFabien Pinckaers <fp@tinyerp.com>2014-01-26 00:09:11 +0100
commit7d892584d88fc7f0d6375216171e31d0ff2c9eae (patch)
tree427060f687ab5b35fe88ff565e36578a9d77265c /addons/website_quote/data/website_quotation_data.xml
parentfafc132188088e87a5c51335adb5628ad0a5568f (diff)
[IMP] renaming to website_quote for coherence with controllers
bzr revid: fp@tinyerp.com-20140125230911-k439s96bw718l23d
Diffstat (limited to 'addons/website_quote/data/website_quotation_data.xml')
-rw-r--r--addons/website_quote/data/website_quotation_data.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/addons/website_quote/data/website_quotation_data.xml b/addons/website_quote/data/website_quotation_data.xml
new file mode 100644
index 00000000000..0b539140a95
--- /dev/null
+++ b/addons/website_quote/data/website_quotation_data.xml
@@ -0,0 +1,26 @@
+<openerp>
+ <data>
+
+ <!--
+ Update Email template to send right quote url
+ -->
+
+ <record id="sale.email_template_edi_sale" model="email.template">
+ <field name="body_html"><![CDATA[
+ <div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); ">
+
+ <p>Hello ${object.partner_id.name},</p>
+
+ <p>Here is your ${object.state in ('draft', 'sent') and 'quotation' or 'order confirmation'} from ${object.company_id.name}: </p>
+
+ <p>
+ You can access this document and pay online via our Customer Portal:
+ </p>
+ <a style="display:block; width: 150px; height:20px; margin-left: 120px; color: #DDD; font-family: 'Lucida Grande', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: bold; text-align: center; text-decoration: none !important; line-height: 1; padding: 5px 0px 0px 0px; background-color: #8E0000; border-radius: 5px 5px; background-repeat: repeat no-repeat;"
+ href="/quote/${object.id}/${object.access_token}">View ${object.state in ('draft', 'sent') and 'Quotation' or 'Order'}</a>
+ </div>
+ ]]></field>
+ </record>
+
+ </data>
+</openerp>