2
0
account-financial-tools/account_journal_lock_date/wizards/update_journal_lock_dates_views.xml
Ernesto Tejeda 0464802099 [IMP] account_journal_lock_date: two dates per journal
- Change in journal the existing 'Lock date' by two dates, the same as in company.
- Add a wizard to allows a massive update of those dates for several journals at the same time.
2023-03-21 23:14:00 +01:00

40 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2020 Tecnativa - Ernesto Tejeda
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="update_journal_lock_dates_wizard_view_form" model="ir.ui.view">
<field name="name">update.journal.lock.dates.wizard.form</field>
<field name="model">update.journal.lock.dates.wizard</field>
<field name="arch" type="xml">
<form>
<group>
<group>
<field name="fiscalyear_lock_date"/>
</group>
<group>
<field name="period_lock_date"/>
</group>
</group>
<footer>
<button name="action_update_lock_dates"
string="Update"
type="object"
class="btn-primary"/>
<button string="Cancel"
class="btn-secondary"
special="cancel" />
</footer>
</form>
</field>
</record>
<act_window id="update_journal_lock_dates_wizard_action"
name="Update journals lock dates"
src_model="account.journal"
res_model="update.journal.lock.dates.wizard"
view_type="form"
view_mode="form"
key2="client_action_multi"
target="new"
multi="True"/>
</odoo>