accountant_cn
This commit is contained in:
28
accountant_cn/views/wizard__dn_loan_close_wizard_views.xml
Normal file
28
accountant_cn/views/wizard__dn_loan_close_wizard_views.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user