Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions analytic_restrictions/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
=====================
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/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-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 <https://github.com/Escodoo/account-addons/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/Escodoo/account-addons/issues/new?body=module:%20analytic_restrictions%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
~~~~~~~

* Escodoo

Contributors
~~~~~~~~~~~~

* `Escodoo <https://www.escodoo.com.br>`_:

* Marcel Savegnago <marcel.savegnago@escodoo.com.br>
* Douglas Custodio <douglas.custodio@escodoo.com.br>

Maintainers
~~~~~~~~~~~

This module is part of the `Escodoo/account-addons <https://github.com/Escodoo/account-addons/tree/16.0/analytic_restrictions>`_ project on GitHub.

You are welcome to contribute.
Empty file.
18 changes: 18 additions & 0 deletions analytic_restrictions/__manifest__.py
Original file line number Diff line number Diff line change
@@ -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"],
"data": [
"security/analytic_security.xml",
"security/ir.model.access.csv",
],
"demo": [],
}
19 changes: 19 additions & 0 deletions analytic_restrictions/i18n/analytic_restrictions.pot
Original file line number Diff line number Diff line change
@@ -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 ""
4 changes: 4 additions & 0 deletions analytic_restrictions/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* `Escodoo <https://www.escodoo.com.br>`_:

* Marcel Savegnago <marcel.savegnago@escodoo.com.br>
* Douglas Custodio <douglas.custodio@escodoo.com.br>
1 change: 1 addition & 0 deletions analytic_restrictions/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The "analytic_restrictions" module is an Odoo module that alters the permissions and create a new group to admin analytic data.
2 changes: 2 additions & 0 deletions analytic_restrictions/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Install the module
* Configure the users who should have administrator access to the analytic data.
12 changes: 12 additions & 0 deletions analytic_restrictions/security/analytic_security.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="group_analytic_accounting_admin" model="res.groups">
<field name="name">Analytic Accounting Admin</field>
<field name="category_id" ref="base.module_category_hidden" />
<field
name="implied_ids"
eval="[(4, ref('analytic.group_analytic_accounting'))]"
/>
</record>

</odoo>
6 changes: 6 additions & 0 deletions analytic_restrictions/security/ir.model.access.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_account_analytic_account,access_account_analytic_account,model_account_analytic_account,group_analytic_accounting,1,0,0,0
access_account_analytic_line,access_account_analytic_line,model_account_analytic_line,group_analytic_accounting,1,0,0,0

access_account_analytic_account_admin,access_account_analytic_account_admin,model_account_analytic_account,group_analytic_accounting_admin,1,1,1,1
access_account_analytic_line_admin,access_account_analytic_line_admin,model_account_analytic_line,group_analytic_accounting_admin,1,1,1,1
Binary file added analytic_restrictions/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading