| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <odoo> |
| 3 | |
| 4 | <template id="purchase_help_message_template" inherit_id="stock.help_message_template"> |
| 5 | <xpath expr="//p[@name='top_help_message']/t[@name='receipt_message']" position="replace"> |
| 6 | <t t-if="picking_type_code == 'incoming'"> |
| 7 | No receipt yet! Automate them with purchase orders. |
| 8 | </t> |
| 9 | </xpath> |
| 10 | <xpath expr="//p[@name='bottom_help_message']" position="after"> |
| 11 | <a t-if="picking_type_code == 'incoming'" class="btn btn-secondary" name="purchase.purchase_form_action" type="action">Purchase Orders</a> |
| 12 | </xpath> |
| 13 | </template> |
| 14 | |
| 15 | </odoo> |