2
0
account-financial-tools/account_loan/wizard/account_loan_pay_amount_view.xml

40 lines
1.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8" ?>
2018-02-26 12:17:24 +01:00
<!-- Copyright 2011 Alexis de Lattre <alexis.delattre@akretion.com>
Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="account_loan_pay_amount_form" model="ir.ui.view">
<field name="name">Pay amount</field>
<field name="model">account.loan.pay.amount</field>
<field name="arch" type="xml">
<form string="Pay amount">
<group>
<field name="loan_id" readonly="True" />
<field name="date" />
<field name="cancel_loan" />
<field name="amount" />
<field name="fees" />
<field name="currency_id" />
2018-02-26 12:17:24 +01:00
</group>
<footer>
<button
name="run"
string="Run"
type="object"
class="oe_highlight"
/>
2018-02-26 12:17:24 +01:00
or
<button string="Cancel" class="oe_link" special="cancel" />
2018-02-26 12:17:24 +01:00
</footer>
</form>
</field>
</record>
<record id="account_loan_pay_amount_action" model="ir.actions.act_window">
<field name="name">Pay amount</field>
<field name="res_model">account.loan.pay.amount</field>
<field name="view_mode">form</field>
<field name="target">new</field>
<field name="context">{'default_loan_id': active_id}</field>
</record>
</odoo>