Files
dn20/accountant_cn/views/wizard__dn_loan_compute_wizard_views.xml
2026-11-17 17:57:08 +08:00

39 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="dn_loan_compute_wizard_view" model="ir.ui.view">
<field name="name">dn.loan.compute.wizard.form</field>
<field name="model">dn.loan.compute.wizard</field>
<field name="arch" type="xml">
<form string="Compute Loan">
<field name="currency_id" invisible="1"/>
<field name="company_id" invisible="1"/>
<group>
<group string="Loan">
<field name="loan_id" readonly="1" force_save="1"/>
<field name="loan_amount" widget="monetary"/>
<field name="interest_rate" widget="percentage"/>
<field name="method"/>
</group>
<group string="Schedule">
<field name="loan_term"/>
<field name="payments_per_year"/>
<field name="start_date"/>
<field name="first_payment_date"/>
<field name="day_count"/>
</group>
</group>
<separator string="Preview"/>
<field name="preview" readonly="1" nolabel="1"
class="text-monospace small"/>
<footer>
<button name="action_save" string="Save Schedule" type="object"
class="btn-primary"/>
<button string="Cancel" class="btn-secondary" special="cancel"/>
</footer>
</form>
</field>
</record>
</odoo>