This commit is contained in:
gsinghpal
2026-03-26 15:16:51 -04:00
parent bd7275881f
commit 2563208f53
13 changed files with 329 additions and 15 deletions

View File

@@ -28,10 +28,16 @@
confirm="Are you sure you want to void this transaction? This reverses the payment before settlement and cannot be undone. Only works same-day before closeout (6 PM)."/>
</xpath>
<!-- Add voided fields to the form sheet -->
<!-- Add Poynt fields and linked records after provider_reference -->
<xpath expr="//field[@name='provider_reference']" position="after">
<field name="poynt_voided" invisible="1"/>
<field name="poynt_void_date" invisible="not poynt_voided"/>
<field name="poynt_order_id" invisible="provider_code != 'poynt'" readonly="1"/>
<field name="poynt_transaction_id" invisible="provider_code != 'poynt'" readonly="1"/>
<field name="sale_order_ids" widget="many2many_tags" readonly="1"
string="Sale Orders"/>
<field name="invoice_ids" widget="many2many_tags" readonly="1"
string="Invoices"/>
</xpath>
</field>