diff --git a/mgmtsystem_nonconformity_mrp/README.rst b/mgmtsystem_nonconformity_mrp/README.rst new file mode 100644 index 000000000000..732a98b9c512 --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/README.rst @@ -0,0 +1,112 @@ +===================================== +Management System - Nonconformity MRP +===================================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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_mrp + :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_mrp + :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 MRP + +This module contains some new features for Management System modules. + +Nonconformity (NC) + +- Workcenter: add a field to link a specific workcenter. + Manage Work Order Operations option has to be checked to show the field. + +**Table of contents** + +.. contents:: + :local: + +Installation +============ + +This module will be automatically installed + +Configuration +============= + +Workcenter has to be enabled: + +* Go to Settings → Users and select a user. +* Go to Technical Settings and check Manage Work Order Operations + +Usage +===== + +NC Workcenter + +* Go to Manufacturing → Work Centers → create a new one +* Go to Management System → Nonconformity +* Create new Nonconformity +* Select a Workcenter on the list + +Changelog +========= + +11.0.1.0.0 (2019-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 + +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_mrp/__init__.py b/mgmtsystem_nonconformity_mrp/__init__.py new file mode 100644 index 000000000000..48f23f7a7190 --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/__init__.py @@ -0,0 +1,3 @@ +from . import ( + models, +) diff --git a/mgmtsystem_nonconformity_mrp/__manifest__.py b/mgmtsystem_nonconformity_mrp/__manifest__.py new file mode 100644 index 000000000000..f8bccaeeded2 --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/__manifest__.py @@ -0,0 +1,24 @@ +# 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 MRP", + "summary": "Bridge module between mrp and mgmsystem", + "version": "16.0.1.0.0", + "development_status": "Beta", + "author": "Associazione PNLUG - Gruppo Odoo, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/management-system", + "license": "AGPL-3", + "category": "Management System", + "depends": [ + "mgmtsystem_nonconformity", + "mrp", + ], + "data": [ + "views/mgmtsystem_nonconformity_views.xml", + ], + "application": False, + "installable": True, + "auto_install": True, +} diff --git a/mgmtsystem_nonconformity_mrp/i18n/it.po b/mgmtsystem_nonconformity_mrp/i18n/it.po new file mode 100644 index 000000000000..f0c93fa86cda --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/i18n/it.po @@ -0,0 +1,28 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mgmtsystem_extended_mrp +# +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:02+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_mrp +#: model:ir.model,name:mgmtsystem_nonconformity_mrp.model_mgmtsystem_nonconformity +msgid "Nonconformity" +msgstr "Nonconformità" + +#. module: mgmtsystem_nonconformity_mrp +#: model:ir.model.fields,field_description:mgmtsystem_nonconformity_mrp.field_mgmtsystem_nonconformity__workcenter_id +msgid "Workcenter" +msgstr "Centro di lavoro" diff --git a/mgmtsystem_nonconformity_mrp/i18n/mgmtsystem_nonconformity_mrp.pot b/mgmtsystem_nonconformity_mrp/i18n/mgmtsystem_nonconformity_mrp.pot new file mode 100644 index 000000000000..cd2f424b2673 --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/i18n/mgmtsystem_nonconformity_mrp.pot @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mgmtsystem_nonconformity_mrp +# +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_mrp +#: model:ir.model,name:mgmtsystem_nonconformity_mrp.model_mgmtsystem_nonconformity +msgid "Nonconformity" +msgstr "" + +#. module: mgmtsystem_nonconformity_mrp +#: model:ir.model.fields,field_description:mgmtsystem_nonconformity_mrp.field_mgmtsystem_nonconformity__workcenter_id +msgid "Workcenter" +msgstr "" diff --git a/mgmtsystem_nonconformity_mrp/models/__init__.py b/mgmtsystem_nonconformity_mrp/models/__init__.py new file mode 100644 index 000000000000..b0fd58f359c1 --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/models/__init__.py @@ -0,0 +1 @@ +from . import mgmtsystem_nonconformity_mrp diff --git a/mgmtsystem_nonconformity_mrp/models/mgmtsystem_nonconformity_mrp.py b/mgmtsystem_nonconformity_mrp/models/mgmtsystem_nonconformity_mrp.py new file mode 100644 index 000000000000..86e1cc5d5e92 --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/models/mgmtsystem_nonconformity_mrp.py @@ -0,0 +1,17 @@ +# 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 MgmtsystemMgmMRP(models.Model): + """ + Extend nonconformity adding fields for workcenter + """ + + _inherit = ["mgmtsystem.nonconformity"] + + # new fields + # workcenter reference + workcenter_id = fields.Many2one("mrp.workcenter", "Workcenter") diff --git a/mgmtsystem_nonconformity_mrp/readme/CONFIGURE.rst b/mgmtsystem_nonconformity_mrp/readme/CONFIGURE.rst new file mode 100644 index 000000000000..8d01c628ee92 --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/readme/CONFIGURE.rst @@ -0,0 +1,4 @@ +Workcenter has to be enabled: + +* Go to Settings → Users and select a user. +* Go to Technical Settings and check Manage Work Order Operations diff --git a/mgmtsystem_nonconformity_mrp/readme/CONTRIBUTORS.rst b/mgmtsystem_nonconformity_mrp/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000000..1434d6da1be5 --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Marcelo Frare +* Stefano Consolaro diff --git a/mgmtsystem_nonconformity_mrp/readme/DESCRIPTION.rst b/mgmtsystem_nonconformity_mrp/readme/DESCRIPTION.rst new file mode 100644 index 000000000000..45ac390923e8 --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/readme/DESCRIPTION.rst @@ -0,0 +1,8 @@ +This is a bridge module between Management System and MRP + +This module contains some new features for Management System modules. + +Nonconformity (NC) + +- Workcenter: add a field to link a specific workcenter. + Manage Work Order Operations option has to be checked to show the field. diff --git a/mgmtsystem_nonconformity_mrp/readme/HISTORY.rst b/mgmtsystem_nonconformity_mrp/readme/HISTORY.rst new file mode 100644 index 000000000000..d8e256b7aa99 --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/readme/HISTORY.rst @@ -0,0 +1,4 @@ +11.0.1.0.0 (2019-04-01) +~~~~~~~~~~~~~~~~~~~~~~~ + +* [INI] Initial development diff --git a/mgmtsystem_nonconformity_mrp/readme/INSTALL.rst b/mgmtsystem_nonconformity_mrp/readme/INSTALL.rst new file mode 100644 index 000000000000..a14179bc2196 --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/readme/INSTALL.rst @@ -0,0 +1 @@ +This module will be automatically installed diff --git a/mgmtsystem_nonconformity_mrp/readme/ROADMAP.rst b/mgmtsystem_nonconformity_mrp/readme/ROADMAP.rst new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/mgmtsystem_nonconformity_mrp/readme/USAGE.rst b/mgmtsystem_nonconformity_mrp/readme/USAGE.rst new file mode 100644 index 000000000000..a621a97ed708 --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/readme/USAGE.rst @@ -0,0 +1,6 @@ +NC Workcenter + +* Go to Manufacturing → Work Centers → create a new one +* Go to Management System → Nonconformity +* Create new Nonconformity +* Select a Workcenter on the list diff --git a/mgmtsystem_nonconformity_mrp/static/description/icon.png b/mgmtsystem_nonconformity_mrp/static/description/icon.png new file mode 100644 index 000000000000..cb1620bf203f Binary files /dev/null and b/mgmtsystem_nonconformity_mrp/static/description/icon.png differ diff --git a/mgmtsystem_nonconformity_mrp/static/description/index.html b/mgmtsystem_nonconformity_mrp/static/description/index.html new file mode 100644 index 000000000000..2e498b7a6b3a --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/static/description/index.html @@ -0,0 +1,464 @@ + + + + + + +Management System - Nonconformity MRP + + + +
+

Management System - Nonconformity MRP

+ + +

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

+

This is a bridge module between Management System and MRP

+

This module contains some new features for Management System modules.

+

Nonconformity (NC)

+
    +
  • Workcenter: add a field to link a specific workcenter. +Manage Work Order Operations option has to be checked to show the field.
  • +
+

Table of contents

+ +
+

Installation

+

This module will be automatically installed

+
+
+

Configuration

+

Workcenter has to be enabled:

+
    +
  • Go to Settings → Users and select a user.
  • +
  • Go to Technical Settings and check Manage Work Order Operations
  • +
+
+
+

Usage

+

NC Workcenter

+
    +
  • Go to Manufacturing → Work Centers → create a new one
  • +
  • Go to Management System → Nonconformity
  • +
  • Create new Nonconformity
  • +
  • Select a Workcenter on the list
  • +
+
+
+

Changelog

+
+

11.0.1.0.0 (2019-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_mrp/views/mgmtsystem_nonconformity_views.xml b/mgmtsystem_nonconformity_mrp/views/mgmtsystem_nonconformity_views.xml new file mode 100644 index 000000000000..4738165e0f05 --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/views/mgmtsystem_nonconformity_views.xml @@ -0,0 +1,23 @@ + + + + + + + view.mgmtsystem.nonconformity.department + mgmtsystem.nonconformity + + + + + + + + + diff --git a/setup/mgmtsystem_nonconformity_mrp/odoo/addons/mgmtsystem_nonconformity_mrp b/setup/mgmtsystem_nonconformity_mrp/odoo/addons/mgmtsystem_nonconformity_mrp new file mode 120000 index 000000000000..5f7e9f5629fa --- /dev/null +++ b/setup/mgmtsystem_nonconformity_mrp/odoo/addons/mgmtsystem_nonconformity_mrp @@ -0,0 +1 @@ +../../../../mgmtsystem_nonconformity_mrp \ No newline at end of file diff --git a/setup/mgmtsystem_nonconformity_mrp/setup.py b/setup/mgmtsystem_nonconformity_mrp/setup.py new file mode 100644 index 000000000000..28c57bb64031 --- /dev/null +++ b/setup/mgmtsystem_nonconformity_mrp/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)