26 lines
1.3 KiB
XML
26 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- Inherit the payment form view to potentially add any custom fields or logic if needed -->
|
|
<record id="view_account_payment_form_inherit" model="ir.ui.view">
|
|
<field name="name">account.payment.form.inherit.vendor.payment.misc</field>
|
|
<field name="model">account.payment</field>
|
|
<field name="inherit_id" ref="account.view_account_payment_form"/>
|
|
<field name="arch" type="xml">
|
|
<field name="journal_id" position="attributes">
|
|
<!-- No additional attributes needed as the logic is handled in the model -->
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
<!-- Inherit the register payment wizard view if needed -->
|
|
<record id="view_account_payment_register_form_inherit" model="ir.ui.view">
|
|
<field name="name">account.register.payment.form.inherit.vendor.payment.misc</field>
|
|
<field name="model">account.payment.register</field>
|
|
<field name="inherit_id" ref="account.view_account_payment_register_form"/>
|
|
<field name="arch" type="xml">
|
|
<field name="journal_id" position="attributes">
|
|
<!-- No additional attributes needed as the logic is handled in the model -->
|
|
</field>
|
|
</field>
|
|
</record>
|
|
</odoo> |