From 096e58a75c0b16ca7c6eb1c59f1bcde1f119f7c5 Mon Sep 17 00:00:00 2001 From: Stefano Consolaro Date: Sat, 19 Oct 2019 18:19:46 +0200 Subject: [PATCH 01/10] [ADD] new module mgmsystem_nonconformity_mrp --- mgmtsystem_nonconformity_mrp/README.rst | 112 +++++ mgmtsystem_nonconformity_mrp/__init__.py | 4 + mgmtsystem_nonconformity_mrp/__manifest__.py | 26 + mgmtsystem_nonconformity_mrp/i18n/it.po | 28 ++ .../i18n/mgmtsystem_extended_mrp.pot | 27 + .../i18n/mgmtsystem_nonconformity_mrp.pot | 25 + .../models/__init__.py | 2 + .../models/mgmtsystem_nonconformity_mrp.py | 17 + .../readme/CONFIGURE.rst | 4 + .../readme/CONTRIBUTORS.rst | 2 + .../readme/DESCRIPTION.rst | 8 + .../readme/HISTORY.rst | 4 + .../readme/INSTALL.rst | 1 + .../readme/ROADMAP.rst | 0 mgmtsystem_nonconformity_mrp/readme/USAGE.rst | 6 + .../static/description/icon.png | Bin 0 -> 2397 bytes .../static/description/index.html | 464 ++++++++++++++++++ .../views/mgmtsystem_nonconformity_views.xml | 22 + 18 files changed, 752 insertions(+) create mode 100644 mgmtsystem_nonconformity_mrp/README.rst create mode 100644 mgmtsystem_nonconformity_mrp/__init__.py create mode 100644 mgmtsystem_nonconformity_mrp/__manifest__.py create mode 100644 mgmtsystem_nonconformity_mrp/i18n/it.po create mode 100644 mgmtsystem_nonconformity_mrp/i18n/mgmtsystem_extended_mrp.pot create mode 100644 mgmtsystem_nonconformity_mrp/i18n/mgmtsystem_nonconformity_mrp.pot create mode 100644 mgmtsystem_nonconformity_mrp/models/__init__.py create mode 100644 mgmtsystem_nonconformity_mrp/models/mgmtsystem_nonconformity_mrp.py create mode 100644 mgmtsystem_nonconformity_mrp/readme/CONFIGURE.rst create mode 100644 mgmtsystem_nonconformity_mrp/readme/CONTRIBUTORS.rst create mode 100644 mgmtsystem_nonconformity_mrp/readme/DESCRIPTION.rst create mode 100644 mgmtsystem_nonconformity_mrp/readme/HISTORY.rst create mode 100644 mgmtsystem_nonconformity_mrp/readme/INSTALL.rst create mode 100644 mgmtsystem_nonconformity_mrp/readme/ROADMAP.rst create mode 100644 mgmtsystem_nonconformity_mrp/readme/USAGE.rst create mode 100644 mgmtsystem_nonconformity_mrp/static/description/icon.png create mode 100644 mgmtsystem_nonconformity_mrp/static/description/index.html create mode 100644 mgmtsystem_nonconformity_mrp/views/mgmtsystem_nonconformity_views.xml diff --git a/mgmtsystem_nonconformity_mrp/README.rst b/mgmtsystem_nonconformity_mrp/README.rst new file mode 100644 index 000000000000..5a7e7d0a4ddb --- /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/11.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-11-0/management-system-11-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/11.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..0792fc131fda --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/__init__.py @@ -0,0 +1,4 @@ + +from . import ( + models, +) diff --git a/mgmtsystem_nonconformity_mrp/__manifest__.py b/mgmtsystem_nonconformity_mrp/__manifest__.py new file mode 100644 index 000000000000..0721cb3f6999 --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/__manifest__.py @@ -0,0 +1,26 @@ +# 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": "11.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..f816056d99a1 --- /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_extended_mrp.pot b/mgmtsystem_nonconformity_mrp/i18n/mgmtsystem_extended_mrp.pot new file mode 100644 index 000000000000..abc5d625136d --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/i18n/mgmtsystem_extended_mrp.pot @@ -0,0 +1,27 @@ +# 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 11:55+0000\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_extended_mrp +#: model:ir.model,name:mgmtsystem_extended_mrp.model_mgmtsystem_nonconformity +msgid "Nonconformity" +msgstr "" + +#. module: mgmtsystem_extended_mrp +#: model:ir.model.fields,field_description:mgmtsystem_extended_mrp.field_mgmtsystem_nonconformity_workcenter_id +msgid "Workcenter" +msgstr "" + 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..9c5a950c5b71 --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/i18n/mgmtsystem_nonconformity_mrp.pot @@ -0,0 +1,25 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mgmtsystem_nonconformity_mrp +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.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..bf5dc82a46d0 --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/models/__init__.py @@ -0,0 +1,2 @@ + +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..25b3c01c80d2 --- /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..56b9ea01afeb --- /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 0000000000000000000000000000000000000000..cb1620bf203f19668872eb9c7620a8b950765cb2 GIT binary patch literal 2397 zcmaJ@dpHwp8z1`Skkh0vbJ#^8a)_}oWKJ_Ajp#)V8FJ3ybxzE37?S2NQ#q}aQ)#A< z5EbKTGHdhYwauKT*~>-YSgJKNdGR!jse0ssKSP zJiPYXgn+y=l10SufG^s`))LUjfGqJYKtHst72xpqe%Se_i02WGwDX7t0FEB}ZF~R{ zS(fJ%j6peC3r>lOOUp=%IaWjh075e;tMi!nDK5$Ymb&9t?RunW>!F&I-t`*(L1RW6rauQh*IaW} z%Lb%id#BHLb4w!QU6IA&FhRdJ-uy6KK9YGO6s>BCbL`S#yZG0R4yu5tf zfn*^3Jb3!W6Xr_dSzfXYLG~67cVulh84n)4z+$oN!o#)OEmZZa( zx}c-W0_H21%$+u6?v<4IPrQnS-}ovd00?A|m#C}#dGaWGd$_5o=~^dOt%)!UH9CQ1 zFm|@l?~F}MpoMk=V|AB)-aVP9^uo{IpH5@W;&UHK0Om?YwMB_jzDvC?)e~rsWBVQ79<4=Z+t*rdkP(Np&kLO!k;D5RA1FvfF#GCmt_C=q zMT&@sNSa;BL+{@mnVl8iP6OalHbFHVWjce9-382APpZ`4^V{pc28rO#>B*PTYHnFt z-X4t&4Gn)S5M>yoiHE7%9Iw0O<+-b?p{B_@lDsy7_N{eNOSVSS==7s{@MSpQ&C7Vr z{-E_LdS72AeP~D}I5=2cOAA+Bts<0Qc58X}sY{)16w7LCYa-A1-28`1aw|5)5+Zt|JGac;miXJ%*Eb*qSShlHTebXS)Y_i`W%sp^%-O{kXn<%%ga6YU+ep%HF-1n0vksLz2gA5G|JG!4}Fd|c=cERT2#X^RESrP+sPWvXd);CFCEGwAX63BEXmi)k4 zs!K1MiZ`Lx>tTk5hLpg8fkG9SyZ(DyESACmZW0KhXX94g-AH}g`fuFyl|_X`MA8>) z4dSZG^z7{HK6r@I>GYk6c>y;PhZDZDw@11U1%W^gD3ox>%w3%(pS{hc`j(ois&r`? znXV6+INTkP!u=ft=6IOm+vfp8n-gZhPbG_si`J)BFq zE+$l6jTqbUEYc1=@8KcmKZ?H=7+9ovxzT5`BfepIiE*gec(qHMdPNM49+G*No0BtV za#Q$qi^#_(zs%M1eR^=hSp@|~VMu_ovT_eU!i&rH(?#|dC^6gG+k2mEYF3QXHB3bH_1QYX zpQ@|ZHaBr*hA>&jl5u2EkovlNo4Dt#f~}`($BQl=uQ_Os;D(q)t+V=!Hufa}ykyl} zaqqDw`QIW~QQTPsggPFcv#kC3NFC;SbDUnzg{i^8!P0t(z#!M#nA790+HcUaZBQsw zDRjE$vDx0{`Z~0*u&_-(wbEv9!{o%9{(j)QRBAdgocu}=sr}E)!!lot+-Qco7Pis5 zGv~=zP~K*$iIYXGi*M>e_pdKU7KP&+z9sarn+o1YT5*e{Q!uBGZ!ZrDy)cgd2~7 zJq(8U%*>3swzlEkio%^kou`6j4mKnb>BHpY4r^LmUS59k(dL~d-_tA^>Lij# z_N`&l`2B6J#NR704RIwihak=WH#__{=I8TEFeOVBO=u8E=FL6;l(mypqoq&!zg1#- A`~Uy| literal 0 HcmV?d00001 diff --git a/mgmtsystem_nonconformity_mrp/static/description/index.html b/mgmtsystem_nonconformity_mrp/static/description/index.html new file mode 100644 index 000000000000..b378e367b8bf --- /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..c13435e50698 --- /dev/null +++ b/mgmtsystem_nonconformity_mrp/views/mgmtsystem_nonconformity_views.xml @@ -0,0 +1,22 @@ + + + + + + + + + view.mgmtsystem.nonconformity.department + mgmtsystem.nonconformity + + + + + + + + + From a81aac05077d8f012ec27bebb3580ff280f7b712 Mon Sep 17 00:00:00 2001 From: mymage Date: Sun, 7 Feb 2021 21:26:14 +0100 Subject: [PATCH 02/10] [FIX] mgmtsystem_nonconformity_mrp: status to Beta Change manifest development_status to Beta to avoid Travis CI error --- mgmtsystem_nonconformity_mrp/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mgmtsystem_nonconformity_mrp/__manifest__.py b/mgmtsystem_nonconformity_mrp/__manifest__.py index 0721cb3f6999..6c136350f754 100644 --- a/mgmtsystem_nonconformity_mrp/__manifest__.py +++ b/mgmtsystem_nonconformity_mrp/__manifest__.py @@ -6,7 +6,7 @@ "name": "Management System - Nonconformity MRP", "summary": "Bridge module between mrp and mgmsystem", "version": "11.0.1.0.0", - "development_status": "beta", + "development_status": "Beta", "author": "Associazione PNLUG - Gruppo Odoo, Odoo Community Association (OCA)", "website": "https://github.com/OCA/management-system", From 80856928df24d16b4048e3893d963c866b7af71a Mon Sep 17 00:00:00 2001 From: Stefano Consolaro Date: Sat, 6 Mar 2021 20:14:40 +0100 Subject: [PATCH 03/10] [MIG] mgmtsystem_nonconformity_mrp: Migration to 13:0 --- mgmtsystem_nonconformity_mrp/README.rst | 10 +++++----- mgmtsystem_nonconformity_mrp/__manifest__.py | 2 +- .../static/description/index.html | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/mgmtsystem_nonconformity_mrp/README.rst b/mgmtsystem_nonconformity_mrp/README.rst index 5a7e7d0a4ddb..bd8a70141244 100644 --- a/mgmtsystem_nonconformity_mrp/README.rst +++ b/mgmtsystem_nonconformity_mrp/README.rst @@ -14,13 +14,13 @@ Management System - Nonconformity MRP :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/11.0/mgmtsystem_nonconformity_mrp + :target: https://github.com/OCA/management-system/tree/13.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-11-0/management-system-11-0-mgmtsystem_nonconformity_mrp + :target: https://translation.odoo-community.org/projects/management-system-13-0/management-system-13-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/11.0 + :target: https://runbot.odoo-community.org/runbot/128/13.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -76,7 +76,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -107,6 +107,6 @@ 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. +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/__manifest__.py b/mgmtsystem_nonconformity_mrp/__manifest__.py index 6c136350f754..36213b304395 100644 --- a/mgmtsystem_nonconformity_mrp/__manifest__.py +++ b/mgmtsystem_nonconformity_mrp/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Management System - Nonconformity MRP", "summary": "Bridge module between mrp and mgmsystem", - "version": "11.0.1.0.0", + "version": "13.0.1.0.0", "development_status": "Beta", "author": "Associazione PNLUG - Gruppo Odoo, Odoo Community Association (OCA)", diff --git a/mgmtsystem_nonconformity_mrp/static/description/index.html b/mgmtsystem_nonconformity_mrp/static/description/index.html index b378e367b8bf..a8d8a6f4bdc6 100644 --- a/mgmtsystem_nonconformity_mrp/static/description/index.html +++ b/mgmtsystem_nonconformity_mrp/static/description/index.html @@ -367,7 +367,7 @@

Management System - Nonconformity MRP

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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)

@@ -430,7 +430,7 @@

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.

+feedback.

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

@@ -455,7 +455,7 @@

Maintainers

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.

+

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.

From 40d589a1db9911b5560b33bb7c8fa8a4bc060e39 Mon Sep 17 00:00:00 2001 From: Stefano Consolaro Date: Sun, 22 May 2022 17:44:07 +0200 Subject: [PATCH 04/10] [MIG] mgmtsystem_nonconformity_mrp: Migration to 14.0 [IMP] mgmtsystem_nonconformity_mrp: black, isort, prettier --- mgmtsystem_nonconformity_mrp/README.rst | 12 ++++---- mgmtsystem_nonconformity_mrp/__init__.py | 1 - mgmtsystem_nonconformity_mrp/__manifest__.py | 30 +++++++++---------- mgmtsystem_nonconformity_mrp/i18n/it.po | 2 -- .../i18n/mgmtsystem_nonconformity_mrp.pot | 24 +++++++++++---- .../models/__init__.py | 1 - .../models/mgmtsystem_nonconformity_mrp.py | 4 +-- .../readme/DESCRIPTION.rst | 2 +- .../static/description/index.html | 6 ++-- .../views/mgmtsystem_nonconformity_views.xml | 11 +++---- 10 files changed, 51 insertions(+), 42 deletions(-) diff --git a/mgmtsystem_nonconformity_mrp/README.rst b/mgmtsystem_nonconformity_mrp/README.rst index bd8a70141244..4e460b36a7e8 100644 --- a/mgmtsystem_nonconformity_mrp/README.rst +++ b/mgmtsystem_nonconformity_mrp/README.rst @@ -14,13 +14,13 @@ Management System - Nonconformity MRP :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/13.0/mgmtsystem_nonconformity_mrp + :target: https://github.com/OCA/management-system/tree/14.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-13-0/management-system-13-0-mgmtsystem_nonconformity_mrp + :target: https://translation.odoo-community.org/projects/management-system-14-0/management-system-14-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/13.0 + :target: https://runbot.odoo-community.org/runbot/128/14.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -31,7 +31,7 @@ This module contains some new features for Management System modules. Nonconformity (NC) -- Workcenter: add a field to link a specific workcenter. +- 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** @@ -76,7 +76,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -107,6 +107,6 @@ 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. +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 index 0792fc131fda..48f23f7a7190 100644 --- a/mgmtsystem_nonconformity_mrp/__init__.py +++ b/mgmtsystem_nonconformity_mrp/__init__.py @@ -1,4 +1,3 @@ - from . import ( models, ) diff --git a/mgmtsystem_nonconformity_mrp/__manifest__.py b/mgmtsystem_nonconformity_mrp/__manifest__.py index 36213b304395..6db4204727d4 100644 --- a/mgmtsystem_nonconformity_mrp/__manifest__.py +++ b/mgmtsystem_nonconformity_mrp/__manifest__.py @@ -3,24 +3,22 @@ # 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": "13.0.1.0.0", + "name": "Management System - Nonconformity MRP", + "summary": "Bridge module between mrp and mgmsystem", + "version": "14.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", - + "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', - ], + "mgmtsystem_nonconformity", + "mrp", + ], "data": [ - 'views/mgmtsystem_nonconformity_views.xml', - ], - 'application': False, - 'installable': True, - 'auto_install': True + "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 index f816056d99a1..51ac68a8c37b 100644 --- a/mgmtsystem_nonconformity_mrp/i18n/it.po +++ b/mgmtsystem_nonconformity_mrp/i18n/it.po @@ -16,12 +16,10 @@ msgstr "" "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" diff --git a/mgmtsystem_nonconformity_mrp/i18n/mgmtsystem_nonconformity_mrp.pot b/mgmtsystem_nonconformity_mrp/i18n/mgmtsystem_nonconformity_mrp.pot index 9c5a950c5b71..eebb28cedb1f 100644 --- a/mgmtsystem_nonconformity_mrp/i18n/mgmtsystem_nonconformity_mrp.pot +++ b/mgmtsystem_nonconformity_mrp/i18n/mgmtsystem_nonconformity_mrp.pot @@ -1,25 +1,39 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * mgmtsystem_nonconformity_mrp +# * mgmtsystem_nonconformity_mrp # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: <>\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.fields,field_description:mgmtsystem_nonconformity_mrp.field_mgmtsystem_nonconformity__display_name +msgid "Display Name" +msgstr "" + +#. module: mgmtsystem_nonconformity_mrp +#: model:ir.model.fields,field_description:mgmtsystem_nonconformity_mrp.field_mgmtsystem_nonconformity__id +msgid "ID" +msgstr "" + +#. module: mgmtsystem_nonconformity_mrp +#: model:ir.model.fields,field_description:mgmtsystem_nonconformity_mrp.field_mgmtsystem_nonconformity____last_update +msgid "Last Modified on" +msgstr "" + #. 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 +#: 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 index bf5dc82a46d0..b0fd58f359c1 100644 --- a/mgmtsystem_nonconformity_mrp/models/__init__.py +++ b/mgmtsystem_nonconformity_mrp/models/__init__.py @@ -1,2 +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 index 25b3c01c80d2..86e1cc5d5e92 100644 --- a/mgmtsystem_nonconformity_mrp/models/mgmtsystem_nonconformity_mrp.py +++ b/mgmtsystem_nonconformity_mrp/models/mgmtsystem_nonconformity_mrp.py @@ -10,8 +10,8 @@ class MgmtsystemMgmMRP(models.Model): Extend nonconformity adding fields for workcenter """ - _inherit = ['mgmtsystem.nonconformity'] + _inherit = ["mgmtsystem.nonconformity"] # new fields # workcenter reference - workcenter_id = fields.Many2one('mrp.workcenter', 'Workcenter') + workcenter_id = fields.Many2one("mrp.workcenter", "Workcenter") diff --git a/mgmtsystem_nonconformity_mrp/readme/DESCRIPTION.rst b/mgmtsystem_nonconformity_mrp/readme/DESCRIPTION.rst index 56b9ea01afeb..45ac390923e8 100644 --- a/mgmtsystem_nonconformity_mrp/readme/DESCRIPTION.rst +++ b/mgmtsystem_nonconformity_mrp/readme/DESCRIPTION.rst @@ -4,5 +4,5 @@ This module contains some new features for Management System modules. Nonconformity (NC) -- Workcenter: add a field to link a specific workcenter. +- 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/static/description/index.html b/mgmtsystem_nonconformity_mrp/static/description/index.html index a8d8a6f4bdc6..2464e3b476bd 100644 --- a/mgmtsystem_nonconformity_mrp/static/description/index.html +++ b/mgmtsystem_nonconformity_mrp/static/description/index.html @@ -367,7 +367,7 @@

Management System - Nonconformity MRP

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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)

@@ -430,7 +430,7 @@

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.

+feedback.

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

@@ -455,7 +455,7 @@

Maintainers

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.

+

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 index c13435e50698..4738165e0f05 100644 --- a/mgmtsystem_nonconformity_mrp/views/mgmtsystem_nonconformity_views.xml +++ b/mgmtsystem_nonconformity_mrp/views/mgmtsystem_nonconformity_views.xml @@ -1,17 +1,18 @@ - - + - - view.mgmtsystem.nonconformity.department mgmtsystem.nonconformity - + From 3ddb51beb3ad9aa23ad2bedd2a173f16a5aecbe7 Mon Sep 17 00:00:00 2001 From: Stefano Consolaro Date: Wed, 16 Nov 2022 23:00:20 +0100 Subject: [PATCH 05/10] [MIG] mgmtsystem_nonconformity_mrp: Migration to 15.0 --- mgmtsystem_nonconformity_mrp/README.rst | 10 +++++----- mgmtsystem_nonconformity_mrp/__manifest__.py | 2 +- .../static/description/index.html | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/mgmtsystem_nonconformity_mrp/README.rst b/mgmtsystem_nonconformity_mrp/README.rst index 4e460b36a7e8..732a98b9c512 100644 --- a/mgmtsystem_nonconformity_mrp/README.rst +++ b/mgmtsystem_nonconformity_mrp/README.rst @@ -14,13 +14,13 @@ Management System - Nonconformity MRP :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/14.0/mgmtsystem_nonconformity_mrp + :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-14-0/management-system-14-0-mgmtsystem_nonconformity_mrp + :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/14.0 + :target: https://runbot.odoo-community.org/runbot/128/15.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -76,7 +76,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -107,6 +107,6 @@ 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. +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/__manifest__.py b/mgmtsystem_nonconformity_mrp/__manifest__.py index 6db4204727d4..ad9e8b324998 100644 --- a/mgmtsystem_nonconformity_mrp/__manifest__.py +++ b/mgmtsystem_nonconformity_mrp/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Management System - Nonconformity MRP", "summary": "Bridge module between mrp and mgmsystem", - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "development_status": "Beta", "author": "Associazione PNLUG - Gruppo Odoo, Odoo Community Association (OCA)", "website": "https://github.com/OCA/management-system", diff --git a/mgmtsystem_nonconformity_mrp/static/description/index.html b/mgmtsystem_nonconformity_mrp/static/description/index.html index 2464e3b476bd..cbc0f85103dd 100644 --- a/mgmtsystem_nonconformity_mrp/static/description/index.html +++ b/mgmtsystem_nonconformity_mrp/static/description/index.html @@ -3,7 +3,7 @@ - + Management System - Nonconformity MRP