From 0b9e2510c1dbd65c9cf8e5b04de914e37bc1aee8 Mon Sep 17 00:00:00 2001 From: Andrea Date: Fri, 17 Jan 2020 11:41:26 +0100 Subject: [PATCH] pre-commit --- account_lock_date_update/README.rst | 11 +++-- account_lock_date_update/__manifest__.py | 22 ++++----- .../i18n/account_lock_date_update.pot | 18 ++++--- account_lock_date_update/i18n/am.po | 2 +- account_lock_date_update/i18n/ar.po | 2 +- account_lock_date_update/i18n/bg.po | 2 +- account_lock_date_update/i18n/bs.po | 2 +- account_lock_date_update/i18n/ca.po | 2 +- account_lock_date_update/i18n/ca_ES.po | 2 +- account_lock_date_update/i18n/cs.po | 2 +- account_lock_date_update/i18n/da.po | 2 +- account_lock_date_update/i18n/de.po | 2 +- account_lock_date_update/i18n/el_GR.po | 2 +- account_lock_date_update/i18n/en_AU.po | 2 +- account_lock_date_update/i18n/en_GB.po | 2 +- account_lock_date_update/i18n/es.po | 2 +- account_lock_date_update/i18n/es_AR.po | 2 +- account_lock_date_update/i18n/es_CL.po | 2 +- account_lock_date_update/i18n/es_CO.po | 2 +- account_lock_date_update/i18n/es_CR.po | 2 +- account_lock_date_update/i18n/es_DO.po | 2 +- account_lock_date_update/i18n/es_EC.po | 2 +- account_lock_date_update/i18n/es_ES.po | 2 +- account_lock_date_update/i18n/es_MX.po | 2 +- account_lock_date_update/i18n/es_PE.po | 2 +- account_lock_date_update/i18n/es_PY.po | 2 +- account_lock_date_update/i18n/es_VE.po | 2 +- account_lock_date_update/i18n/et.po | 2 +- account_lock_date_update/i18n/eu.po | 2 +- account_lock_date_update/i18n/fa.po | 2 +- account_lock_date_update/i18n/fi.po | 2 +- account_lock_date_update/i18n/fr.po | 2 +- account_lock_date_update/i18n/fr_CA.po | 2 +- account_lock_date_update/i18n/fr_CH.po | 2 +- account_lock_date_update/i18n/fr_FR.po | 2 +- account_lock_date_update/i18n/gl.po | 2 +- account_lock_date_update/i18n/gl_ES.po | 2 +- account_lock_date_update/i18n/gu.po | 2 +- account_lock_date_update/i18n/he.po | 2 +- account_lock_date_update/i18n/hi.po | 2 +- account_lock_date_update/i18n/hr.po | 6 +-- account_lock_date_update/i18n/hr_HR.po | 2 +- account_lock_date_update/i18n/hu.po | 2 +- account_lock_date_update/i18n/id.po | 2 +- account_lock_date_update/i18n/it.po | 2 +- account_lock_date_update/i18n/ja.po | 2 +- account_lock_date_update/i18n/ko.po | 2 +- account_lock_date_update/i18n/lo.po | 2 +- account_lock_date_update/i18n/lt.po | 2 +- account_lock_date_update/i18n/lt_LT.po | 2 +- account_lock_date_update/i18n/lv.po | 2 +- account_lock_date_update/i18n/mk.po | 2 +- account_lock_date_update/i18n/mn.po | 2 +- account_lock_date_update/i18n/nb.po | 2 +- account_lock_date_update/i18n/nb_NO.po | 2 +- account_lock_date_update/i18n/nl.po | 2 +- account_lock_date_update/i18n/nl_BE.po | 2 +- account_lock_date_update/i18n/pl.po | 2 +- account_lock_date_update/i18n/pt.po | 2 +- account_lock_date_update/i18n/pt_BR.po | 6 +-- account_lock_date_update/i18n/pt_PT.po | 2 +- account_lock_date_update/i18n/ro.po | 2 +- account_lock_date_update/i18n/ru.po | 2 +- account_lock_date_update/i18n/sk.po | 2 +- account_lock_date_update/i18n/sl.po | 2 +- account_lock_date_update/i18n/sr.po | 2 +- account_lock_date_update/i18n/sr@latin.po | 2 +- account_lock_date_update/i18n/sv.po | 2 +- account_lock_date_update/i18n/th.po | 2 +- account_lock_date_update/i18n/tr.po | 2 +- account_lock_date_update/i18n/tr_TR.po | 2 +- account_lock_date_update/i18n/uk.po | 2 +- account_lock_date_update/i18n/vi.po | 2 +- account_lock_date_update/i18n/vi_VN.po | 2 +- account_lock_date_update/i18n/zh_CN.po | 2 +- account_lock_date_update/i18n/zh_TW.po | 2 +- .../static/description/index.html | 7 +-- .../tests/test_account_lock_date_update.py | 49 ++++++++----------- .../wizards/account_update_lock_date.py | 43 +++++++++------- .../wizards/account_update_lock_date.xml | 39 ++++++++------- 80 files changed, 173 insertions(+), 170 deletions(-) diff --git a/account_lock_date_update/README.rst b/account_lock_date_update/README.rst index 61021f6f..d62b7d65 100644 --- a/account_lock_date_update/README.rst +++ b/account_lock_date_update/README.rst @@ -14,13 +14,13 @@ Account Lock Date Update :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github - :target: https://github.com/OCA/account-financial-tools/tree/12.0/account_lock_date_update + :target: https://github.com/OCA/account-financial-tools/tree/13.0/account_lock_date_update :alt: OCA/account-financial-tools .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_lock_date_update + :target: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_lock_date_update :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/92/12.0 + :target: https://runbot.odoo-community.org/runbot/92/13.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -47,7 +47,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -65,6 +65,7 @@ Contributors * Benjamin Willig * Fekete Mihai * Kitti Upariphutthiphong +* Andrea Stirpe Maintainers ~~~~~~~~~~~ @@ -79,6 +80,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/account-financial-tools `_ project on GitHub. +This module is part of the `OCA/account-financial-tools `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_lock_date_update/__manifest__.py b/account_lock_date_update/__manifest__.py index 9ef82af2..e7abefec 100644 --- a/account_lock_date_update/__manifest__.py +++ b/account_lock_date_update/__manifest__.py @@ -2,19 +2,15 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { - 'name': 'Account Lock Date Update', - 'summary': """ + "name": "Account Lock Date Update", + "summary": """ Allow an Account adviser to update locking date without having access to all technical settings""", - 'version': '13.0.1.0.0', - 'license': 'AGPL-3', - 'author': 'ACSONE SA/NV, Odoo Community Association (OCA)', - 'website': 'https://github.com/OCA/account-financial-tools', - 'installable': True, - 'depends': [ - 'account', - ], - 'data': [ - 'wizards/account_update_lock_date.xml', - ], + "version": "13.0.1.0.0", + "license": "AGPL-3", + "author": "ACSONE SA/NV, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/account-financial-tools", + "installable": True, + "depends": ["account"], + "data": ["wizards/account_update_lock_date.xml"], } diff --git a/account_lock_date_update/i18n/account_lock_date_update.pot b/account_lock_date_update/i18n/account_lock_date_update.pot index 8d7e2a60..538f5243 100644 --- a/account_lock_date_update/i18n/account_lock_date_update.pot +++ b/account_lock_date_update/i18n/account_lock_date_update.pot @@ -1,12 +1,12 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * account_lock_date_update +# * account_lock_date_update # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: <>\n" +"Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -75,12 +75,17 @@ msgstr "" #. module: account_lock_date_update #: model:ir.model.fields,help:account_lock_date_update.field_account_update_lock_date__fiscalyear_lock_date -msgid "No users, including Advisers, can edit accounts prior to and inclusive of this date. Use it for fiscal year locking for example." +msgid "" +"No users, including Advisers, can edit accounts prior to and inclusive of " +"this date. Use it for fiscal year locking for example." msgstr "" #. module: account_lock_date_update #: model:ir.model.fields,help:account_lock_date_update.field_account_update_lock_date__period_lock_date -msgid "Only users with the 'Adviser' role can edit accounts prior to and inclusive of this date. Use it for period locking inside an open fiscal year, for example." +msgid "" +"Only users with the 'Adviser' role can edit accounts prior to and inclusive " +"of this date. Use it for period locking inside an open fiscal year, for " +"example." msgstr "" #. module: account_lock_date_update @@ -95,8 +100,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" - diff --git a/account_lock_date_update/i18n/am.po b/account_lock_date_update/i18n/am.po index 0b0961d3..352893ac 100644 --- a/account_lock_date_update/i18n/am.po +++ b/account_lock_date_update/i18n/am.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/ar.po b/account_lock_date_update/i18n/ar.po index 1c1ab165..5b060a32 100644 --- a/account_lock_date_update/i18n/ar.po +++ b/account_lock_date_update/i18n/ar.po @@ -112,7 +112,7 @@ msgid "Update accounting lock dates" msgstr "تحديث تواريخ الاقفال" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "لا يمكنك اتمام هذه العملية." diff --git a/account_lock_date_update/i18n/bg.po b/account_lock_date_update/i18n/bg.po index 7a601669..ef28cede 100644 --- a/account_lock_date_update/i18n/bg.po +++ b/account_lock_date_update/i18n/bg.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/bs.po b/account_lock_date_update/i18n/bs.po index 8ba9801d..29f69976 100644 --- a/account_lock_date_update/i18n/bs.po +++ b/account_lock_date_update/i18n/bs.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/ca.po b/account_lock_date_update/i18n/ca.po index 6fd08ea7..27461f40 100644 --- a/account_lock_date_update/i18n/ca.po +++ b/account_lock_date_update/i18n/ca.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/ca_ES.po b/account_lock_date_update/i18n/ca_ES.po index 5ba68b94..ab50fd4c 100644 --- a/account_lock_date_update/i18n/ca_ES.po +++ b/account_lock_date_update/i18n/ca_ES.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/cs.po b/account_lock_date_update/i18n/cs.po index 5c0fbed2..b36df1d9 100644 --- a/account_lock_date_update/i18n/cs.po +++ b/account_lock_date_update/i18n/cs.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/da.po b/account_lock_date_update/i18n/da.po index 09ae2e48..f1e2e479 100644 --- a/account_lock_date_update/i18n/da.po +++ b/account_lock_date_update/i18n/da.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/de.po b/account_lock_date_update/i18n/de.po index c584cd7a..6542b984 100644 --- a/account_lock_date_update/i18n/de.po +++ b/account_lock_date_update/i18n/de.po @@ -111,7 +111,7 @@ msgid "Update accounting lock dates" msgstr "Aktualisiere Kontosperrdaten" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "Sie haben keine Berechtigung für diese Aktion." diff --git a/account_lock_date_update/i18n/el_GR.po b/account_lock_date_update/i18n/el_GR.po index 2c39ea65..2e1afbe1 100644 --- a/account_lock_date_update/i18n/el_GR.po +++ b/account_lock_date_update/i18n/el_GR.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/en_AU.po b/account_lock_date_update/i18n/en_AU.po index 1cb623e9..a8362b72 100644 --- a/account_lock_date_update/i18n/en_AU.po +++ b/account_lock_date_update/i18n/en_AU.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/en_GB.po b/account_lock_date_update/i18n/en_GB.po index ef2c0781..fd4ba287 100644 --- a/account_lock_date_update/i18n/en_GB.po +++ b/account_lock_date_update/i18n/en_GB.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/es.po b/account_lock_date_update/i18n/es.po index 463d6cc9..480973fa 100644 --- a/account_lock_date_update/i18n/es.po +++ b/account_lock_date_update/i18n/es.po @@ -112,7 +112,7 @@ msgid "Update accounting lock dates" msgstr "Actualizar fechas de bloqueo contable" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "No está autorizado a realizar esta acción." diff --git a/account_lock_date_update/i18n/es_AR.po b/account_lock_date_update/i18n/es_AR.po index af060215..2f300dec 100644 --- a/account_lock_date_update/i18n/es_AR.po +++ b/account_lock_date_update/i18n/es_AR.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/es_CL.po b/account_lock_date_update/i18n/es_CL.po index e0fe9c4b..b3fff625 100644 --- a/account_lock_date_update/i18n/es_CL.po +++ b/account_lock_date_update/i18n/es_CL.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/es_CO.po b/account_lock_date_update/i18n/es_CO.po index e27a222e..40d8cac0 100644 --- a/account_lock_date_update/i18n/es_CO.po +++ b/account_lock_date_update/i18n/es_CO.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/es_CR.po b/account_lock_date_update/i18n/es_CR.po index b9f56333..36716528 100644 --- a/account_lock_date_update/i18n/es_CR.po +++ b/account_lock_date_update/i18n/es_CR.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/es_DO.po b/account_lock_date_update/i18n/es_DO.po index 4f4dfc25..5e01e42e 100644 --- a/account_lock_date_update/i18n/es_DO.po +++ b/account_lock_date_update/i18n/es_DO.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/es_EC.po b/account_lock_date_update/i18n/es_EC.po index 47e0050e..f87e7aa2 100644 --- a/account_lock_date_update/i18n/es_EC.po +++ b/account_lock_date_update/i18n/es_EC.po @@ -107,7 +107,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/es_ES.po b/account_lock_date_update/i18n/es_ES.po index 5e9455d5..ed0bc019 100644 --- a/account_lock_date_update/i18n/es_ES.po +++ b/account_lock_date_update/i18n/es_ES.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/es_MX.po b/account_lock_date_update/i18n/es_MX.po index 9750f209..15a85372 100644 --- a/account_lock_date_update/i18n/es_MX.po +++ b/account_lock_date_update/i18n/es_MX.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/es_PE.po b/account_lock_date_update/i18n/es_PE.po index f4368f7d..77721688 100644 --- a/account_lock_date_update/i18n/es_PE.po +++ b/account_lock_date_update/i18n/es_PE.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/es_PY.po b/account_lock_date_update/i18n/es_PY.po index 8f1d5650..76ebabb6 100644 --- a/account_lock_date_update/i18n/es_PY.po +++ b/account_lock_date_update/i18n/es_PY.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/es_VE.po b/account_lock_date_update/i18n/es_VE.po index b2d7a802..03239d6c 100644 --- a/account_lock_date_update/i18n/es_VE.po +++ b/account_lock_date_update/i18n/es_VE.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/et.po b/account_lock_date_update/i18n/et.po index 1ff8a9c3..05df5a10 100644 --- a/account_lock_date_update/i18n/et.po +++ b/account_lock_date_update/i18n/et.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/eu.po b/account_lock_date_update/i18n/eu.po index cc471134..a8d576ac 100644 --- a/account_lock_date_update/i18n/eu.po +++ b/account_lock_date_update/i18n/eu.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/fa.po b/account_lock_date_update/i18n/fa.po index 9ae8c22f..4c3f07c6 100644 --- a/account_lock_date_update/i18n/fa.po +++ b/account_lock_date_update/i18n/fa.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/fi.po b/account_lock_date_update/i18n/fi.po index 19d2bf6a..80f3837c 100644 --- a/account_lock_date_update/i18n/fi.po +++ b/account_lock_date_update/i18n/fi.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/fr.po b/account_lock_date_update/i18n/fr.po index 84bee4c0..85cf42ed 100644 --- a/account_lock_date_update/i18n/fr.po +++ b/account_lock_date_update/i18n/fr.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/fr_CA.po b/account_lock_date_update/i18n/fr_CA.po index 5c53b1f3..814ba9cb 100644 --- a/account_lock_date_update/i18n/fr_CA.po +++ b/account_lock_date_update/i18n/fr_CA.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/fr_CH.po b/account_lock_date_update/i18n/fr_CH.po index 8f1eb44c..a4866ce6 100644 --- a/account_lock_date_update/i18n/fr_CH.po +++ b/account_lock_date_update/i18n/fr_CH.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/fr_FR.po b/account_lock_date_update/i18n/fr_FR.po index 173a3b66..696f9a70 100644 --- a/account_lock_date_update/i18n/fr_FR.po +++ b/account_lock_date_update/i18n/fr_FR.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/gl.po b/account_lock_date_update/i18n/gl.po index d9e3315e..a1b3da09 100644 --- a/account_lock_date_update/i18n/gl.po +++ b/account_lock_date_update/i18n/gl.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/gl_ES.po b/account_lock_date_update/i18n/gl_ES.po index 6fc33f3e..2651735f 100644 --- a/account_lock_date_update/i18n/gl_ES.po +++ b/account_lock_date_update/i18n/gl_ES.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/gu.po b/account_lock_date_update/i18n/gu.po index 50189605..1ad34c91 100644 --- a/account_lock_date_update/i18n/gu.po +++ b/account_lock_date_update/i18n/gu.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/he.po b/account_lock_date_update/i18n/he.po index 02fa1fc2..1a2eef4f 100644 --- a/account_lock_date_update/i18n/he.po +++ b/account_lock_date_update/i18n/he.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/hi.po b/account_lock_date_update/i18n/hi.po index 1ee82583..2aed95dd 100644 --- a/account_lock_date_update/i18n/hi.po +++ b/account_lock_date_update/i18n/hi.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/hr.po b/account_lock_date_update/i18n/hr.po index fda001d4..55d7ca8e 100644 --- a/account_lock_date_update/i18n/hr.po +++ b/account_lock_date_update/i18n/hr.po @@ -16,8 +16,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=" -"4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 3.8\n" #. module: account_lock_date_update @@ -109,7 +109,7 @@ msgid "Update accounting lock dates" msgstr "Ažuriraj datume zaključavanja" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "Nije vam odobreno izvršiti ovu radnju." diff --git a/account_lock_date_update/i18n/hr_HR.po b/account_lock_date_update/i18n/hr_HR.po index ea438bef..d2d460f7 100644 --- a/account_lock_date_update/i18n/hr_HR.po +++ b/account_lock_date_update/i18n/hr_HR.po @@ -107,7 +107,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/hu.po b/account_lock_date_update/i18n/hu.po index 4db4b842..92876b49 100644 --- a/account_lock_date_update/i18n/hu.po +++ b/account_lock_date_update/i18n/hu.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/id.po b/account_lock_date_update/i18n/id.po index 96f8cef0..829d0334 100644 --- a/account_lock_date_update/i18n/id.po +++ b/account_lock_date_update/i18n/id.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/it.po b/account_lock_date_update/i18n/it.po index 6ca56089..8813be78 100644 --- a/account_lock_date_update/i18n/it.po +++ b/account_lock_date_update/i18n/it.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/ja.po b/account_lock_date_update/i18n/ja.po index 596997bc..7d44711e 100644 --- a/account_lock_date_update/i18n/ja.po +++ b/account_lock_date_update/i18n/ja.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/ko.po b/account_lock_date_update/i18n/ko.po index d8f481bc..76fc509d 100644 --- a/account_lock_date_update/i18n/ko.po +++ b/account_lock_date_update/i18n/ko.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/lo.po b/account_lock_date_update/i18n/lo.po index e21994c9..b79b96de 100644 --- a/account_lock_date_update/i18n/lo.po +++ b/account_lock_date_update/i18n/lo.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/lt.po b/account_lock_date_update/i18n/lt.po index 85451196..4b6fb279 100644 --- a/account_lock_date_update/i18n/lt.po +++ b/account_lock_date_update/i18n/lt.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/lt_LT.po b/account_lock_date_update/i18n/lt_LT.po index 2b1f973e..d101c866 100644 --- a/account_lock_date_update/i18n/lt_LT.po +++ b/account_lock_date_update/i18n/lt_LT.po @@ -107,7 +107,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/lv.po b/account_lock_date_update/i18n/lv.po index c1c7f2fd..223e08c8 100644 --- a/account_lock_date_update/i18n/lv.po +++ b/account_lock_date_update/i18n/lv.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/mk.po b/account_lock_date_update/i18n/mk.po index d3baa410..d4e3c494 100644 --- a/account_lock_date_update/i18n/mk.po +++ b/account_lock_date_update/i18n/mk.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/mn.po b/account_lock_date_update/i18n/mn.po index 90cbda19..cf5a3a20 100644 --- a/account_lock_date_update/i18n/mn.po +++ b/account_lock_date_update/i18n/mn.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/nb.po b/account_lock_date_update/i18n/nb.po index 74b42ef7..aa38547f 100644 --- a/account_lock_date_update/i18n/nb.po +++ b/account_lock_date_update/i18n/nb.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/nb_NO.po b/account_lock_date_update/i18n/nb_NO.po index 59d47b03..eeb0c18f 100644 --- a/account_lock_date_update/i18n/nb_NO.po +++ b/account_lock_date_update/i18n/nb_NO.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/nl.po b/account_lock_date_update/i18n/nl.po index 236d0622..7c14b696 100644 --- a/account_lock_date_update/i18n/nl.po +++ b/account_lock_date_update/i18n/nl.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/nl_BE.po b/account_lock_date_update/i18n/nl_BE.po index 2db30a70..6021ce1a 100644 --- a/account_lock_date_update/i18n/nl_BE.po +++ b/account_lock_date_update/i18n/nl_BE.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/pl.po b/account_lock_date_update/i18n/pl.po index 3a61fa85..00cb75f4 100644 --- a/account_lock_date_update/i18n/pl.po +++ b/account_lock_date_update/i18n/pl.po @@ -107,7 +107,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/pt.po b/account_lock_date_update/i18n/pt.po index 6ed1835b..c74964ff 100644 --- a/account_lock_date_update/i18n/pt.po +++ b/account_lock_date_update/i18n/pt.po @@ -111,7 +111,7 @@ msgid "Update accounting lock dates" msgstr "Atualizar data de bloqueio de contas" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "Não está autorizado a executar esta ação." diff --git a/account_lock_date_update/i18n/pt_BR.po b/account_lock_date_update/i18n/pt_BR.po index 54cea915..6bf94c58 100644 --- a/account_lock_date_update/i18n/pt_BR.po +++ b/account_lock_date_update/i18n/pt_BR.po @@ -11,8 +11,8 @@ msgstr "" "POT-Creation-Date: 2017-11-28 23:24+0000\n" "PO-Revision-Date: 2019-07-09 01:43+0000\n" "Last-Translator: Eduardo Aparicio \n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/" -"23907/pt_BR/)\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -112,7 +112,7 @@ msgid "Update accounting lock dates" msgstr "Atualizar datas de bloqueio contábil" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "Você não tem permissão para realizar esta ação." diff --git a/account_lock_date_update/i18n/pt_PT.po b/account_lock_date_update/i18n/pt_PT.po index c07b5e05..e963dffc 100644 --- a/account_lock_date_update/i18n/pt_PT.po +++ b/account_lock_date_update/i18n/pt_PT.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/ro.po b/account_lock_date_update/i18n/ro.po index cac65fcb..bcf6dcf5 100644 --- a/account_lock_date_update/i18n/ro.po +++ b/account_lock_date_update/i18n/ro.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/ru.po b/account_lock_date_update/i18n/ru.po index 8dcd898d..4069af55 100644 --- a/account_lock_date_update/i18n/ru.po +++ b/account_lock_date_update/i18n/ru.po @@ -107,7 +107,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/sk.po b/account_lock_date_update/i18n/sk.po index d791e9c8..00339a76 100644 --- a/account_lock_date_update/i18n/sk.po +++ b/account_lock_date_update/i18n/sk.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/sl.po b/account_lock_date_update/i18n/sl.po index d6aa0c26..09ecfafc 100644 --- a/account_lock_date_update/i18n/sl.po +++ b/account_lock_date_update/i18n/sl.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/sr.po b/account_lock_date_update/i18n/sr.po index 50877f4c..9148a18e 100644 --- a/account_lock_date_update/i18n/sr.po +++ b/account_lock_date_update/i18n/sr.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/sr@latin.po b/account_lock_date_update/i18n/sr@latin.po index 5a39e974..a789a0fa 100644 --- a/account_lock_date_update/i18n/sr@latin.po +++ b/account_lock_date_update/i18n/sr@latin.po @@ -107,7 +107,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/sv.po b/account_lock_date_update/i18n/sv.po index e43f4892..2ebcc688 100644 --- a/account_lock_date_update/i18n/sv.po +++ b/account_lock_date_update/i18n/sv.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/th.po b/account_lock_date_update/i18n/th.po index 138c3704..893488c7 100644 --- a/account_lock_date_update/i18n/th.po +++ b/account_lock_date_update/i18n/th.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/tr.po b/account_lock_date_update/i18n/tr.po index c6d1625e..cb0be73a 100644 --- a/account_lock_date_update/i18n/tr.po +++ b/account_lock_date_update/i18n/tr.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/tr_TR.po b/account_lock_date_update/i18n/tr_TR.po index 617e395a..0e27e113 100644 --- a/account_lock_date_update/i18n/tr_TR.po +++ b/account_lock_date_update/i18n/tr_TR.po @@ -107,7 +107,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/uk.po b/account_lock_date_update/i18n/uk.po index 06c13b80..a7d1d469 100644 --- a/account_lock_date_update/i18n/uk.po +++ b/account_lock_date_update/i18n/uk.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/vi.po b/account_lock_date_update/i18n/vi.po index af5ce631..f6124364 100644 --- a/account_lock_date_update/i18n/vi.po +++ b/account_lock_date_update/i18n/vi.po @@ -105,7 +105,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/vi_VN.po b/account_lock_date_update/i18n/vi_VN.po index de879d97..511deb69 100644 --- a/account_lock_date_update/i18n/vi_VN.po +++ b/account_lock_date_update/i18n/vi_VN.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/zh_CN.po b/account_lock_date_update/i18n/zh_CN.po index a599d7dd..670929ad 100644 --- a/account_lock_date_update/i18n/zh_CN.po +++ b/account_lock_date_update/i18n/zh_CN.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/i18n/zh_TW.po b/account_lock_date_update/i18n/zh_TW.po index 78901ad6..f1a9f7a1 100644 --- a/account_lock_date_update/i18n/zh_TW.po +++ b/account_lock_date_update/i18n/zh_TW.po @@ -106,7 +106,7 @@ msgid "Update accounting lock dates" msgstr "" #. module: account_lock_date_update -#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:42 +#: code:addons/account_lock_date_update/wizards/account_update_lock_date.py:0 #, python-format msgid "You are not allowed to execute this action." msgstr "" diff --git a/account_lock_date_update/static/description/index.html b/account_lock_date_update/static/description/index.html index edf254bd..4ae96e6e 100644 --- a/account_lock_date_update/static/description/index.html +++ b/account_lock_date_update/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/account-financial-tools Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/account-financial-tools Translate me on Weblate Try me on Runbot

Allow an Account adviser to update locking date without having access to all technical settings.

Table of contents

@@ -396,7 +396,7 @@ access to all technical settings.

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -feedback.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -413,6 +413,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
  • Benjamin Willig <benjamin.willig@acsone.eu>
  • Fekete Mihai <feketemihai@gmail.com>
  • Kitti Upariphutthiphong <kittiu@ecosoft.co.th>
  • +
  • Andrea Stirpe <a.stirpe@onestein.nl>
  • @@ -422,7 +423,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

    OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

    -

    This module is part of the OCA/account-financial-tools project on GitHub.

    +

    This module is part of the OCA/account-financial-tools project on GitHub.

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    diff --git a/account_lock_date_update/tests/test_account_lock_date_update.py b/account_lock_date_update/tests/test_account_lock_date_update.py index 25b12c34..a572b1f0 100644 --- a/account_lock_date_update/tests/test_account_lock_date_update.py +++ b/account_lock_date_update/tests/test_account_lock_date_update.py @@ -2,51 +2,42 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import fields -from odoo.tests.common import TransactionCase from odoo.exceptions import UserError +from odoo.tests.common import TransactionCase class TestAccountLockDateUpdate(TransactionCase): - def setUp(self): super().setUp() - self.company = self.env.ref('base.main_company') - self.demo_user = self.env.ref('base.user_demo') - self.adviser_group = self.env.ref('account.group_account_manager') - self.UpdateLockDateUpdateObj = self.env[ - 'account.update.lock_date' - ].with_user(self.demo_user) + self.company = self.env.ref("base.main_company") + self.demo_user = self.env.ref("base.user_demo") + self.adviser_group = self.env.ref("account.group_account_manager") + self.UpdateLockDateUpdateObj = self.env["account.update.lock_date"].with_user( + self.demo_user + ) def create_account_lock_date_update(self): - return self.UpdateLockDateUpdateObj.create({ - 'company_id': self.company.id, - }) + return self.UpdateLockDateUpdateObj.create({"company_id": self.company.id}) def test_01_update_without_access(self): wizard = self.create_account_lock_date_update() - wizard.write({ - 'period_lock_date': '2000-01-01', - 'fiscalyear_lock_date': '2000-01-01', - }) - self.demo_user.write({ - 'groups_id': [(3, self.adviser_group.id)], - }) + wizard.write( + {"period_lock_date": "2000-01-01", "fiscalyear_lock_date": "2000-01-01"} + ) + self.demo_user.write({"groups_id": [(3, self.adviser_group.id)]}) with self.assertRaises(UserError): wizard.with_user(self.demo_user.id).execute() def test_02_update_with_access(self): wizard = self.create_account_lock_date_update() - wizard.write({ - 'period_lock_date': '2000-02-01', - 'fiscalyear_lock_date': '2000-01-01', - }) - self.demo_user.write({ - 'groups_id': [(4, self.adviser_group.id)], - }) + wizard.write( + {"period_lock_date": "2000-02-01", "fiscalyear_lock_date": "2000-01-01"} + ) + self.demo_user.write({"groups_id": [(4, self.adviser_group.id)]}) wizard.with_user(self.demo_user.id).execute() self.assertEqual( - fields.Date.to_string(self.company.period_lock_date), - '2000-02-01') + fields.Date.to_string(self.company.period_lock_date), "2000-02-01" + ) self.assertEqual( - fields.Date.to_string(self.company.fiscalyear_lock_date), - '2000-01-01') + fields.Date.to_string(self.company.fiscalyear_lock_date), "2000-01-01" + ) diff --git a/account_lock_date_update/wizards/account_update_lock_date.py b/account_lock_date_update/wizards/account_update_lock_date.py index 9368e160..6912b81b 100644 --- a/account_lock_date_update/wizards/account_update_lock_date.py +++ b/account_lock_date_update/wizards/account_update_lock_date.py @@ -1,48 +1,53 @@ # Copyright 2017 ACSONE SA/NV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import api, fields, models, _ +from odoo import _, api, fields, models from odoo.exceptions import UserError class AccountUpdateLockDate(models.TransientModel): - _name = 'account.update.lock_date' - _description = 'Account Update Lock_date' + _name = "account.update.lock_date" + _description = "Account Update Lock_date" - company_id = fields.Many2one( - comodel_name='res.company', required=True) + company_id = fields.Many2one(comodel_name="res.company", required=True) period_lock_date = fields.Date( string="Lock Date for Non-Advisers", help="Only users with the 'Adviser' role can edit accounts prior to " - "and inclusive of this date. Use it for period locking inside an " - "open fiscal year, for example.") + "and inclusive of this date. Use it for period locking inside an " + "open fiscal year, for example.", + ) fiscalyear_lock_date = fields.Date( string="Lock Date", help="No users, including Advisers, can edit accounts prior to and " - "inclusive of this date. Use it for fiscal year locking for " - "example.") + "inclusive of this date. Use it for fiscal year locking for " + "example.", + ) @api.model def default_get(self, field_list): res = super().default_get(field_list) company = self.env.company - res.update({ - 'company_id': company.id, - 'period_lock_date': company.period_lock_date, - 'fiscalyear_lock_date': company.fiscalyear_lock_date, - }) + res.update( + { + "company_id": company.id, + "period_lock_date": company.period_lock_date, + "fiscalyear_lock_date": company.fiscalyear_lock_date, + } + ) return res def _check_execute_allowed(self): self.ensure_one() - has_adviser_group = self.env.user.has_group('account.group_account_manager') + has_adviser_group = self.env.user.has_group("account.group_account_manager") if not (has_adviser_group or self.env.user._is_admin()): raise UserError(_("You are not allowed to execute this action.")) def execute(self): self.ensure_one() self._check_execute_allowed() - self.company_id.sudo().write({ - 'period_lock_date': self.period_lock_date, - 'fiscalyear_lock_date': self.fiscalyear_lock_date, - }) + self.company_id.sudo().write( + { + "period_lock_date": self.period_lock_date, + "fiscalyear_lock_date": self.fiscalyear_lock_date, + } + ) diff --git a/account_lock_date_update/wizards/account_update_lock_date.xml b/account_lock_date_update/wizards/account_update_lock_date.xml index 05a6c769..c845efec 100644 --- a/account_lock_date_update/wizards/account_update_lock_date.xml +++ b/account_lock_date_update/wizards/account_update_lock_date.xml @@ -1,47 +1,52 @@ - + - - - account.update.lock_date.form (in account_lock_date_update) + account.update.lock_date.form (in account_lock_date_update) account.update.lock_date
    -
    +
    - - + + - +
    -
    - Update accounting lock dates account.update.lock_date form new - Update accounting lock dates - - - - + + + + -