Odoo18-Base/addons/account_payment/views/payment_templates.xml

19 lines
767 B
XML
Raw Permalink Normal View History

2025-03-10 11:12:23 +07:00
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<!-- Include account-related values in payment checkout form to pass them to the client -->
<template id="payment_checkout_inherit" inherit_id="payment.checkout">
<xpath expr="//form[@name='o_payment_checkout']" position="attributes">
<attribute name="t-att-data-invoice-id">invoice_id</attribute>
</xpath>
</template>
<!-- Include account-related values in payment manage form to pass them to the client -->
<template id="payment_manage_inherit" inherit_id="payment.manage">
<xpath expr="//form[@name='o_payment_manage']" position="attributes">
<attribute name="t-att-data-invoice-id">invoice_id</attribute>
</xpath>
</template>
</odoo>