Initial Addons
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
<!--******************************************************************************
|
||||
# PAYMENT BTCPAY FOR ODOO
|
||||
#
|
||||
# Copyright (C) 2020 Susanna Fort <susannafm@gmail.com>
|
||||
#
|
||||
#******************************************************************************
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License as
|
||||
# published by the Free Software Foundation; either version 2 of
|
||||
# the License, or any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# For a full copy of the GNU General Public License see the LICENSE.txt file.
|
||||
#
|
||||
#******************************************************************************-->
|
||||
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record id="acquirer_form_btcpay" model="ir.ui.view">
|
||||
<field name="name">acquirer.form.btcpay</field>
|
||||
<field name="model">payment.acquirer</field>
|
||||
<field name="inherit_id" ref="payment.acquirer_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr='//group[@name="acquirer"]' position='after'>
|
||||
<group attrs="{'invisible': [('provider', '!=', 'btcpay')]}">
|
||||
<field name="facade"/>
|
||||
<field name="location"/>
|
||||
<field name="confirmationURL"/>
|
||||
<field name="buyerNotification"/>
|
||||
<field name="pairingCode"/>
|
||||
<field name="token"/>
|
||||
<field name="privateKey"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="transaction_form_btcpay" model="ir.ui.view">
|
||||
<field name="name">acquirer.transaction.form.btcpay</field>
|
||||
<field name="model">payment.transaction</field>
|
||||
<field name="inherit_id" ref="payment.transaction_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr='//notebook' position='inside'>
|
||||
<page string="Btcpay TX Details">
|
||||
<group>
|
||||
<field name="btcpay_txid"/>
|
||||
<field name="btcpay_invoiceId" />
|
||||
<field name="btcpay_status"/>
|
||||
<field name="btcpay_buyerMailNotification"/>
|
||||
</group>
|
||||
</page>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user