19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:30:07 +01:00
parent ba20ce7443
commit 768b70e05e
2357 changed files with 1057103 additions and 712486 deletions

View file

@ -7,17 +7,20 @@
<field name="inherit_id" ref="account.view_account_journal_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='inbound_payment_method_line_ids']//field[@name='payment_account_id']" position="after">
<field name="payment_provider_state" invisible="1"/>
<field name="code" invisible="1"/>
<field name="payment_provider_id" options="{'no_open': True, 'no_create': True}" optional="hide" domain="[('code', '=', code)]"/>
<field name="code" column_invisible="True"/>
<field name="payment_provider_id"
options="{'no_open': True, 'no_create': True}"
optional="hide"
readonly="payment_provider_state in ('enabled', 'test')"/>
<field name="payment_provider_state" column_invisible="True"/>
<button name="action_open_provider_form"
type="object"
string="SETUP"
class="float-end btn-secondary"
attrs="{'invisible': [('payment_provider_id', '=', False)]}"
invisible="not payment_provider_id"
groups="base.group_system"/>
</xpath>
<xpath expr="//field[@name='inbound_payment_method_line_ids']/tree" position="attributes">
<xpath expr="//field[@name='inbound_payment_method_line_ids']/list" position="attributes">
<attribute name="decoration-muted">payment_provider_state == 'disabled'</attribute>
</xpath>
</field>