1
<?xml version='1.0' encoding='UTF-8'?>
4
<record id="view_inherit_purchase_button_send_email_form" model="ir.ui.view">
5
<field name="name">view.purchase.button.send.email.form</field>
6
<field name="model">purchase.order</field>
7
<field name="inherit_id" ref="purchase.purchase_order_form"/>
8
<field name="arch" type="xml">
9
<xpath expr="//button[@name='wkf_send_rfq']" position="replace">
10
<button name="wkf_send_rfq" states="draft" string="Send by Email" type="object" context="{'send_rfq':True}" class="oe_highlight" groups = "group_button_wkf_send_rfq.group_button_send_email"/>