Files
odoo_source/addons/account_payment/views/payment_provider_views.xml
T
Valentin Chevalier 757a8a9c69 [FIX] account_payment: transfer provider code doesn't exists anymore
Fine-tuning of 61b8c0c1a2.

Missing rename of `transfer` to `custom` following commit 5f41f15.

Part-of: odoo/odoo#99846
2022-09-09 18:53:53 +02:00

23 lines
842 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="payment_provider_form" model="ir.ui.view">
<field name="name">payment.provider.form</field>
<field name="model">payment.provider</field>
<field name="inherit_id" ref="payment.payment_provider_form"/>
<field name="arch" type="xml">
<group name="payment_followup" position="attributes">
<attribute name="invisible">
0
</attribute>
</group>
<group name="payment_followup" position="inside">
<field name="journal_id"
context="{'default_type': 'bank'}"
attrs="{'required': [('state', '!=', 'disabled'), ('code', 'not in', ['none', 'custom'])]}"/>
</group>
</field>
</record>
</odoo>