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

[MIG] [13.0] mgmsystem hazard risk #294

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
67 changes: 67 additions & 0 deletions mgmtsystem_hazard_risk/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

============
Hazard Risks
============

This module enables you to manage the risks of your health and safety management system. This is a sub module of management system hazard.

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

To configure this module, you need to:

* go to Settings > Companies > Companies and select your company
* in the configuration tab, select the risk computation formulae

Usage
=====

To use this module, you need to:

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/128/10.0

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

* Add multi-system and multi-company support

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 `here <https://github.com/OCA/
management-system/issues/new?body=module:%20
mgmtsystem_hazard_risk%0Aversion:%20
10.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Credits
=======

Contributors
------------

* Maxime Chambreuil <[email protected]>
* Loïc Lacroix <[email protected]>
* Nadège Grandjean <[email protected]>

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

This module is maintained by the OCA.

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.

To contribute to this module, please visit http://odoo-community.org.
3 changes: 3 additions & 0 deletions mgmtsystem_hazard_risk/__init__.py
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
26 changes: 26 additions & 0 deletions mgmtsystem_hazard_risk/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 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": "13.0.1.0.0",
"author": "Savoir-faire Linux, Odoo Community Association (OCA)",
"website": "http://www.savoirfairelinux.com",
"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,
}
36 changes: 36 additions & 0 deletions mgmtsystem_hazard_risk/data/mgmtsystem_hazard_risk_computation.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?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>
22 changes: 22 additions & 0 deletions mgmtsystem_hazard_risk/data/mgmtsystem_hazard_risk_type.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?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>
219 changes: 219 additions & 0 deletions mgmtsystem_hazard_risk/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,219 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mgmtsystem_hazard_risk
#
# Translators:
# Rudolf Schnapka <[email protected]>, 2016-2017
msgid ""
msgstr ""
"Project-Id-Version: management-system (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-28 04:57+0000\n"
"PO-Revision-Date: 2017-04-19 11:36+0000\n"
"Last-Translator: Rudolf Schnapka <[email protected]>\n"
"Language-Team: German (http://www.transifex.com/oca/OCA-management-"
"system-8-0/language/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_residual_risk_acceptability
msgid "Acceptability"
msgstr "Akzeptanz"

#. module: mgmtsystem_hazard_risk
#: model:mgmtsystem.hazard.risk.type,name:mgmtsystem_hazard_risk.risk_type_chemical
msgid "Chemical"
msgstr "Chemisch"

#. module: mgmtsystem_hazard_risk
#: model:ir.model,name:mgmtsystem_hazard_risk.model_res_company
msgid "Companies"
msgstr "Unternehmen"

#. module: mgmtsystem_hazard_risk
#: model:ir.model,name:mgmtsystem_hazard_risk.model_mgmtsystem_hazard_risk_computation
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_computation_name
msgid "Computation Risk"
msgstr "Risikoberechnung"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_residual_risk_create_uid
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_computation_create_uid
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_type_create_uid
msgid "Created by"
msgstr "Angelegt durch"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_residual_risk_create_date
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_computation_create_date
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_type_create_date
msgid "Created on"
msgstr "Angelegt am"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_computation_description
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_type_description
msgid "Description"
msgstr "Beschreibung"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_residual_risk_display_name
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_computation_display_name
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_type_display_name
msgid "Display Name"
msgstr "Anzeigebezeichnung"

#. module: mgmtsystem_hazard_risk
#: model:mgmtsystem.hazard.risk.type,name:mgmtsystem_hazard_risk.risk_type_environment
msgid "Environment"
msgstr "Umwelt"

#. module: mgmtsystem_hazard_risk
#: model:mgmtsystem.hazard.risk.type,name:mgmtsystem_hazard_risk.risk_type_fire
msgid "Fire"
msgstr "Feuer"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_residual_risk_hazard_id
msgid "Hazard"
msgstr "Gefahr"

#. module: mgmtsystem_hazard_risk
#: model:ir.model,name:mgmtsystem_hazard_risk.model_mgmtsystem_hazard
msgid "Hazards of the health and safety management system"
msgstr "Gefahren des Gesundheits- und Sicherheitsmanagementsystems"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_residual_risk_id
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_computation_id
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_type_id
msgid "ID"
msgstr "ID"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_residual_risk_justification
msgid "Justification"
msgstr "Rechtfertigung"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_residual_risk___last_update
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_computation___last_update
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_type___last_update
msgid "Last Modified on"
msgstr "Zuletzt geändert am"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_residual_risk_write_uid
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_computation_write_uid
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_type_write_uid
msgid "Last Updated by"
msgstr "Zuletzt aktualisiert durch"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_residual_risk_write_date
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_computation_write_date
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_type_write_date
msgid "Last Updated on"
msgstr "Zuletzt aktualisiert am"

#. module: mgmtsystem_hazard_risk
#: model:ir.ui.view,arch_db:mgmtsystem_hazard_risk.company_form_view
msgid "Management System"
msgstr "Managementsystem"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_residual_risk_name
msgid "Name"
msgstr "Bezeichnung"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_residual_risk_usage_id
msgid "Occupation / Usage"
msgstr "Einsatz / Verwendung"

#. module: mgmtsystem_hazard_risk
#: model:mgmtsystem.hazard.risk.type,name:mgmtsystem_hazard_risk.risk_type_physical
msgid "Physical"
msgstr "Physisch"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_residual_risk_probability_id
msgid "Probability"
msgstr "Wahrscheinlichkeit"

#. module: mgmtsystem_hazard_risk
#: model:ir.ui.view,arch_db:mgmtsystem_hazard_risk.view_mgmtsystem_hazard_residual_risk_form
msgid "Residual Risk"
msgstr "Restrisiko"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_residual_risk_ids
#: model:ir.ui.view,arch_db:mgmtsystem_hazard_risk.view_mgmtsystem_hazard_form
msgid "Residual Risk Evaluations"
msgstr "Restrisikoabschätzungen"

#. module: mgmtsystem_hazard_risk
#: model:ir.actions.act_window,name:mgmtsystem_hazard_risk.open_mgmtsystem_hazard_residual_risk_list
#: model:ir.ui.view,arch_db:mgmtsystem_hazard_risk.view_mgmtsystem_hazard_residual_risk_filter
msgid "Residual Risks"
msgstr "Restrisiken"

#. module: mgmtsystem_hazard_risk
#: model:ir.model,name:mgmtsystem_hazard_risk.model_mgmtsystem_hazard_residual_risk
msgid "Residual Risks of hazard"
msgstr "Restrisiken der Gefahr"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_residual_risk_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk
msgid "Risk"
msgstr "Risiko"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_res_company_risk_computation_id
#: model:ir.ui.view,arch_db:mgmtsystem_hazard_risk.view_mgmtsystem_hazard_risk_computation_form
msgid "Risk Computation"
msgstr "Risikoberechnung"

#. module: mgmtsystem_hazard_risk
#: model:ir.actions.act_window,name:mgmtsystem_hazard_risk.open_mgmtsystem_hazard_risk_computation_list
#: model:ir.ui.menu,name:mgmtsystem_hazard_risk.menu_open_hazard_risk_computation
#: model:ir.ui.view,arch_db:mgmtsystem_hazard_risk.view_mgmtsystem_hazard_risk_computation_filter
msgid "Risk Computations"
msgstr "Risikoberechnungen"

#. module: mgmtsystem_hazard_risk
#: model:ir.ui.view,arch_db:mgmtsystem_hazard_risk.view_mgmtsystem_hazard_form
msgid "Risk Evaluation"
msgstr "Risikoabschätzung"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_type_id_2858
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_risk_type_name
#: model:ir.ui.view,arch_db:mgmtsystem_hazard_risk.view_mgmtsystem_hazard_risk_type_form
msgid "Risk Type"
msgstr "Risikoart"

#. module: mgmtsystem_hazard_risk
#: model:ir.actions.act_window,name:mgmtsystem_hazard_risk.open_mgmtsystem_hazard_risk_type_list
#: model:ir.ui.menu,name:mgmtsystem_hazard_risk.menu_open_hazard_risk_type
#: model:ir.ui.view,arch_db:mgmtsystem_hazard_risk.view_mgmtsystem_hazard_risk_type_filter
msgid "Risk Types"
msgstr "Risikoarten"

#. module: mgmtsystem_hazard_risk
#: model:ir.model,name:mgmtsystem_hazard_risk.model_mgmtsystem_hazard_risk_type
msgid "Risk type of the hazard"
msgstr "Riskoart der Gefahr"

#. module: mgmtsystem_hazard_risk
#: model:ir.model.fields,field_description:mgmtsystem_hazard_risk.field_mgmtsystem_hazard_residual_risk_severity_id
msgid "Severity"
msgstr "Schweregrad"

#~ msgid "Analysis"
#~ msgstr "Analyse"
Loading