Skip to content

Commit

Permalink
Merge PR #596 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by max3903
  • Loading branch information
OCA-git-bot committed Oct 10, 2024
2 parents 70099ac + 0ef8d62 commit 4dc696a
Show file tree
Hide file tree
Showing 74 changed files with 32,277 additions and 0 deletions.
177 changes: 177 additions & 0 deletions mgmtsystem_nonconformity/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
=================================
Management System - Nonconformity
=================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:787d40ec4093d83c0e073b97bd49ae84564509fde1265f8d4222ea2699685e9b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/17.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-17-0/management-system-17-0-mgmtsystem_nonconformity
: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/management-system&target_branch=17.0
:alt: Try me on Runboat

|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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/management-system/issues/new?body=module:%20mgmtsystem_nonconformity%0Aversion:%2017.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 <dreis.pt@hotmail.com>
- Glen Dromgoole <gdromgoole@tier1engineering.com>
- Loic Lacroix <loic.lacroix@savoirfairelinux.com>
- Sandy Carter <sandy.carter@savoirfairelinux.com>
- Gervais Naoussi <gervaisnaoussi@gmail.com>
- Eugen Don <eugen.don@don-systems.de>
- Jose Maria Alzaga <jose.alzaga@aselcis.com>
- `Tecnativa <https://www.tecnativa.com>`__:

- Ernesto Tejeda

Trobz

- Dung Tran <dungtd@trobz.com>

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/17.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
40 changes: 40 additions & 0 deletions mgmtsystem_nonconformity/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# 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": "17.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",
],
"assets": {
"web.assets_backend": [
"mgmtsystem_nonconformity/static/src/**/*.xml",
# "mgmtsystem_nonconformity/static/src/**/*.js",
],
},
"installable": True,
}
18 changes: 18 additions & 0 deletions mgmtsystem_nonconformity/data/mail_message_subtype.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<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>
44 changes: 44 additions & 0 deletions mgmtsystem_nonconformity/data/mgmtsystem_nonconformity_cause.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<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>
31 changes: 31 additions & 0 deletions mgmtsystem_nonconformity/data/mgmtsystem_nonconformity_origin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<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,18 @@
<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>
32 changes: 32 additions & 0 deletions mgmtsystem_nonconformity/data/mgmtsystem_nonconformity_stage.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<odoo noupdate="1">
<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>
9 changes: 9 additions & 0 deletions mgmtsystem_nonconformity/data/sequence.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<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

0 comments on commit 4dc696a

Please sign in to comment.