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

29 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="dn_loan_close_wizard_view" model="ir.ui.view">
<field name="name">dn.loan.close.wizard.form</field>
<field name="model">dn.loan.close.wizard</field>
<field name="arch" type="xml">
<form string="Close Loan">
<field name="currency_id" invisible="1"/>
<group>
<field name="loan_id" readonly="1" force_save="1"/>
<field name="date"/>
</group>
<div class="alert alert-info mb-0" role="alert">
Draft entries dated after the close date are deleted. Posted
entries are kept: they are already in the ledger and have to be
reversed deliberately if they are no longer wanted.
</div>
<footer>
<button name="action_save" string="Close Loan" type="object"
class="btn-primary"/>
<button string="Cancel" class="btn-secondary" special="cancel"/>
</footer>
</form>
</field>
</record>
</odoo>