Changing the name of model payment.acquirer to payment.provider and everything that it touches. It is technically incorrect to use the term "acquirer" for systems that only provide a service of payment. After this commit the model payment.acquirer and all related to it will be renamed to payment.provider. Task - 2842088 closes odoo/odoo#90899 Related: odoo/upgrade#3542 Related: odoo/documentation#1981 Related: odoo/enterprise#27131 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
26 lines
1.2 KiB
XML
26 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<record id="view_account_journal_form" model="ir.ui.view">
|
|
<field name="name">account.journal.form.inherit.payment</field>
|
|
<field name="model">account.journal</field>
|
|
<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_id" invisible="1"/>
|
|
<field name="payment_provider_state" invisible="1"/>
|
|
<button name="action_open_provider_form"
|
|
type="object"
|
|
string="SETUP"
|
|
class="float-end btn-secondary"
|
|
attrs="{'invisible': [('payment_provider_id', '=', False)]}"
|
|
groups="base.group_system"/>
|
|
</xpath>
|
|
<xpath expr="//field[@name='inbound_payment_method_line_ids']/tree" position="attributes">
|
|
<attribute name="decoration-muted">payment_provider_state == 'disabled'</attribute>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|