Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] mgmtsystem_nonconformity: Migration to 16.0 #471

Merged
merged 86 commits into from
Dec 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
97b1436
[ADD] mgmtsystem_nonconformity: Initial commit. Import from extra-add…
Mar 9, 2012
eae85b9
[IMP] mgmtsystem_nonconformity: Progress
dreispt Oct 11, 2012
be8cbc7
[IMP] mgmtsystem_nonconformity:: NC Department now added by an option…
Oct 23, 2012
1174ca4
[IMP] mgmtsystem_nonconformity: Several changes
dreispt Oct 24, 2012
61fef88
[FIX+IMP] mgmtsystem_nonconformity: license, permission and others
Oct 30, 2012
d851ddc
[FIX+IMP] mgmtsystem_nonconformity: License, translation and other stuff
dreispt Dec 12, 2012
c484f6e
[FIX+IMP] mgmtsystem_nonconformity: Migration scripts + fix
Dec 18, 2012
69e2a8a
[IMP+FIX] mgmtsystem_nonconformity: Migration scripts + several things
Jan 25, 2013
db10ec7
[FIX[ Migration folder names
Apr 1, 2013
769e75e
[FIX] mgmtsystem_nonconformity: Bug #1162942 + bug #1162946, update m…
cloutierjo Apr 1, 2013
0c059dc
[FIX] Fixed missing import in mgmtsystem_nonconformity.
Apr 9, 2013
e8d765d
[FIX] No group can create NC
Apr 9, 2013
ec7c048
[FIX] mgmtsystem_nonconformity: Replaced deprecated osv.except_osv() …
Apr 11, 2013
1c49c0d
[UPD] translation file
Apr 14, 2013
023754b
[IMP] mgmtsystem_nonconformity: migrating NC form to v7 sheet style …
dreispt Apr 18, 2013
694c62d
[FIX+IMP] mgmtsystem_nonconformity: Several things + POT
Jul 5, 2013
cce0b7e
[IMP] mgmtsystem_nonconformity: 4 improvements
Aug 29, 2013
287b9cb
[FIX] PEP8 compliance in audit, action and nonconformity
Sep 7, 2013
77e1e90
[FIX+IMP] mgmtsystem_nonconformity: Several things
Sep 9, 2013
4483fb2
[IMP] Documentation in the module description
gdromgoole Apr 17, 2014
98bdc65
Launchpad automatic translations update.
Sep 19, 2012
f19eac6
[MIG] mgmtsystem_nonconformity: Migration to 8.0
llacroix Nov 19, 2014
eeab5c7
[IMP+FIX] mgmtsystem_nonconformity: Cleanup + tests + others
May 13, 2015
217c1c1
[FIX+IMP] mgmtsystem_nonconformity: Fixed typo in data + Added update…
Jul 29, 2015
c28ee6d
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
634e4e9
[IMP+FIX] mgmtsystem_nonconformity: Improvements
naousse Jun 9, 2016
c8b1b42
[IMP] README.rst
Jul 1, 2016
cada358
[FIX+IMP] mgmtsystem_nonconformity: Several patches
naousse Jul 5, 2016
fe636ac
[FIX+IMP] mgmtsystem_nonconformity: Several things
dreispt Jul 24, 2016
b103e71
Removing pylint and flake8 error using comment
naousse Jul 28, 2016
b233ee4
Don't close an NC with open Actions + Add tests to group by stage + A…
dreispt Jul 28, 2016
a89abb2
OCA Transbot updated translations from Transifex
oca-transbot Sep 1, 2015
3ac5742
MIG-mgmtsystem_nonconformity-to-V.-10.0
eugen-don Mar 14, 2017
6c64cfd
[FIX+IMP] mgmsystem_nonconformity: 4 things:
benwillig Jun 26, 2017
3b02a98
OCA Transbot updated translations from Transifex
oca-transbot Sep 17, 2016
760e9c5
[MIG] mgmtsystem_nonconformity: Migration to 11.0
jalzaga Apr 15, 2018
b93719b
Update translation files
oca-transbot Dec 29, 2018
6b5132c
Translated using Weblate (Italian)
primes2h Mar 2, 2019
378caa8
[MIG] mgmgsytem_nonconformity to 12.0
gurneyalex Jun 4, 2019
8a8c237
[UPD] README.rst
OCA-git-bot Jul 25, 2019
c876a08
[UPD] Update mgmtsystem_nonconformity.pot
oca-travis Jul 25, 2019
48ce1c3
Update translation files
oca-transbot Jul 27, 2019
5770fd4
[UPD] README.rst
OCA-git-bot Jul 28, 2019
0d258ca
[PORT] From 11.0
nicomacr Aug 9, 2019
19e65e7
[UPD] Update mgmtsystem_nonconformity.pot
oca-travis Aug 9, 2019
39806d2
mgmtsystem_nonconformity 12.0.1.1.0
OCA-git-bot Aug 9, 2019
48ddee9
Translated using Weblate (Portuguese (Brazil))
Aug 26, 2019
74f0c2c
[FIX] mgmtsystem_nonconformity: Proper script
pedrobaeza Sep 4, 2019
d28a594
Update translation files
oca-transbot Sep 4, 2019
04c76e5
Translated using Weblate (Portuguese (Brazil))
Sep 9, 2019
e57bbb2
[IMP] mgmtsystem_nonconformity: black, isort
ernestotejeda Nov 26, 2019
1cdab73
[MIG] mgmtsystem_nonconformity: Migration to 13.0
ernestotejeda Nov 26, 2019
cef9fe2
[UPD] Update mgmtsystem_nonconformity.pot
oca-travis Nov 30, 2019
3394dfb
Update translation files
oca-transbot Dec 11, 2019
55703a6
Applying multicompany style
Mar 20, 2020
a7d64c0
Translated using Weblate (Portuguese (Brazil))
Mar 21, 2020
52c9522
FIX mgmtsystem_nonconformity: Default value for company_id
Mar 24, 2020
e03bad3
[FIX] missing compute
sergiocorato Mar 27, 2020
02800f8
mgmtsystem_nonconformity 13.0.1.1.0
OCA-git-bot Apr 3, 2020
1fff30c
[UPD] Update mgmtsystem_nonconformity.pot
oca-travis Jul 19, 2020
2f9ef88
Update translation files
oca-transbot Jul 19, 2020
90a9fd1
mgmtsystem_nonconformity: Non conformity statusbar not clickable
flachica Aug 7, 2020
b0cf014
Set name in all pages
flachica Aug 10, 2020
cc6593a
Translated using Weblate (Portuguese (Brazil))
Aug 12, 2020
5676e07
Update translation files
oca-transbot Nov 22, 2020
50c558f
[IMP] mgmtsystem_nonconformity: active field to origins
Nov 30, 2020
6a0ce52
[UPD] Update mgmtsystem_nonconformity.pot
oca-travis Dec 7, 2020
2d2d4c9
mgmtsystem_nonconformity 13.0.1.2.0
OCA-git-bot Dec 7, 2020
9b3e7fe
Update translation files
oca-transbot Dec 7, 2020
47a30ad
[IMP] mgmtsystem_nonconformity: black, isort, prettier
dzungtran89 Feb 22, 2021
ae85bbb
[MIG] mgmtsystem_nonconformity: Migration to 14.0
dzungtran89 Feb 22, 2021
090932c
[UPD] Update mgmtsystem_nonconformity.pot
oca-travis Aug 17, 2021
208be6f
[UPD] README.rst
OCA-git-bot Aug 17, 2021
ee55b42
[UPD] Update mgmtsystem_nonconformity.pot
oca-travis Jan 12, 2022
a110a28
Update translation files
oca-transbot Jan 12, 2022
6bc22c0
[IMP] mgmtsystem_nonconformity: Add button_box div to nonconformity f…
victoralmau Jan 26, 2022
431b58e
mgmtsystem_nonconformity 14.0.1.0.1
OCA-git-bot Jan 27, 2022
9df17b1
[15.0][FIX] linter issues
yankinmax May 17, 2022
6743915
[15.0][MIG] mgmtsystem_nonconformity
yankinmax May 17, 2022
0dd2dc2
[UPD] Update mgmtsystem_nonconformity.pot
May 18, 2022
01219de
[IMP] mgmtsystem_nonconformity: enabling to create non-conformities f…
albariera Nov 15, 2021
9a656d4
[UPD] Update mgmtsystem_nonconformity.pot
Sep 5, 2022
65a38c8
mgmtsystem_nonconformity 15.0.1.1.0
OCA-git-bot Sep 5, 2022
67a0b42
Update translation files
oca-transbot Sep 5, 2022
84f9378
Translated using Weblate (Italian)
mymage Nov 3, 2022
06408bf
[16.0][MIG] mgmtsystem_nonconformity: Migration to 16.0
FernandoRomera Dec 14, 2022
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
167 changes: 167 additions & 0 deletions mgmtsystem_nonconformity/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
=================================
Management System - Nonconformity
=================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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
: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
: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 module enables you to manage the nonconformities of your management systems:

* Quality (ISO 9001)
* Environment (ISO 14001)
* Information Security (ISO 27001)
* Health and Safety (ISO 45001)
* IT Services (ISO 20000)

**Table of contents**

.. contents::
:local:

Configuration
=============

Users must be added to the appropriate groups within Odoo as follows:

* Creators: Settings > Users > Groups > Management System / User

To configure email notifications for certain stages go to:

* Management System > Configuration > Nonconformities > Stages
* Click on any stage and click the edit button.
* Click on the dropdown icon in the field Email Template, select your template and click Save.

Usage
=====

To use this module:

* Go to Management System > Nonconformities
* Click on Create to enter the following information:

* Partner : Customer, supplier or internal personnel
* Related to: Any reference pointing to the NC (order id, project id, task id, etc.)
* Responsible: Person responsible for the NC
* Manager : Person managing the department or owner of the procedure
* Filled in by: Originator of NC report
* Origins: The source of the NC, how was it discover
* Procedures: Against which procedure is the NC
* Description: Evidence, reference to the standards

* Click on Save and then on Analysis.

Go to the newly created NC and fill in the following
information in the tab named Causes and Analysis:

* Causes: Add root causes
* Analysis: Describe the results of the investigation
* Severity: Select the severity among unfounded, minor and major
* Immediate action: Create or select an immediate action if appropriate

Click on the Save button and then on the "Action Plan" button in the top right corner.

In the Actions tab, select or create new actions by entering the following
items:

* Subject: What must be done - Return to Supplier, Use As Is, Scrap, Rework,
Re-grade, Repair
* Deadline: Date by which the action must be completed
* Responsible: Person in charge for implementing the action
* Type: Immediate, corrective or preventive actions or improvement opportunity
* Description: Details of the action

When the action is created, a notification is sent to the person responsible
for the action.

Enter comments into the input field below the "Plan Review" section, those comments are required to reach the next stage.

To begin the work on the planned Actions change the stage of the NC to open by clicking on the "In Progress" button in the top right corner.

When all actions of the plan are done, their effectiveness must be evaluated
before closing the NC.

Known issues / Roadmap
======================

* The custom emails should be replaced by Mail Tracking features and Subtypes (like in Project Tasks and Project Issues)
* Automatically add responsible_user_id._uid, manager_user_id._uid, author_user_id._uid to chatter

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/management-system/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 <https://github.com/OCA/management-system/issues/new?body=module:%20mgmtsystem_nonconformity%0Aversion:%2015.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
~~~~~~~

* Savoir-faire Linux

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

* Daniel Reis <[email protected]>
* Glen Dromgoole <[email protected]>
* Loic Lacroix <[email protected]>
* Sandy Carter <[email protected]>
* Gervais Naoussi <[email protected]>
* Eugen Don <[email protected]>
* Jose Maria Alzaga <[email protected]>
* `Tecnativa <https://www.tecnativa.com>`_:

* Ernesto Tejeda

Trobz

* Dung Tran <[email protected]>

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

* Camptocamp

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 <https://github.com/OCA/management-system/tree/15.0/mgmtsystem_nonconformity>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
6 changes: 6 additions & 0 deletions mgmtsystem_nonconformity/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).


from . import models
from . import reports
34 changes: 34 additions & 0 deletions mgmtsystem_nonconformity/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Management System - Nonconformity",
"version": "16.0.1.0.0",
"author": "Savoir-faire Linux, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/management-system",
"license": "AGPL-3",
"category": "Management System",
"depends": ["mgmtsystem_action", "document_page_procedure"],
"data": [
"security/ir.model.access.csv",
"security/mgmtsystem_nonconformity_security.xml",
"views/mgmtsystem_nonconformity.xml",
"views/mgmtsystem_origin.xml",
"views/mgmtsystem_cause.xml",
"views/mgmtsystem_severity.xml",
"views/mgmtsystem_action.xml",
"views/mgmtsystem_nonconformity_stage.xml",
"data/sequence.xml",
"data/mgmtsystem_nonconformity_severity.xml",
"data/mgmtsystem_nonconformity_origin.xml",
"data/mgmtsystem_nonconformity_cause.xml",
"data/mgmtsystem_nonconformity_stage.xml",
"data/mail_message_subtype.xml",
"reports/mgmtsystem_nonconformity_report.xml",
],
"demo": [
"demo/mgmtsystem_nonconformity_origin.xml",
"demo/mgmtsystem_nonconformity_cause.xml",
"demo/mgmtsystem_nonconformity.xml",
],
"installable": True,
}
19 changes: 19 additions & 0 deletions mgmtsystem_nonconformity/data/mail_message_subtype.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">

<!-- Not used at the moment. To use them override the _track_subtype method -->
<record id="subtype_analysis" model="mail.message.subtype">
<field name="name">Analysis</field>
<field name="res_model">mgmtsystem.nonconformity</field>
<field name="default" eval="False" />
<field name="description">Analysis</field>
</record>

<record id="subtype_pending" model="mail.message.subtype">
<field name="name">Pending Approval</field>
<field name="res_model">mgmtsystem.nonconformity</field>
<field name="default" eval="False" />
<field name="description">Pending Approval</field>
</record>

</odoo>
45 changes: 45 additions & 0 deletions mgmtsystem_nonconformity/data/mgmtsystem_nonconformity_cause.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">

<record id="badly_defined_need" model="mgmtsystem.nonconformity.cause">
<field name="name">Badly defined need</field>
</record>

<record id="work_conditions" model="mgmtsystem.nonconformity.cause">
<field name="name">Work conditions</field>
</record>

<record id="information_not_available" model="mgmtsystem.nonconformity.cause">
<field name="name">Information not available</field>
</record>

<record id="bad_communication" model="mgmtsystem.nonconformity.cause">
<field name="name">Bad communication</field>
</record>

<record id="bad_partner_relation" model="mgmtsystem.nonconformity.cause">
<field name="name">Bad customer/supplier relation</field>
</record>

<record id="hr_unavailable_inadequate" model="mgmtsystem.nonconformity.cause">
<field name="name">Human resource not available or inadequate</field>
</record>

<record id="instruction_not_respected" model="mgmtsystem.nonconformity.cause">
<field name="name">Instruction not respected</field>
</record>

<record id="procedure_not_respected" model="mgmtsystem.nonconformity.cause">
<field name="name">Procedure not respected</field>
</record>

<record id="technical_failure" model="mgmtsystem.nonconformity.cause">
<field name="name">Technical failure</field>
</record>

<record id="procedure_not_defined" model="mgmtsystem.nonconformity.cause">
<field name="name">Procedure not defined</field>
</record>


</odoo>
32 changes: 32 additions & 0 deletions mgmtsystem_nonconformity/data/mgmtsystem_nonconformity_origin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">

<record id="nc_origin_qc" model="mgmtsystem.nonconformity.origin">
<field name="name">Quality Committee</field>
</record>

<record id="nc_origin_dr" model="mgmtsystem.nonconformity.origin">
<field name="name">Direction Review</field>
</record>

<record id="nc_origin_internal_client" model="mgmtsystem.nonconformity.origin">
<field name="name">Internal client complaint</field>
</record>

<record id="nc_origin_external_client" model="mgmtsystem.nonconformity.origin">
<field name="name">External client complaint</field>
</record>

<record id="nc_origin_process" model="mgmtsystem.nonconformity.origin">
<field name="name">Process Execution</field>
</record>

<record id="nc_origin_internal_audit" model="mgmtsystem.nonconformity.origin">
<field name="name">Internal Audit</field>
</record>

<record id="nc_origin_extenal_audit" model="mgmtsystem.nonconformity.origin">
<field name="name">External Audit</field>
</record>

</odoo>
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">

<record id="nonconformity_severity_maj" model="mgmtsystem.nonconformity.severity">
<field name="name">Major</field>
<field name="active" eval="True" />
</record>

<record id="nonconformity_severity_min" model="mgmtsystem.nonconformity.severity">
<field name="name">Minor</field>
<field name="active" eval="True" />
</record>

<record id="nonconformity_severity_no" model="mgmtsystem.nonconformity.severity">
<field name="name">Unfounded</field>
<field name="active" eval="True" />
</record>

</odoo>
33 changes: 33 additions & 0 deletions mgmtsystem_nonconformity/data/mgmtsystem_nonconformity_stage.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="stage_draft" model="mgmtsystem.nonconformity.stage">
<field name="name">Draft</field>
<field name="sequence">0</field>
<field name="state">draft</field>
</record>
<record id="stage_analysis" model="mgmtsystem.nonconformity.stage">
<field name="name">Analysis</field>
<field name="sequence">50</field>
<field name="state">analysis</field>
</record>
<record id="stage_pending" model="mgmtsystem.nonconformity.stage">
<field name="name">Action Plan</field>
<field name="sequence">100</field>
<field name="state">pending</field>
</record>
<record id="stage_open" model="mgmtsystem.nonconformity.stage">
<field name="name">In Progress</field>
<field name="sequence">150</field>
<field name="state">open</field>
</record>
<record id="stage_done" model="mgmtsystem.nonconformity.stage">
<field name="name">Closed</field>
<field name="sequence">200</field>
<field name="state">done</field>
</record>
<record id="stage_cancel" model="mgmtsystem.nonconformity.stage">
<field name="name">Cancelled</field>
<field name="sequence">250</field>
<field name="state">cancel</field>
</record>
</odoo>
10 changes: 10 additions & 0 deletions mgmtsystem_nonconformity/data/sequence.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">

<record id="seq_mgmtsystem_nonconformity" model="ir.sequence">
<field name="name">Management System Nonconformity</field>
<field name="code">mgmtsystem.nonconformity</field>
<field name="padding">3</field>
</record>

</odoo>
Loading