diff --git a/mgmtsystem_nonconformity_hr/README.rst b/mgmtsystem_nonconformity_hr/README.rst new file mode 100644 index 00000000000..5a6da8e5d36 --- /dev/null +++ b/mgmtsystem_nonconformity_hr/README.rst @@ -0,0 +1,99 @@ +==================================== +Management System - Nonconformity HR +==================================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Fmanagement--system-lightgray.png?logo=github + :target: https://github.com/OCA/management-system/tree/15.0/mgmtsystem_nonconformity_hr + :alt: OCA/management-system +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/management-system-15-0/management-system-15-0-mgmtsystem_nonconformity_hr + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/128/15.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This is a bridge module between Management System and Human Resource + +This module contains some new features for Management System modules. + +Nonconformity (NC) + +- Department: add a field to link a specific department. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +NC Department + +* Go to Employees → Department → create a new one +* Go to Management System → Nonconformity +* Create new Nonconformity +* Select a Departament on the list + +Changelog +========= + +13.0.1.0.0 (2020-04-01) +~~~~~~~~~~~~~~~~~~~~~~~ + +* [INI] Initial development + +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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Associazione PNLUG - Gruppo Odoo + +Contributors +~~~~~~~~~~~~ + +* Marcelo Frare +* Stefano Consolaro +* Yvan Dotet + +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/management-system `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/mgmtsystem_nonconformity_hr/__init__.py b/mgmtsystem_nonconformity_hr/__init__.py new file mode 100644 index 00000000000..0650744f6bc --- /dev/null +++ b/mgmtsystem_nonconformity_hr/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/mgmtsystem_nonconformity_hr/__manifest__.py b/mgmtsystem_nonconformity_hr/__manifest__.py new file mode 100644 index 00000000000..c0c6c09ab9e --- /dev/null +++ b/mgmtsystem_nonconformity_hr/__manifest__.py @@ -0,0 +1,18 @@ +# Copyright 2019 Marcelo Frare (Ass. PNLUG - Gruppo Odoo ) +# Copyright 2019 Stefano Consolaro (Ass. PNLUG - Gruppo Odoo ) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Management System - Nonconformity HR", + "summary": "Bridge module between hr and mgmsystem and", + "version": "16.0.1.0.0", + "author": "Associazione PNLUG - Gruppo Odoo, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/management-system", + "license": "AGPL-3", + "category": "Management System", + "depends": ["hr", "mgmtsystem_nonconformity"], + "data": ["views/mgmtsystem_nonconformity_views.xml"], + "application": False, + "installable": True, + "auto_install": True, +} diff --git a/mgmtsystem_nonconformity_hr/i18n/it.po b/mgmtsystem_nonconformity_hr/i18n/it.po new file mode 100644 index 00000000000..e2f378a99ff --- /dev/null +++ b/mgmtsystem_nonconformity_hr/i18n/it.po @@ -0,0 +1,28 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mgmtsystem_extended_hr +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-10-20 11:55+0000\n" +"PO-Revision-Date: 2019-10-20 14:06+0200\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.2.4\n" + +#. module: mgmtsystem_nonconformity_hr +#: model:ir.model.fields,field_description:mgmtsystem_nonconformity_hr.field_mgmtsystem_nonconformity__department_id +msgid "Department" +msgstr "Reparto" + +#. module: mgmtsystem_nonconformity_hr +#: model:ir.model,name:mgmtsystem_nonconformity_hr.model_mgmtsystem_nonconformity +msgid "Nonconformity" +msgstr "Nonconformità" diff --git a/mgmtsystem_nonconformity_hr/i18n/mgmtsystem_nonconformity_hr.pot b/mgmtsystem_nonconformity_hr/i18n/mgmtsystem_nonconformity_hr.pot new file mode 100644 index 00000000000..85d916436a4 --- /dev/null +++ b/mgmtsystem_nonconformity_hr/i18n/mgmtsystem_nonconformity_hr.pot @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mgmtsystem_nonconformity_hr +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.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: mgmtsystem_nonconformity_hr +#: model:ir.model.fields,field_description:mgmtsystem_nonconformity_hr.field_mgmtsystem_nonconformity__department_id +msgid "Department" +msgstr "" + +#. module: mgmtsystem_nonconformity_hr +#: model:ir.model,name:mgmtsystem_nonconformity_hr.model_mgmtsystem_nonconformity +msgid "Nonconformity" +msgstr "" diff --git a/mgmtsystem_nonconformity_hr/i18n/pt.po b/mgmtsystem_nonconformity_hr/i18n/pt.po new file mode 100644 index 00000000000..a2599c86f61 --- /dev/null +++ b/mgmtsystem_nonconformity_hr/i18n/pt.po @@ -0,0 +1,27 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mgmtsystem_nonconformity_hr +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-11-26 15:36+0000\n" +"Last-Translator: Daniel Reis \n" +"Language-Team: none\n" +"Language: pt\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: mgmtsystem_nonconformity_hr +#: model:ir.model.fields,field_description:mgmtsystem_nonconformity_hr.field_mgmtsystem_nonconformity__department_id +msgid "Department" +msgstr "Departamento" + +#. module: mgmtsystem_nonconformity_hr +#: model:ir.model,name:mgmtsystem_nonconformity_hr.model_mgmtsystem_nonconformity +msgid "Nonconformity" +msgstr "Não conformidade" diff --git a/mgmtsystem_nonconformity_hr/models/__init__.py b/mgmtsystem_nonconformity_hr/models/__init__.py new file mode 100644 index 00000000000..321ab30b4e5 --- /dev/null +++ b/mgmtsystem_nonconformity_hr/models/__init__.py @@ -0,0 +1 @@ +from . import mgmtsystem_nonconformity_hr diff --git a/mgmtsystem_nonconformity_hr/models/mgmtsystem_nonconformity_hr.py b/mgmtsystem_nonconformity_hr/models/mgmtsystem_nonconformity_hr.py new file mode 100644 index 00000000000..98b5f04e226 --- /dev/null +++ b/mgmtsystem_nonconformity_hr/models/mgmtsystem_nonconformity_hr.py @@ -0,0 +1,11 @@ +# Copyright 2019 Marcelo Frare (Ass. PNLUG - Gruppo Odoo ) +# Copyright 2019 Stefano Consolaro (Ass. PNLUG - Gruppo Odoo ) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class MgmtsystemMgmHR(models.Model): + _inherit = ["mgmtsystem.nonconformity"] + + department_id = fields.Many2one("hr.department", "Department") diff --git a/mgmtsystem_nonconformity_hr/readme/CONTRIBUTORS.rst b/mgmtsystem_nonconformity_hr/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..b0a6d39566a --- /dev/null +++ b/mgmtsystem_nonconformity_hr/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Marcelo Frare +* Stefano Consolaro +* Yvan Dotet diff --git a/mgmtsystem_nonconformity_hr/readme/DESCRIPTION.rst b/mgmtsystem_nonconformity_hr/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..da0418e5ed0 --- /dev/null +++ b/mgmtsystem_nonconformity_hr/readme/DESCRIPTION.rst @@ -0,0 +1,7 @@ +This is a bridge module between Management System and Human Resource + +This module contains some new features for Management System modules. + +Nonconformity (NC) + +- Department: add a field to link a specific department. diff --git a/mgmtsystem_nonconformity_hr/readme/HISTORY.rst b/mgmtsystem_nonconformity_hr/readme/HISTORY.rst new file mode 100644 index 00000000000..4d8e6c1ad15 --- /dev/null +++ b/mgmtsystem_nonconformity_hr/readme/HISTORY.rst @@ -0,0 +1,4 @@ +13.0.1.0.0 (2020-04-01) +~~~~~~~~~~~~~~~~~~~~~~~ + +* [INI] Initial development diff --git a/mgmtsystem_nonconformity_hr/readme/USAGE.rst b/mgmtsystem_nonconformity_hr/readme/USAGE.rst new file mode 100644 index 00000000000..372c42bf9b1 --- /dev/null +++ b/mgmtsystem_nonconformity_hr/readme/USAGE.rst @@ -0,0 +1,6 @@ +NC Department + +* Go to Employees → Department → create a new one +* Go to Management System → Nonconformity +* Create new Nonconformity +* Select a Departament on the list diff --git a/mgmtsystem_nonconformity_hr/static/description/icon.png b/mgmtsystem_nonconformity_hr/static/description/icon.png new file mode 100644 index 00000000000..606cf27e695 Binary files /dev/null and b/mgmtsystem_nonconformity_hr/static/description/icon.png differ diff --git a/mgmtsystem_nonconformity_hr/static/description/index.html b/mgmtsystem_nonconformity_hr/static/description/index.html new file mode 100644 index 00000000000..295a453a005 --- /dev/null +++ b/mgmtsystem_nonconformity_hr/static/description/index.html @@ -0,0 +1,450 @@ + + + + + + +Management System - Nonconformity HR + + + +
+

Management System - Nonconformity HR

+ + +

Beta License: AGPL-3 OCA/management-system Translate me on Weblate Try me on Runbot

+

This is a bridge module between Management System and Human Resource

+

This module contains some new features for Management System modules.

+

Nonconformity (NC)

+
    +
  • Department: add a field to link a specific department.
  • +
+

Table of contents

+ +
+

Usage

+

NC Department

+
    +
  • Go to Employees → Department → create a new one
  • +
  • Go to Management System → Nonconformity
  • +
  • Create new Nonconformity
  • +
  • Select a Departament on the list
  • +
+
+
+

Changelog

+
+

13.0.1.0.0 (2020-04-01)

+
    +
  • [INI] Initial development
  • +
+
+
+
+

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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Associazione PNLUG - Gruppo Odoo
  • +
+
+
+

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

+

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

+
+
+
+ + diff --git a/mgmtsystem_nonconformity_hr/views/mgmtsystem_nonconformity_views.xml b/mgmtsystem_nonconformity_hr/views/mgmtsystem_nonconformity_views.xml new file mode 100644 index 00000000000..cace0ec175d --- /dev/null +++ b/mgmtsystem_nonconformity_hr/views/mgmtsystem_nonconformity_views.xml @@ -0,0 +1,21 @@ + + + + + + view.mgmtsystem.nonconformity.department + mgmtsystem.nonconformity + + + + + + + + + diff --git a/setup/mgmtsystem_nonconformity_hr/odoo/addons/mgmtsystem_nonconformity_hr b/setup/mgmtsystem_nonconformity_hr/odoo/addons/mgmtsystem_nonconformity_hr new file mode 120000 index 00000000000..e45b9d44db3 --- /dev/null +++ b/setup/mgmtsystem_nonconformity_hr/odoo/addons/mgmtsystem_nonconformity_hr @@ -0,0 +1 @@ +../../../../mgmtsystem_nonconformity_hr \ No newline at end of file diff --git a/setup/mgmtsystem_nonconformity_hr/setup.py b/setup/mgmtsystem_nonconformity_hr/setup.py new file mode 100644 index 00000000000..28c57bb6403 --- /dev/null +++ b/setup/mgmtsystem_nonconformity_hr/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)