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>
34 lines
1.6 KiB
XML
34 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<record id="payment_transaction_form" model="ir.ui.view">
|
|
<field name="name">Demo Transaction Form</field>
|
|
<field name="model">payment.transaction</field>
|
|
<field name="inherit_id" ref="payment.payment_transaction_form"/>
|
|
<field name="arch" type="xml">
|
|
<header position="inside">
|
|
<field name="capture_manually" invisible="1"/>
|
|
<button string="Authorize"
|
|
type="object"
|
|
name="action_demo_set_done"
|
|
class="oe_highlight"
|
|
attrs="{'invisible': ['|', '|', ('provider_code', '!=', 'demo'), ('capture_manually', '=', False), ('state', '!=', 'pending')]}"/>
|
|
<button string="Confirm"
|
|
type="object"
|
|
name="action_demo_set_done"
|
|
class="oe_highlight"
|
|
attrs="{'invisible': ['|', '|', ('provider_code', '!=', 'demo'), ('capture_manually', '=', True), ('state', '!=', 'pending')]}"/>
|
|
<button string="Cancel"
|
|
type="object"
|
|
name="action_demo_set_canceled"
|
|
attrs="{'invisible': ['|', ('provider_code', '!=', 'demo'), ('state', '!=', 'pending')]}"/>
|
|
<button string="Set to Error"
|
|
type="object"
|
|
name="action_demo_set_error"
|
|
attrs="{'invisible': ['|', ('provider_code', '!=', 'demo'), ('state', '!=', 'pending')]}"/>
|
|
</header>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|