[IMP] quotation: added onboarding tips
authorBhavik Bagdiya <bba@openerp.com>
Tue, 19 Aug 2014 13:18:10 +0000 (18:48 +0530)
committerThibault Delavallée <tde@openerp.com>
Tue, 26 Aug 2014 07:46:04 +0000 (09:46 +0200)
addons/website_quote/__openerp__.py
addons/website_quote/data/quotation_tip_data.xml [new file with mode: 0644]

index 975451f..95c3272 100644 (file)
@@ -15,6 +15,7 @@ OpenERP Sale Quote Roller
         'views/website_quotation_backend.xml',
         'data/website_quotation_data.xml',
         'security/ir.model.access.csv',
+        'data/quotation_tip_data.xml',
     ],
     'demo': [
         'data/website_quotation_demo.xml'
diff --git a/addons/website_quote/data/quotation_tip_data.xml b/addons/website_quote/data/quotation_tip_data.xml
new file mode 100644 (file)
index 0000000..a55dd35
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+    <data>
+        <record model="web.tip" id="quotation_tip_1">
+            <field name="title"></field>
+            <field name="description"><![CDATA[<b>Click here to see the polished and professional proposal that is automatically created. The customer will be able to sign it online.</b>]]></field>
+            <field name="model">sale.order</field>
+            <field name="mode">form</field>
+            <field name="trigger_selector">.oe_form_buttons_view:visible, header >.oe_button.oe_form_button:nth-child(3):not(.oe_form_invisible)</field>
+            <field name="highlight_selector">header >.oe_button.oe_form_button:nth-child(3):not(.oe_form_invisible)</field>
+            <field name="placement">bottom</field>
+        </record>
+    </data>
+</openerp>