diff --git a/analytic_restrictions/README.rst b/analytic_restrictions/README.rst new file mode 100644 index 0000000..65471c7 --- /dev/null +++ b/analytic_restrictions/README.rst @@ -0,0 +1,73 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +===================== +Analytic Restrictions +===================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:0bfd82e8e7890eed12df1ca79150c5da65df27c5e818203c926aa1f6b9de14c2 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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/license-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-Escodoo%2Faccount--addons-lightgray.png?logo=github + :target: https://github.com/Escodoo/account-addons/tree/16.0/analytic_restrictions + :alt: Escodoo/account-addons + +|badge1| |badge2| |badge3| + +The "analytic_restrictions" module is an Odoo module that alters the permissions and create a new group to admin analytic data. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +* Install the module +* Configure the users who should have administrator access to the analytic data. + +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 to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Escodoo + +Contributors +~~~~~~~~~~~~ + +* `Escodoo `_: + + * Marcel Savegnago + * Douglas Custodio + +Maintainers +~~~~~~~~~~~ + +This module is part of the `Escodoo/account-addons `_ project on GitHub. + +You are welcome to contribute. diff --git a/analytic_restrictions/__init__.py b/analytic_restrictions/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/analytic_restrictions/__manifest__.py b/analytic_restrictions/__manifest__.py new file mode 100644 index 0000000..c73fa46 --- /dev/null +++ b/analytic_restrictions/__manifest__.py @@ -0,0 +1,18 @@ +# Copyright 2023 - TODAY, Escodoo +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Analytic Restrictions", + "summary": """ + Analytic Restrictions""", + "version": "16.0.1.0.0", + "license": "AGPL-3", + "author": "Escodoo", + "website": "https://github.com/Escodoo/account-addons", + "depends": ["account_analytic_tag", "account"], + "data": [ + "security/analytic_security.xml", + "security/ir.model.access.csv", + ], + "demo": [], +} diff --git a/analytic_restrictions/i18n/analytic_restrictions.pot b/analytic_restrictions/i18n/analytic_restrictions.pot new file mode 100644 index 0000000..18456d9 --- /dev/null +++ b/analytic_restrictions/i18n/analytic_restrictions.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * analytic_restrictions +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.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: analytic_restrictions +#: model:res.groups,name:analytic_restrictions.group_analytic_accounting_admin +msgid "Analytic Accounting Admin" +msgstr "" diff --git a/analytic_restrictions/pyproject.toml b/analytic_restrictions/pyproject.toml new file mode 100644 index 0000000..4231d0c --- /dev/null +++ b/analytic_restrictions/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/analytic_restrictions/readme/CONTRIBUTORS.rst b/analytic_restrictions/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..6a34035 --- /dev/null +++ b/analytic_restrictions/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* `Escodoo `_: + + * Marcel Savegnago + * Douglas Custodio diff --git a/analytic_restrictions/readme/DESCRIPTION.rst b/analytic_restrictions/readme/DESCRIPTION.rst new file mode 100644 index 0000000..fee9ade --- /dev/null +++ b/analytic_restrictions/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +The "analytic_restrictions" module is an Odoo module that alters the permissions and create a new group to admin analytic data. diff --git a/analytic_restrictions/readme/USAGE.rst b/analytic_restrictions/readme/USAGE.rst new file mode 100644 index 0000000..8ad852e --- /dev/null +++ b/analytic_restrictions/readme/USAGE.rst @@ -0,0 +1,2 @@ +* Install the module +* Configure the users who should have administrator access to the analytic data. diff --git a/analytic_restrictions/security/analytic_security.xml b/analytic_restrictions/security/analytic_security.xml new file mode 100644 index 0000000..b95494c --- /dev/null +++ b/analytic_restrictions/security/analytic_security.xml @@ -0,0 +1,11 @@ + + + + Analytic Accounting Admin + + + + diff --git a/analytic_restrictions/security/ir.model.access.csv b/analytic_restrictions/security/ir.model.access.csv new file mode 100644 index 0000000..9da28a1 --- /dev/null +++ b/analytic_restrictions/security/ir.model.access.csv @@ -0,0 +1,12 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_account_analytic_account,access_account_analytic_account,analytic.model_account_analytic_account,group_analytic_accounting,1,0,0,0 +access_account_analytic_line,access_account_analytic_line,analytic.model_account_analytic_line,group_analytic_accounting,1,0,0,0 +access_account_analytic_tag,access_account_analytic_tag,model_account_analytic_tag,group_analytic_accounting,1,0,0,0 +access_account_analytic_group,access_account_analytic_group,model_account_analytic_group,group_analytic_accounting,1,0,0,0 +access_account_analytic_distribution,access_account_analytic_distribution,model_account_analytic_distribution,group_analytic_accounting,1,0,0,0 + +access_account_analytic_account_admin,access_account_analytic_account_admin,analytic.model_account_analytic_account,group_analytic_accounting_admin,1,1,1,1 +access_account_analytic_line_admin,access_account_analytic_line_admin,analytic.model_account_analytic_line,group_analytic_accounting_admin,1,1,1,1 +access_account_analytic_tag_admin,access_account_analytic_tag_admin,model_account_analytic_tag,group_analytic_accounting_admin,1,1,1,1 +access_account_analytic_group_admin,access_account_analytic_group_admin,model_account_analytic_group,group_analytic_accounting_admin,1,1,1,1 +access_account_analytic_distribution_admin,access_account_analytic_distribution_admin,analytic.model_account_analytic_distribution,group_analytic_accounting_admin,1,1,1,1 diff --git a/analytic_restrictions/static/description/icon.png b/analytic_restrictions/static/description/icon.png new file mode 100644 index 0000000..12ab005 Binary files /dev/null and b/analytic_restrictions/static/description/icon.png differ diff --git a/analytic_restrictions/static/description/index.html b/analytic_restrictions/static/description/index.html new file mode 100644 index 0000000..7bdf668 --- /dev/null +++ b/analytic_restrictions/static/description/index.html @@ -0,0 +1,431 @@ + + + + + +README.rst + + + +
+ + +Odoo Community Association +
+

Analytic Restrictions

+ +

Beta License: AGPL-3 Escodoo/account-addons

+

The “analytic_restrictions” module is an Odoo module that alters the permissions and create a new group to admin analytic data.

+

Table of contents

+ +
+

Usage

+
    +
  • Install the module
  • +
  • Configure the users who should have administrator access to the analytic data.
  • +
+
+
+

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 to smash it by providing a detailed and welcomed +feedback.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Escodoo
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is part of the Escodoo/account-addons project on GitHub.

+

You are welcome to contribute.

+
+
+
+
+ +