17 lines
729 B
XML
17 lines
729 B
XML
<?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>
|
|
<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'])]}"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
</odoo>
|