account_lock_date_update: fix over-sized wizard dialog box

Smaller menu entry label
Use string "lock dates" instead of "locking dates" to harmonize strings
This commit is contained in:
Alexis de Lattre
2018-01-24 22:37:46 +01:00
parent de1b37b461
commit 472275bb34
3 changed files with 15 additions and 20 deletions

View File

@@ -6,7 +6,7 @@
Account Lock Date Update
========================
Allow an Account adviser to update locking date without having
Allow an Account adviser to update lock dates without having
access to all technical settings.
Installation
@@ -24,8 +24,8 @@ Usage
To use this module, you need to be an account adviser and go to:
* Accounting -> Configuration -> Accounting -> Update accounting lock dates
* Change values and click on update button
* Accounting -> Configuration -> Accounting -> Lock Dates
* Change values and click on *Update* button
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot

View File

@@ -5,7 +5,7 @@
{
'name': 'Account Lock Date Update',
'summary': """
Allow an Account adviser to update locking date without having
Allow an Account adviser to update lock dates without having
access to all technical settings""",
'version': '10.0.1.0.0',
'license': 'AGPL-3',

View File

@@ -9,14 +9,11 @@
<field name="model">account.update.lock_date</field>
<field name="arch" type="xml">
<form>
<header/>
<sheet>
<group>
<field name="company_id" invisible="1"/>
<field name="period_lock_date"/>
<field name="fiscalyear_lock_date"/>
</group>
</sheet>
<group>
<field name="company_id" invisible="1"/>
<field name="period_lock_date"/>
<field name="fiscalyear_lock_date"/>
</group>
<footer>
<button string="Update" name="execute" type="object" class="btn-primary"/>
<button string="Cancel" class="btn-default" special="cancel"/>
@@ -27,18 +24,16 @@
<record model="ir.actions.act_window" id="account_update_lock_date_act_window">
<field name="name">Update accounting lock dates</field>
<field name="name">Lock Dates</field>
<field name="res_model">account.update.lock_date</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<record model="ir.ui.menu" id="account_update_lock_date_menu">
<field name="name">Update accounting lock dates</field>
<field name="parent_id" ref="account.account_account_menu"/>
<field name="action" ref="account_update_lock_date_act_window"/>
<field name="groups_id" eval="[(6, 0, [ref('account.group_account_manager')])]"/>
<field name="sequence" eval="70"/>
</record>
<menuitem id="account_update_lock_date_menu"
parent="account.account_account_menu"
action="account_update_lock_date_act_window"
groups="account.group_account_manager"
sequence="70"/>
</odoo>