Files
odoo_source/addons/purchase/purchase_tip_data.xml
T
Binjal Desai 6f99f73260 [IMP] purchase: add tips :
- add a tip on purchase recept for the scrap products button
- add a tip on the shipemnt stat button
2015-01-20 17:01:41 +01:00

35 lines
2.0 KiB
XML

<?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>
<record model="web.tip" id="purchase_tip_2">
<field name="description">If a product has been broken or damaged during the transport, you can throw it away from your warehouse by cliking here.</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_action.oe-button:visible > button:nth-child(1)</field>
<field name="placement">left</field>
</record>
<record model="web.tip" id="purchase_tip_3">
<field name="description">Track efficiently your orders. Here you can see all the shipments needed for this order. You will also be able to manage the stock moves from here.</field>
<field name="model">purchase.order</field>
<field name="mode">form</field>
<field name="action_id" ref="purchase.purchase_form_action"/>
<field name="trigger_selector">.oe_form_buttons_view:visible,div.oe_right.oe_button_box > button</field>
<field name="highlight_selector">div.oe_right.oe_button_box:visible > button:nth-child(1)</field>
<field name="placement">bottom</field>
</record>
</data>
</openerp>