accountant_cn

This commit is contained in:
2026-11-17 17:57:08 +08:00
parent 9b924747c5
commit 5fc4382687
771 changed files with 18102 additions and 820280 deletions

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- A dedicated list of the loan entries, ordered by date rather than by
entry number: the loan is read chronologically, and the numbering of
a journal says nothing about when an installment falls due. -->
<record id="dn_loan_move_list_view" model="ir.ui.view">
<field name="name">dn.loan.move.list</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_tree"/>
<field name="mode">primary</field>
<field name="arch" type="xml">
<xpath expr="//list" position="attributes">
<attribute name="default_order">date, name</attribute>
</xpath>
<xpath expr="//list" position="inside">
<field name="is_loan_payment_move" optional="show"/>
</xpath>
</field>
</record>
<record id="dn_loan_move_form_view" model="ir.ui.view">
<field name="name">dn.loan.move.form</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form"/>
<field name="arch" type="xml">
<xpath expr="//header" position="inside">
<button name="action_open_dn_loan" string="Loan" type="object"
class="btn-secondary"
invisible="not dn_loan_id"
groups="account.group_account_readonly"/>
</xpath>
<xpath expr="//sheet" position="inside">
<field name="dn_loan_id" invisible="not dn_loan_id" readonly="1"/>
</xpath>
</field>
</record>
</odoo>