2
0
account-financial-tools/account_loan/views/account_move_view.xml

21 lines
839 B
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="view_move_form" model="ir.ui.view">
<field name="name">Add to_be_reversed and reversal_id fields</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form" />
2018-02-26 12:17:24 +01:00
<field name="arch" type="xml">
2022-01-10 15:07:49 +01:00
<field name="date" position="after">
<field
name="loan_line_id"
attrs="{'invisible': [('loan_line_id', '=', False)]}"
readonly="True"
/>
2018-02-26 12:17:24 +01:00
</field>
</field>
</record>
</odoo>