Skip to content

Commit 3403736

Browse files
committed
Merge PR #626 into 18.0
Signed-off-by ivantodorovich
2 parents 50e7c76 + df91313 commit 3403736

16 files changed

+714
-0
lines changed
+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
========================================
2+
Management System - Nonconformity Hazard
3+
========================================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:2051f3e7b3a4418d187319d123f9aecc5f6492ca63552c2b490ee630a373417f
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmanagement--system-lightgray.png?logo=github
20+
:target: https://github.com/OCA/management-system/tree/18.0/mgmtsystem_nonconformity_hazard
21+
:alt: OCA/management-system
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/management-system-18-0/management-system-18-0-mgmtsystem_nonconformity_hazard
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/management-system&target_branch=18.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module allows the user to relate hazards to a nonconformity.
32+
33+
**Table of contents**
34+
35+
.. contents::
36+
:local:
37+
38+
Usage
39+
=====
40+
41+
NC Maintenance
42+
43+
- Go to Management System → Nonconformity
44+
- Create new Nonconformity
45+
- Go to the "Hazards" tab.
46+
- Select the related hazards.
47+
48+
Bug Tracker
49+
===========
50+
51+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/management-system/issues>`_.
52+
In case of trouble, please check there if your issue has already been reported.
53+
If you spotted it first, help us to smash it by providing a detailed and welcomed
54+
`feedback <https://github.com/OCA/management-system/issues/new?body=module:%20mgmtsystem_nonconformity_hazard%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
55+
56+
Do not contact contributors directly about support or help with technical issues.
57+
58+
Credits
59+
=======
60+
61+
Authors
62+
-------
63+
64+
* Escodoo
65+
66+
Contributors
67+
------------
68+
69+
`Escodoo <https://www.escodoo.com.br>`__:
70+
71+
- Marcel Savegnago <[email protected]>
72+
- Kaynnan Lemes <[email protected]>
73+
- Douglas Custodio <[email protected]>
74+
- [Heliconia Solutions Pvt. Ltd.](https://www.heliconia.io)
75+
76+
Maintainers
77+
-----------
78+
79+
This module is maintained by the OCA.
80+
81+
.. image:: https://odoo-community.org/logo.png
82+
:alt: Odoo Community Association
83+
:target: https://odoo-community.org
84+
85+
OCA, or the Odoo Community Association, is a nonprofit organization whose
86+
mission is to support the collaborative development of Odoo features and
87+
promote its widespread use.
88+
89+
This module is part of the `OCA/management-system <https://github.com/OCA/management-system/tree/18.0/mgmtsystem_nonconformity_hazard>`_ project on GitHub.
90+
91+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright 2024 - TODAY, Escodoo
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
{
5+
"name": "Management System - Nonconformity Hazard",
6+
"version": "18.0.1.0.0",
7+
"author": "Escodoo, Odoo Community Association (OCA)",
8+
"website": "https://github.com/OCA/management-system",
9+
"license": "AGPL-3",
10+
"category": "Management System",
11+
"depends": ["mgmtsystem_hazard", "mgmtsystem_nonconformity"],
12+
"data": [
13+
"views/mgmtsystem_hazard.xml",
14+
"views/mgmtsystem_nonconformity.xml",
15+
],
16+
"autoinstall": True,
17+
}
+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * mgmtsystem_nonconformity_hazard
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2024-04-02 11:36+0000\n"
10+
"Last-Translator: mymage <[email protected]>\n"
11+
"Language-Team: none\n"
12+
"Language: it\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: mgmtsystem_nonconformity_hazard
20+
#: model_terms:ir.ui.view,arch_db:mgmtsystem_nonconformity_hazard.mgmtsystem_nonconformity_form_view
21+
msgid "Hazards"
22+
msgstr "Pericoli"
23+
24+
#. module: mgmtsystem_nonconformity_hazard
25+
#: model:ir.model,name:mgmtsystem_nonconformity_hazard.model_mgmtsystem_hazard
26+
msgid "Hazards of the health and safety management system"
27+
msgstr "Pericoli del sistema di gestione salute e sicurezza"
28+
29+
#. module: mgmtsystem_nonconformity_hazard
30+
#: model_terms:ir.ui.view,arch_db:mgmtsystem_nonconformity_hazard.mgmtsystem_hazard_form_view
31+
msgid "Nonconfomity"
32+
msgstr "Non conformità"
33+
34+
#. module: mgmtsystem_nonconformity_hazard
35+
#: model:ir.model,name:mgmtsystem_nonconformity_hazard.model_mgmtsystem_nonconformity
36+
#: model:ir.model.fields,field_description:mgmtsystem_nonconformity_hazard.field_mgmtsystem_hazard__nonconformity_ids
37+
msgid "Nonconformity"
38+
msgstr "Non conformità"
39+
40+
#. module: mgmtsystem_nonconformity_hazard
41+
#: model:ir.model.fields,field_description:mgmtsystem_nonconformity_hazard.field_mgmtsystem_nonconformity__hazard_ids
42+
msgid "Risk Analysis"
43+
msgstr "Analisi del rischio"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * mgmtsystem_nonconformity_hazard
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"Last-Translator: \n"
10+
"Language-Team: \n"
11+
"MIME-Version: 1.0\n"
12+
"Content-Type: text/plain; charset=UTF-8\n"
13+
"Content-Transfer-Encoding: \n"
14+
"Plural-Forms: \n"
15+
16+
#. module: mgmtsystem_nonconformity_hazard
17+
#: model_terms:ir.ui.view,arch_db:mgmtsystem_nonconformity_hazard.mgmtsystem_nonconformity_form_view
18+
msgid "Hazards"
19+
msgstr ""
20+
21+
#. module: mgmtsystem_nonconformity_hazard
22+
#: model:ir.model,name:mgmtsystem_nonconformity_hazard.model_mgmtsystem_hazard
23+
msgid "Hazards of the health and safety management system"
24+
msgstr ""
25+
26+
#. module: mgmtsystem_nonconformity_hazard
27+
#: model_terms:ir.ui.view,arch_db:mgmtsystem_nonconformity_hazard.mgmtsystem_hazard_form_view
28+
msgid "Nonconfomity"
29+
msgstr ""
30+
31+
#. module: mgmtsystem_nonconformity_hazard
32+
#: model:ir.model,name:mgmtsystem_nonconformity_hazard.model_mgmtsystem_nonconformity
33+
#: model:ir.model.fields,field_description:mgmtsystem_nonconformity_hazard.field_mgmtsystem_hazard__nonconformity_ids
34+
msgid "Nonconformity"
35+
msgstr ""
36+
37+
#. module: mgmtsystem_nonconformity_hazard
38+
#: model:ir.model.fields,field_description:mgmtsystem_nonconformity_hazard.field_mgmtsystem_nonconformity__hazard_ids
39+
msgid "Risk Analysis"
40+
msgstr ""
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from . import mgmtsystem_nonconformity
2+
from . import mgmtsystem_hazard
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copyright 2024 - TODAY, Kaynnan Lemes <[email protected]>
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
from odoo import fields, models
5+
6+
7+
class MgmtsystemHazard(models.Model):
8+
_inherit = "mgmtsystem.hazard"
9+
10+
nonconformity_ids = fields.Many2many(
11+
"mgmtsystem.nonconformity", string="Nonconformity"
12+
)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright 2024 - TODAY, Kaynnan Lemes <[email protected]>
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
from odoo import fields, models
5+
6+
7+
class MgmtsystemNonconformity(models.Model):
8+
_inherit = "mgmtsystem.nonconformity"
9+
10+
hazard_ids = fields.Many2many("mgmtsystem.hazard", string="Risk Analysis")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[Escodoo](https://www.escodoo.com.br):
2+
3+
- Marcel Savegnago \<<[email protected]>\>
4+
- Kaynnan Lemes \<<[email protected]>\>
5+
- Douglas Custodio \<<[email protected]>\>
6+
- \[Heliconia Solutions Pvt. Ltd.\](<https://www.heliconia.io>)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This module allows the user to relate hazards to a nonconformity.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
NC Maintenance
2+
3+
- Go to Management System → Nonconformity
4+
- Create new Nonconformity
5+
- Go to the "Hazards" tab.
6+
- Select the related hazards.
Loading

0 commit comments

Comments
 (0)