diff --git a/base_maintenance_group/README.rst b/base_maintenance_group/README.rst new file mode 100644 index 000000000..67c838659 --- /dev/null +++ b/base_maintenance_group/README.rst @@ -0,0 +1,105 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +================== +Maintenance Groups +================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:82c0301b51e439bcd5175ed2e0e6b5fd5a5d00183243eaad61a6a59be9d7053c + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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-OCA%2Fmaintenance-lightgray.png?logo=github + :target: https://github.com/OCA/maintenance/tree/19.0/base_maintenance_group + :alt: OCA/maintenance +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/maintenance-19-0/maintenance-19-0-base_maintenance_group + :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/maintenance&target_branch=19.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module provides a security group category 'Maintenance' with two +new user groups: + +- 'User' +- 'Full Access'. + +The user group 'Equipment Manager', already provided by the standard +Odoo, will also be listed in the group category 'Maintenance'. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +Assign any of the Maintenance groups ('User' or 'Equipment Manager' or +'Full Access') to the users, in order to enable the maintenance menus. + +To do so, you need to: + +1. Go on 'Settings' -> 'Users & Companies' -> 'Users'. +2. Create a new user or select an already existing one. +3. In the tab 'Access Rights', at the 'Application Accesses' paragraph, + set a group in the 'Maintenance' category. + +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 +------- + +* Onestein + +Contributors +------------ + +- Antonio Esposito +- Andrea Stirpe +- Luisa Miguéns +- `Heliconia Solutions Pvt. Ltd. `__ + + - Bhavesh Heliconia + +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/maintenance `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/base_maintenance_group/__init__.py b/base_maintenance_group/__init__.py new file mode 100644 index 000000000..ef5ae3587 --- /dev/null +++ b/base_maintenance_group/__init__.py @@ -0,0 +1 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). diff --git a/base_maintenance_group/__manifest__.py b/base_maintenance_group/__manifest__.py new file mode 100644 index 000000000..46f5b161d --- /dev/null +++ b/base_maintenance_group/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2017-2019 Onestein () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Maintenance Groups", + "summary": "Provides base access groups for the Maintenance App", + "author": "Onestein, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/maintenance", + "category": "Maintenance", + "version": "19.0.1.0.0", + "license": "AGPL-3", + "depends": ["maintenance"], + "data": [ + "security/maintenance_security.xml", + "views/maintenance_views.xml", + ], +} diff --git a/base_maintenance_group/i18n/base_maintenance_group.pot b/base_maintenance_group/i18n/base_maintenance_group.pot new file mode 100644 index 000000000..42707363c --- /dev/null +++ b/base_maintenance_group/i18n/base_maintenance_group.pot @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_maintenance_group +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.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: base_maintenance_group +#: model:res.groups,name:base_maintenance_group.group_maintenance_manager +msgid "Full Access" +msgstr "" + +#. module: base_maintenance_group +#: model:ir.module.category,name:base_maintenance_group.module_maintenance +msgid "Maintenance" +msgstr "" + +#. module: base_maintenance_group +#: model:res.groups,name:base_maintenance_group.group_maintenance_user +msgid "User" +msgstr "" diff --git a/base_maintenance_group/i18n/es.po b/base_maintenance_group/i18n/es.po new file mode 100644 index 000000000..c0901b268 --- /dev/null +++ b/base_maintenance_group/i18n/es.po @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_maintenance_group +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-07-22 23:09+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_maintenance_group +#: model:res.groups,name:base_maintenance_group.group_maintenance_manager +msgid "Full Access" +msgstr "Acceso total" + +#. module: base_maintenance_group +#: model:ir.module.category,name:base_maintenance_group.module_maintenance +msgid "Maintenance" +msgstr "Mantenimiento" + +#. module: base_maintenance_group +#: model:res.groups,name:base_maintenance_group.group_maintenance_user +msgid "User" +msgstr "Usuario" diff --git a/base_maintenance_group/i18n/fr.po b/base_maintenance_group/i18n/fr.po new file mode 100644 index 000000000..3fe02394a --- /dev/null +++ b/base_maintenance_group/i18n/fr.po @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_maintenance_group +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2025-12-03 08:41+0000\n" +"Last-Translator: Yann Papouin \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 5.10.4\n" + +#. module: base_maintenance_group +#: model:res.groups,name:base_maintenance_group.group_maintenance_manager +msgid "Full Access" +msgstr "Accès complet" + +#. module: base_maintenance_group +#: model:ir.module.category,name:base_maintenance_group.module_maintenance +msgid "Maintenance" +msgstr "Maintenance" + +#. module: base_maintenance_group +#: model:res.groups,name:base_maintenance_group.group_maintenance_user +msgid "User" +msgstr "Utilisateur" diff --git a/base_maintenance_group/i18n/it.po b/base_maintenance_group/i18n/it.po new file mode 100644 index 000000000..8cc3d8aed --- /dev/null +++ b/base_maintenance_group/i18n/it.po @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_maintenance_group +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-07-23 15:49+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: base_maintenance_group +#: model:res.groups,name:base_maintenance_group.group_maintenance_manager +msgid "Full Access" +msgstr "Accesso completo" + +#. module: base_maintenance_group +#: model:ir.module.category,name:base_maintenance_group.module_maintenance +msgid "Maintenance" +msgstr "Manutenzione" + +#. module: base_maintenance_group +#: model:res.groups,name:base_maintenance_group.group_maintenance_user +msgid "User" +msgstr "Utente" diff --git a/base_maintenance_group/i18n/pt_BR.po b/base_maintenance_group/i18n/pt_BR.po new file mode 100644 index 000000000..71fac0d3c --- /dev/null +++ b/base_maintenance_group/i18n/pt_BR.po @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_maintenance_group +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-06-23 22:10+0000\n" +"Last-Translator: Fernando Colus \n" +"Language-Team: none\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: base_maintenance_group +#: model:res.groups,name:base_maintenance_group.group_maintenance_manager +msgid "Full Access" +msgstr "Acesso Total" + +#. module: base_maintenance_group +#: model:ir.module.category,name:base_maintenance_group.module_maintenance +msgid "Maintenance" +msgstr "Manutenção" + +#. module: base_maintenance_group +#: model:res.groups,name:base_maintenance_group.group_maintenance_user +msgid "User" +msgstr "Usuário" diff --git a/base_maintenance_group/i18n/sk.po b/base_maintenance_group/i18n/sk.po new file mode 100644 index 000000000..e51c44e6a --- /dev/null +++ b/base_maintenance_group/i18n/sk.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_maintenance_group +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: base_maintenance_group +#: model:res.groups,name:base_maintenance_group.group_maintenance_manager +msgid "Full Access" +msgstr "" + +#. module: base_maintenance_group +#: model:ir.module.category,name:base_maintenance_group.module_maintenance +msgid "Maintenance" +msgstr "" + +#. module: base_maintenance_group +#: model:res.groups,name:base_maintenance_group.group_maintenance_user +msgid "User" +msgstr "" diff --git a/base_maintenance_group/i18n/sl.po b/base_maintenance_group/i18n/sl.po new file mode 100644 index 000000000..55d8c4463 --- /dev/null +++ b/base_maintenance_group/i18n/sl.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_maintenance_group +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2026-06-26 13:11+0000\n" +"Last-Translator: Matjaz Mozetic \n" +"Language-Team: none\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || " +"n%100==4 ? 2 : 3;\n" +"X-Generator: Weblate 5.15.2\n" + +#. module: base_maintenance_group +#: model:res.groups,name:base_maintenance_group.group_maintenance_manager +msgid "Full Access" +msgstr "Polni dostop" + +#. module: base_maintenance_group +#: model:ir.module.category,name:base_maintenance_group.module_maintenance +msgid "Maintenance" +msgstr "Servis" + +#. module: base_maintenance_group +#: model:res.groups,name:base_maintenance_group.group_maintenance_user +msgid "User" +msgstr "Uporabnik" diff --git a/base_maintenance_group/pyproject.toml b/base_maintenance_group/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/base_maintenance_group/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/base_maintenance_group/readme/CONTRIBUTORS.md b/base_maintenance_group/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..890a2bf7d --- /dev/null +++ b/base_maintenance_group/readme/CONTRIBUTORS.md @@ -0,0 +1,6 @@ +- Antonio Esposito \<\> +- Andrea Stirpe \<\> +- Luisa Miguéns \<\> +- [Heliconia Solutions Pvt. Ltd.](https://www.heliconia.io) + - Bhavesh Heliconia + diff --git a/base_maintenance_group/readme/DESCRIPTION.md b/base_maintenance_group/readme/DESCRIPTION.md new file mode 100644 index 000000000..ea409ef2f --- /dev/null +++ b/base_maintenance_group/readme/DESCRIPTION.md @@ -0,0 +1,8 @@ +This module provides a security group category 'Maintenance' with two +new user groups: + +- 'User' +- 'Full Access'. + +The user group 'Equipment Manager', already provided by the standard +Odoo, will also be listed in the group category 'Maintenance'. diff --git a/base_maintenance_group/readme/USAGE.md b/base_maintenance_group/readme/USAGE.md new file mode 100644 index 000000000..2411ab31c --- /dev/null +++ b/base_maintenance_group/readme/USAGE.md @@ -0,0 +1,9 @@ +Assign any of the Maintenance groups ('User' or 'Equipment Manager' or +'Full Access') to the users, in order to enable the maintenance menus. + +To do so, you need to: + +1. Go on 'Settings' -\> 'Users & Companies' -\> 'Users'. +2. Create a new user or select an already existing one. +3. In the tab 'Access Rights', at the 'Application Accesses' paragraph, + set a group in the 'Maintenance' category. diff --git a/base_maintenance_group/security/maintenance_security.xml b/base_maintenance_group/security/maintenance_security.xml new file mode 100644 index 000000000..6423c92ca --- /dev/null +++ b/base_maintenance_group/security/maintenance_security.xml @@ -0,0 +1,61 @@ + + + + + + User + + + + + + + + Full Access + + + + + + + + Only Subscribe Maintenance Team + + + [('member_ids', 'in', [user.id])] + + + + + + + All Maintenance Team + + + [(1, '=', 1)] + + + + + + + diff --git a/base_maintenance_group/static/description/icon.png b/base_maintenance_group/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/base_maintenance_group/static/description/icon.png differ diff --git a/base_maintenance_group/static/description/index.html b/base_maintenance_group/static/description/index.html new file mode 100644 index 000000000..7834a70d5 --- /dev/null +++ b/base_maintenance_group/static/description/index.html @@ -0,0 +1,455 @@ + + + + + +README.rst + + + +
+ + + +Odoo Community Association + +
+

Maintenance Groups

+ +

Beta License: AGPL-3 OCA/maintenance Translate me on Weblate Try me on Runboat

+

This module provides a security group category ‘Maintenance’ with two +new user groups:

+
    +
  • ‘User’
  • +
  • ‘Full Access’.
  • +
+

The user group ‘Equipment Manager’, already provided by the standard +Odoo, will also be listed in the group category ‘Maintenance’.

+

Table of contents

+ +
+

Usage

+

Assign any of the Maintenance groups (‘User’ or ‘Equipment Manager’ or +‘Full Access’) to the users, in order to enable the maintenance menus.

+

To do so, you need to:

+
    +
  1. Go on ‘Settings’ -> ‘Users & Companies’ -> ‘Users’.
  2. +
  3. Create a new user or select an already existing one.
  4. +
  5. In the tab ‘Access Rights’, at the ‘Application Accesses’ paragraph, +set a group in the ‘Maintenance’ category.
  6. +
+
+
+

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

+
    +
  • Onestein
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

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/maintenance project on GitHub.

+

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

+
+
+
+
+ + diff --git a/base_maintenance_group/views/maintenance_views.xml b/base_maintenance_group/views/maintenance_views.xml new file mode 100644 index 000000000..6dd3f230f --- /dev/null +++ b/base_maintenance_group/views/maintenance_views.xml @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +