-
-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by max3903
- Loading branch information
Showing
39 changed files
with
4,055 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
=========== | ||
Hazard Risk | ||
=========== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:d76b7195e55e754be7f923042111d9432d7220d2c8abaa79f84a35d34a095ef2 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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_hazard_risk | ||
: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_hazard_risk | ||
: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 risks of your health and safety | ||
management system. This is a sub module of management system hazard. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Configuration | ||
============= | ||
|
||
To configure this module, you need to: | ||
|
||
- go to Settings > Management System | ||
- in Risk computation group, select the risk computation formula | ||
|
||
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_hazard_risk%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 | ||
------------ | ||
|
||
- Maxime Chambreuil <[email protected]> | ||
- Loïc Lacroix <[email protected]> | ||
- Nadège Grandjean <[email protected]> | ||
- `Guadaltech <https://www.guadaltech.es>`__: | ||
|
||
- Fernando La Chica <[email protected]> | ||
|
||
- Yvan Dotet <[email protected]> | ||
|
||
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_hazard_risk>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>). | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>). | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Hazard Risk", | ||
"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_hazard", "hr"], | ||
"data": [ | ||
"security/ir.model.access.csv", | ||
"security/mgmtsystem_hazard_security.xml", | ||
"data/mgmtsystem_hazard_risk_computation.xml", | ||
"data/mgmtsystem_hazard_risk_type.xml", | ||
"views/mgmtsystem_hazard.xml", | ||
"views/mgmtsystem_hazard_risk_type.xml", | ||
"views/mgmtsystem_hazard_risk_computation.xml", | ||
"views/mgmtsystem_hazard_residual_risk.xml", | ||
"views/res_config_settings_views.xml", | ||
], | ||
"installable": True, | ||
} |
56 changes: 56 additions & 0 deletions
56
mgmtsystem_hazard_risk/data/mgmtsystem_hazard_risk_computation.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
|
||
<!-- risk_computation --> | ||
|
||
<record | ||
id="risk_computation_a_times_b_times_c" | ||
model="mgmtsystem.hazard.risk.computation" | ||
> | ||
<field name="name">A * B * C</field> | ||
<field | ||
name="description" | ||
>Risk = Probability (A) x Severity (B) x Usage (C)</field> | ||
</record> | ||
|
||
<record id="risk_computation_a_times_b" model="mgmtsystem.hazard.risk.computation"> | ||
<field name="name">A * B</field> | ||
<field name="description">Risk = Probability (A) x Severity (B)</field> | ||
</record> | ||
|
||
<record id="risk_computation_a_plus_b" model="mgmtsystem.hazard.risk.computation"> | ||
<field name="name">A + B</field> | ||
<field name="description">Risk = Probability (A) + Severity (B)</field> | ||
</record> | ||
|
||
<record | ||
id="risk_computation_a_times_b_plus_c" | ||
model="mgmtsystem.hazard.risk.computation" | ||
> | ||
<field name="name">(A * B) + C</field> | ||
<field | ||
name="description" | ||
>Risk = ( Probability (A) x Severity (B) ) + Usage (C)</field> | ||
</record> | ||
|
||
<record | ||
id="risk_computation_a_plus_b_times_c" | ||
model="mgmtsystem.hazard.risk.computation" | ||
> | ||
<field name="name">(A + B) * C</field> | ||
<field | ||
name="description" | ||
>Risk = ( Probability (A) + Severity (B) ) x Usage (C)</field> | ||
</record> | ||
|
||
<record | ||
id="risk_computation_a_plus_b_plus_c" | ||
model="mgmtsystem.hazard.risk.computation" | ||
> | ||
<field name="name">A + B + C</field> | ||
<field | ||
name="description" | ||
>Risk = Probability (A) + Severity (B) + Usage (C)</field> | ||
</record> | ||
|
||
</odoo> |
26 changes: 26 additions & 0 deletions
26
mgmtsystem_hazard_risk/data/mgmtsystem_hazard_risk_type.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
|
||
<!-- risk_type --> | ||
|
||
<record id="risk_type_physical" model="mgmtsystem.hazard.risk.type" forcecreate="0"> | ||
<field name="name">Physical</field> | ||
</record> | ||
|
||
<record id="risk_type_chemical" model="mgmtsystem.hazard.risk.type" forcecreate="0"> | ||
<field name="name">Chemical</field> | ||
</record> | ||
|
||
<record id="risk_type_fire" model="mgmtsystem.hazard.risk.type" forcecreate="0"> | ||
<field name="name">Fire</field> | ||
</record> | ||
|
||
<record | ||
id="risk_type_environment" | ||
model="mgmtsystem.hazard.risk.type" | ||
forcecreate="0" | ||
> | ||
<field name="name">Environment</field> | ||
</record> | ||
|
||
</odoo> |
Oops, something went wrong.