changes
This commit is contained in:
22
fusion_poynt/views/sale_order_views.xml
Normal file
22
fusion_poynt/views/sale_order_views.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="view_order_form_poynt_button" model="ir.ui.view">
|
||||
<field name="name">sale.order.form.poynt.button</field>
|
||||
<field name="model">sale.order</field>
|
||||
<field name="inherit_id" ref="sale.view_order_form"/>
|
||||
<field name="priority">60</field>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//button[@id='create_invoice']" position="after">
|
||||
<button name="action_poynt_collect_payment"
|
||||
string="Collect Payment"
|
||||
type="object"
|
||||
class="btn-secondary"
|
||||
icon="fa-credit-card"
|
||||
invisible="state not in ('sale', 'done')"
|
||||
data-hotkey="p"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user