mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
Changes done: - Purge translation files - Remove unnecessary readonly=true to some fields (fields defining the readonly in the view and/or related) - Remove unnecesary default=false to boolean fields (redundant, is the default behavior) - Remove unnecessary 'or' text from views - Improve multi-company rule + migration script - Improve tests TT51502
21 lines
814 B
XML
21 lines
814 B
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!-- 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" />
|
|
<field name="arch" type="xml">
|
|
<field name="date" position="after">
|
|
<field
|
|
name="loan_line_id"
|
|
invisible="not loan_line_id"
|
|
readonly="True"
|
|
/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
</odoo>
|