27 lines
1.4 KiB
XML
27 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright 2024-2025 Nexa Systems Inc.
|
|
License OPL-1 (Odoo Proprietary License v1.0)
|
|
Part of the Fusion Claim Assistant product family.
|
|
-->
|
|
<odoo>
|
|
<!-- Add "Requires Card Digits" checkbox to payment method lines in journal form -->
|
|
<record id="view_account_journal_form_fc" model="ir.ui.view">
|
|
<field name="name">account.journal.form.fc</field>
|
|
<field name="model">account.journal</field>
|
|
<field name="inherit_id" ref="account.view_account_journal_form"/>
|
|
<field name="arch" type="xml">
|
|
<!-- Add column to inbound payment methods -->
|
|
<xpath expr="//field[@name='inbound_payment_method_line_ids']/list/field[@name='name']" position="after">
|
|
<field name="x_fc_requires_card_digits" string="Req. Card #"
|
|
help="Check this box if this payment method requires the last 4 digits of the card"/>
|
|
</xpath>
|
|
<!-- Add column to outbound payment methods -->
|
|
<xpath expr="//field[@name='outbound_payment_method_line_ids']/list/field[@name='name']" position="after">
|
|
<field name="x_fc_requires_card_digits" string="Req. Card #"
|
|
help="Check this box if this payment method requires the last 4 digits of the card"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|