1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/whatsapp_payment/wizard/payment_link_wizard.xml
2024-12-10 09:04:09 +07:00

21 lines
902 B
XML

<?xml version="1.0"?>
<odoo>
<record id="payment_link_wizard_view_form" model="ir.ui.view">
<field name="name">payment.link.wizard.form.inherit.whatsapp.payment</field>
<field name="model">payment.link.wizard</field>
<field name="inherit_id" ref="payment.payment_link_wizard_view_form"/>
<field name="arch" type="xml">
<xpath expr="//footer/button[@special='cancel']" position="before">
<button name="action_send_whatsapp"
string="Send by WhatsApp"
class="btn btn-secondary rounded-2"
type="object"
invisible="warning_message"/>
<button string="Send by WhatsApp"
class="btn btn-secondary rounded-2 disabled"
invisible="not warning_message"/>
</xpath>
</field>
</record>
</odoo>