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

24 lines
846 B
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2015-2019 ACSONE SA/NV
Copyright 2021 CorporateHub (https://corporatehub.eu)
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_invoice_constraint_chronology)
</field>
2017-03-14 19:09:03 +01:00
<field name="model">account.journal</field>
<field name="inherit_id" ref="account.view_account_journal_form" />
2017-03-14 19:09:03 +01:00
<field name="arch" type="xml">
<field name="code" position="after">
<field
name="check_chronology"
attrs="{'invisible': [('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>