2020-01-17 11:41:26 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
2017-08-17 13:10:25 +02:00
|
|
|
<!-- Copyright 2017 ACSONE SA/NV
|
|
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
|
|
|
<odoo>
|
2020-01-17 11:39:54 +01:00
|
|
|
<record id="account_update_lock_date_form_view" model="ir.ui.view">
|
2020-01-17 11:41:26 +01:00
|
|
|
<field
|
|
|
|
name="name"
|
|
|
|
>account.update.lock_date.form (in account_lock_date_update)</field>
|
2017-08-17 13:10:25 +02:00
|
|
|
<field name="model">account.update.lock_date</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form>
|
|
|
|
<sheet>
|
2021-05-18 16:24:41 +02:00
|
|
|
<group id="main">
|
2021-11-18 19:14:45 +01:00
|
|
|
<field name="company_id" invisible="1" />
|
|
|
|
<field
|
|
|
|
name="tax_lock_date"
|
|
|
|
options="{'datepicker': {'warn_future': true}}"
|
|
|
|
/>
|
|
|
|
<field
|
|
|
|
name="period_lock_date"
|
|
|
|
options="{'datepicker': {'warn_future': true}}"
|
|
|
|
/>
|
|
|
|
<field
|
|
|
|
name="fiscalyear_lock_date"
|
|
|
|
options="{'datepicker': {'warn_future': true}}"
|
|
|
|
/>
|
2017-08-17 13:10:25 +02:00
|
|
|
</group>
|
|
|
|
</sheet>
|
|
|
|
<footer>
|
2020-01-17 11:41:26 +01:00
|
|
|
<button
|
|
|
|
string="Update"
|
|
|
|
name="execute"
|
|
|
|
type="object"
|
|
|
|
class="btn-primary"
|
|
|
|
/>
|
|
|
|
<button string="Cancel" class="btn-default" special="cancel" />
|
2017-08-17 13:10:25 +02:00
|
|
|
</footer>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2020-01-17 11:39:54 +01:00
|
|
|
<record id="account_update_lock_date_act_window" model="ir.actions.act_window">
|
2021-11-18 19:14:45 +01:00
|
|
|
<field name="name">Update Lock Dates</field>
|
2017-08-17 13:10:25 +02:00
|
|
|
<field name="res_model">account.update.lock_date</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="target">new</field>
|
|
|
|
</record>
|
2020-01-17 11:39:54 +01:00
|
|
|
<record id="account_update_lock_date_menu" model="ir.ui.menu">
|
2021-11-18 19:14:45 +01:00
|
|
|
<field name="name">Update Lock Dates</field>
|
2020-01-17 11:41:26 +01:00
|
|
|
<field name="parent_id" ref="account.menu_finance_entries_actions" />
|
|
|
|
<field name="action" ref="account_update_lock_date_act_window" />
|
|
|
|
<field name="sequence" eval="70" />
|
2017-08-17 13:10:25 +02:00
|
|
|
</record>
|
|
|
|
</odoo>
|