summaryrefslogtreecommitdiff
path: root/addons/web_tip/web_tip_data.xml
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2015-08-25 11:05:49 +0200
committerYannick Tivisse <yti@odoo.com>2015-08-31 09:08:13 +0200
commit5241df3139c192d216d6d0ed19ae5b1f01d8c374 (patch)
tree55644fc56cb86eece1cfb6edfa0544b2cd75c2fc /addons/web_tip/web_tip_data.xml
parent7f161964b36d95c3a0567902d12fb736f02db20f (diff)
[IMP] tips: Make them compatible with new web client
Diffstat (limited to 'addons/web_tip/web_tip_data.xml')
-rw-r--r--addons/web_tip/web_tip_data.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/web_tip/web_tip_data.xml b/addons/web_tip/web_tip_data.xml
index 513906d3e7a..77189a66a7c 100644
--- a/addons/web_tip/web_tip_data.xml
+++ b/addons/web_tip/web_tip_data.xml
@@ -2,6 +2,7 @@
<openerp>
<data>
+ <!-- Generic tip on breadcrumbs -->
<record model="web.tip" id="web_tip_1">
<field name="title"></field>
<field name="description">Use the breadcrumb to go back to preceeding screens. This is super useful to navigate between documents.</field>
@@ -12,5 +13,17 @@
<field name="placement">bottom</field>
</record>
+ <!-- Generic tip on status bars -->
+ <record model="web.tip" id="web_tip_2">
+ <field name="title"></field>
+ <field name="description"><![CDATA[Gain some time and change the stage right here, no need to go back to your pipeline.]]></field>
+ <field name="model"></field>
+ <field name="mode">form</field>
+ <field name="trigger_selector">.o_statusbar_status.o_form_field:visible > button:not(.disabled)</field>
+ <field name="highlight_selector">.o_statusbar_status.o_form_field</field>
+ <field name="end_event">mousedown</field>
+ <field name="placement">bottom</field>
+ </record>
+
</data>
</openerp> \ No newline at end of file