forked from OCA/account-financial-tools
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1640 from OCA/16.0
Syncing from upstream OCA/account-financial-tools (16.0)
- Loading branch information
Showing
25 changed files
with
1,640 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
==================== | ||
Account Lock To Date | ||
==================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:d9c89dea8edd605f8e986c2c2932c4ed82c20498b0eb130cb476013084315d1e | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
: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/16.0/account_lock_to_date | ||
: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-16-0/account-financial-tools-16-0-account_lock_to_date | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-financial-tools&target_branch=16.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module allows to set a Period and Fiscal year Locking end dates. This | ||
will prevent users from posting journal entries on a date after the defined | ||
period or fiscal year end date. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
To set a new lock to dates, go to *Invoicing / Accounting / Actions / Update accounting lock to dates*. | ||
|
||
A user without an Adviser group will not be able to post or update posted | ||
journal entries on the date "Lock To Date for Non-Advisers" or after. | ||
|
||
A user that has an Adviser group will not be able to post or update posted | ||
journal entries on the date "Lock To Date" or after. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-tools/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us to smash it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/account-financial-tools/issues/new?body=module:%20account_lock_to_date%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* ForgeFlow | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* ForgeFlow <https://www.ForgeFlow.com> | ||
** Jordi Ballester Alomar <[email protected]> | ||
* `Aion Tech <https://aiontech.company/>`_: | ||
|
||
* Simone Rubino <[email protected]> | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
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 <https://github.com/OCA/account-financial-tools/tree/16.0/account_lock_to_date>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from . import models | ||
from . import wizards |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Copyright 2019 ForgeFlow S.L. | ||
# Copyright 2023 Simone Rubino - Aion Tech | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Account Lock To Date", | ||
"summary": """ | ||
Allows to set an account lock date in the future.""", | ||
"version": "16.0.1.0.0", | ||
"license": "AGPL-3", | ||
"author": "ForgeFlow, Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/account-financial-tools", | ||
"installable": True, | ||
"depends": ["account"], | ||
"data": [ | ||
"security/ir.model.access.csv", | ||
"wizards/account_update_lock_to_date.xml", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,193 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * account_lock_to_date | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: \n" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.model,name:account_lock_to_date.model_account_update_lock_to_date | ||
msgid "Account Update Lock_to_date" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model_terms:ir.ui.view,arch_db:account_lock_to_date.account_update_lock_to_date_form_view | ||
msgid "Cancel" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.model,name:account_lock_to_date.model_res_company | ||
msgid "Companies" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.model.fields,field_description:account_lock_to_date.field_account_update_lock_to_date__company_id | ||
msgid "Company" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.model.fields,field_description:account_lock_to_date.field_account_update_lock_to_date__create_uid | ||
msgid "Created by" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.model.fields,field_description:account_lock_to_date.field_account_update_lock_to_date__create_date | ||
msgid "Created on" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.model.fields,field_description:account_lock_to_date.field_account_update_lock_to_date__display_name | ||
msgid "Display Name" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.model.fields,field_description:account_lock_to_date.field_account_update_lock_to_date__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.model,name:account_lock_to_date.model_account_move | ||
msgid "Journal Entry" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.model.fields,field_description:account_lock_to_date.field_account_update_lock_to_date____last_update | ||
msgid "Last Modified on" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.model.fields,field_description:account_lock_to_date.field_account_update_lock_to_date__write_uid | ||
msgid "Last Updated by" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.model.fields,field_description:account_lock_to_date.field_account_update_lock_to_date__write_date | ||
msgid "Last Updated on" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.model.fields,field_description:account_lock_to_date.field_account_update_lock_to_date__fiscalyear_lock_to_date | ||
#: model:ir.model.fields,field_description:account_lock_to_date.field_res_company__fiscalyear_lock_to_date | ||
msgid "Lock To Date" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.model.fields,field_description:account_lock_to_date.field_account_update_lock_to_date__period_lock_to_date | ||
#: model:ir.model.fields,field_description:account_lock_to_date.field_res_company__period_lock_to_date | ||
msgid "Lock To Date for Non-Advisers" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.model.fields,help:account_lock_to_date.field_account_update_lock_to_date__fiscalyear_lock_to_date | ||
msgid "" | ||
"No users, including Advisers, can edit accounts after and inclusive of this " | ||
"date. Use it for fiscal year locking for example." | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.model.fields,help:account_lock_to_date.field_res_company__fiscalyear_lock_to_date | ||
msgid "" | ||
"No users, including Advisers, can edit accounts after this date. Use it for " | ||
"fiscal year locking for example." | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.model.fields,help:account_lock_to_date.field_account_update_lock_to_date__period_lock_to_date | ||
msgid "" | ||
"Only users with the 'Adviser' role can edit accounts after and inclusive of " | ||
"this date. Use it for period locking inside an open fiscal year, for " | ||
"example." | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.model.fields,help:account_lock_to_date.field_res_company__period_lock_to_date | ||
msgid "" | ||
"Only users with the 'Adviser' role can edit accounts after this date. Use it" | ||
" for period locking inside an open fiscal year, for example." | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#. odoo-python | ||
#: code:addons/account_lock_to_date/models/res_company.py:0 | ||
#, python-format | ||
msgid "The lock date for advisors is irreversible and can't be removed." | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#. odoo-python | ||
#: code:addons/account_lock_to_date/models/res_company.py:0 | ||
#, python-format | ||
msgid "" | ||
"The new lock to date for advisors must be set after the previous lock to " | ||
"date." | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#. odoo-python | ||
#: code:addons/account_lock_to_date/models/res_company.py:0 | ||
#, python-format | ||
msgid "" | ||
"There are still unposted entries in the period to date you want to lock. You" | ||
" should either post or delete them." | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model_terms:ir.ui.view,arch_db:account_lock_to_date.account_update_lock_to_date_form_view | ||
msgid "Update" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#: model:ir.actions.act_window,name:account_lock_to_date.account_update_lock_to_date_act_window | ||
#: model:ir.ui.menu,name:account_lock_to_date.account_update_lock_to_date_menu | ||
msgid "Update accounting lock to dates" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#. odoo-python | ||
#: code:addons/account_lock_to_date/wizards/account_update_lock_to_date.py:0 | ||
#, python-format | ||
msgid "You are not allowed to execute this action." | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#. odoo-python | ||
#: code:addons/account_lock_to_date/models/account_move.py:0 | ||
#, python-format | ||
msgid "" | ||
"You cannot add/modify entries after and inclusive of the lock to date %s" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#. odoo-python | ||
#: code:addons/account_lock_to_date/models/account_move.py:0 | ||
#, python-format | ||
msgid "" | ||
"You cannot add/modify entries after and inclusive of the lock to date %s. " | ||
"Check the company settings or ask someone with the 'Adviser' role" | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#. odoo-python | ||
#: code:addons/account_lock_to_date/models/res_company.py:0 | ||
#, python-format | ||
msgid "" | ||
"You cannot define stricter conditions on advisors than on users. Please make" | ||
" sure that the lock date on advisor is set after the lock date for users." | ||
msgstr "" | ||
|
||
#. module: account_lock_to_date | ||
#. odoo-python | ||
#: code:addons/account_lock_to_date/models/res_company.py:0 | ||
#, python-format | ||
msgid "" | ||
"You cannot lock a period that is not finished yet. Please make sure that the" | ||
" lock date for advisors is set at or after the last day of the next month." | ||
msgstr "" |
Oops, something went wrong.