account-closing/account_cutoff_accrual_picking/views/account_cutoff.xml
2021-04-28 16:52:58 +02:00

28 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2020-2021 Akretion France (http://www.akretion.com/)
@author Alexis de Lattre <alexis.delattre@akretion.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
-->
<flectra>
<record id="account_cutoff_form" model="ir.ui.view">
<field name="name">accrual.picking.account_cutoff_form</field>
<field name="model">account.cutoff</field>
<field name="inherit_id" ref="account_cutoff_base.account_cutoff_form" />
<field name="arch" type="xml">
<field name="cutoff_date" position="after">
<label
for="picking_interval_days"
attrs="{'invisible': [('cutoff_type', 'not in', ('accrued_expense', 'accrued_revenue'))]}"
/>
<div
name="picking_interval_days"
attrs="{'invisible': [('cutoff_type', 'not in', ('accrued_expense', 'accrued_revenue'))]}"
>
<field name="picking_interval_days" class="oe_inline" /> days
</div>
</field>
</field>
</record>
</flectra>