diff --git a/account_lock_date_update/README.rst b/account_lock_date_update/README.rst
index 61021f6f4..d62b7d658 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 9ef82af22..e7abefec6 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 8d7e2a60d..538f52434 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 0b0961d39..352893acb 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 1c1ab165e..5b060a325 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 7a6016694..ef28cede8 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 8ba9801da..29f699767 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 6fd08ea7f..27461f40c 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 5ba68b94b..ab50fd4c0 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 5c0fbed25..b36df1d9c 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 09ae2e488..f1e2e4795 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 c584cd7a9..6542b9843 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 2c39ea650..2e1afbe10 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 1cb623e9c..a8362b727 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 ef2c0781b..fd4ba287f 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 463d6cc90..480973fab 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 af0602150..2f300dec8 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 e0fe9c4ba..b3fff6257 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 e27a222ef..40d8cac04 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 b9f563333..36716528c 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 4f4dfc25a..5e01e42ed 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 47e0050ea..f87e7aa2c 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 5e9455d53..ed0bc0190 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 9750f2092..15a85372b 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 f4368f7d5..777216884 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 8f1d56503..76ebabb69 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 b2d7a8022..03239d6ce 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 1ff8a9c3e..05df5a103 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 cc4711345..a8d576aca 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 9ae8c22fc..4c3f07c65 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 19d2bf6a2..80f3837c5 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 84bee4c0e..85cf42ed5 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 5c53b1f3e..814ba9cb9 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 8f1eb44c1..a4866ce6c 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 173a3b669..696f9a701 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 d9e3315ef..a1b3da094 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 6fc33f3ef..2651735fc 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 50189605e..1ad34c917 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 02fa1fc22..1a2eef4fe 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 1ee825836..2aed95dda 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 fda001d41..55d7ca8ee 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 ea438befb..d2d460f75 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 4db4b8425..92876b49a 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 96f8cef01..829d03347 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 6ca56089d..8813be782 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 596997bc0..7d44711ed 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 d8f481bca..76fc509d5 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 e21994c96..b79b96dec 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 854511961..4b6fb2791 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 2b1f973ea..d101c866d 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 c1c7f2fd9..223e08c8d 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 d3baa410e..d4e3c494b 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 90cbda197..cf5a3a205 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 74b42ef7b..aa38547fd 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 59d47b038..eeb0c18f5 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 236d06229..7c14b6968 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 2db30a702..6021ce1a7 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 3a61fa851..00cb75f44 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 6ed1835ba..c74964ff2 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 54cea9157..6bf94c58a 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 c07b5e051..e963dffcc 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 cac65fcb7..bcf6dcf58 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 8dcd898de..4069af559 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 d791e9c81..00339a769 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 d6aa0c26d..09ecfafc2 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 50877f4c4..9148a18ed 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 5a39e9748..a789a0fa5 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 e43f48924..2ebcc688d 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 138c37047..893488c76 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 c6d1625e4..cb0be73ab 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 617e395af..0e27e113b 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 06c13b808..a7d1d4694 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 af5ce6311..f6124364c 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 de879d97f..511deb696 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 a599d7ddb..670929adb 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 78901ad62..f1a9f7a16 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 edf254bd0..4ae96e6ea 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. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-

+

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.
@@ -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 25b12c344..a572b1f06 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 9368e1603..6912b81bf 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 05a6c769e..c845efec3 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
-
-