Debian Codegraph @

addons/account_payment/views/account_journal_views.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <odoo>
3
4 <record id="view_account_journal_form" model="ir.ui.view">
5 <field name="name">account.journal.form.inherit.payment</field>
6 <field name="model">account.journal</field>
7 <field name="inherit_id" ref="account.view_account_journal_form"/>
8 <field name="arch" type="xml">
9 <xpath expr="//field[@name='inbound_payment_method_line_ids']//field[@name='payment_account_id']" position="after">
10 <field name="code" column_invisible="True"/>
11 <field name="payment_provider_id"
12 options="{'no_open': True, 'no_create': True}"
13 optional="hide"
14 readonly="payment_provider_state in ('enabled', 'test')"/>
15 <field name="payment_provider_state" column_invisible="True"/>
16 <button name="action_open_provider_form"
17 type="object"
18 string="SETUP"
19 class="float-end btn-secondary"
20 invisible="not payment_provider_id"
21 groups="base.group_system"/>
22 </xpath>
23 <xpath expr="//field[@name='inbound_payment_method_line_ids']/list" position="attributes">
24 <attribute name="decoration-muted">payment_provider_state == 'disabled'</attribute>
25 </xpath>
26 </field>
27 </record>
28
29 </odoo>