2
0
account-financial-tools/account_invoice_constraint_chronology/view/account_view.xml

17 lines
729 B
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2015-2019 ACSONE SA/NV
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
2017-03-14 19:09:03 +01:00
<record id="view_account_journal_form" model="ir.ui.view">
<field name="name">account.journal.form (account_constraint_chronology)</field>
<field name="model">account.journal</field>
<field name="inherit_id" ref="account.view_account_journal_form"/>
<field name="arch" type="xml">
<field name="refund_sequence" position="after">
<field name="check_chronology"
attrs="{'readonly': [('type', 'not in', ['sale', 'purchase'])]}"/>
2017-03-14 19:09:03 +01:00
</field>
</field>
2017-03-14 19:09:03 +01:00
</record>
</odoo>