[IMP] purchase: added onboarding tip
authorssh-odoo <ssh@openerp.com>
Mon, 1 Sep 2014 05:15:25 +0000 (10:45 +0530)
committerThibault Delavallée <tde@openerp.com>
Tue, 9 Sep 2014 11:18:24 +0000 (13:18 +0200)
addons/purchase/__openerp__.py
addons/purchase/purchase_tip_data.xml [new file with mode: 0644]

index f53e7b6..4fcf5e6 100644 (file)
@@ -64,6 +64,7 @@ Dashboard / Reports for Purchase Management will include:
         'report/purchase_report_view.xml',
         'edi/purchase_order_action_data.xml',
         'res_config_view.xml',
+        'purchase_tip_data.xml',
 
         'views/report_purchaseorder.xml',
         'views/report_purchasequotation.xml',
diff --git a/addons/purchase/purchase_tip_data.xml b/addons/purchase/purchase_tip_data.xml
new file mode 100644 (file)
index 0000000..52b5f27
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+    <data>
+        <record model="web.tip" id="purchase_tip_1">
+            <field name="description">Click here to process the reception of the purchase by product.</field>
+            <field name="model">stock.move</field>
+            <field name="mode">list</field>
+            <field name="action_id" ref="stock.action_receipt_picking_move"/>
+            <field name="trigger_selector">.oe_list:visible</field>
+            <field name="highlight_selector">td.oe_list_field_cell.oe_list_field_object.oe-button:visible > button:nth-child(1)</field>
+            <field name="placement">left</field>
+        </record>
+    </data>
+</openerp>