From 8c46f16b3e0a8b146448156f03a504b9426b4fdb Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Fri, 9 Mar 2012 18:47:59 -0500 Subject: [PATCH 001/118] [ADD] Initial commit. Import from extra-addons. --- mgmtsystem_audit/__init__.py | 24 ++ mgmtsystem_audit/__openerp__.py | 51 ++++ mgmtsystem_audit/audit_sequence.xml | 19 ++ mgmtsystem_audit/board_mgmtsystem_audit.xml | 26 ++ mgmtsystem_audit/demo_audit.xml | 17 ++ mgmtsystem_audit/i18n/es.po | 264 ++++++++++++++++++ mgmtsystem_audit/i18n/fr.po | 264 ++++++++++++++++++ mgmtsystem_audit/i18n/mgmtsystem_audit.pot | 263 +++++++++++++++++ mgmtsystem_audit/mgmtsystem_audit.py | 78 ++++++ mgmtsystem_audit/mgmtsystem_audit.xml | 182 ++++++++++++ mgmtsystem_audit/report/__init__.py | 23 ++ mgmtsystem_audit/report/audit_report.py | 39 +++ mgmtsystem_audit/report/audit_report.rml | 87 ++++++ mgmtsystem_audit/report/audit_report.xml | 14 + mgmtsystem_audit/report/verification_list.py | 39 +++ mgmtsystem_audit/report/verification_list.rml | 135 +++++++++ mgmtsystem_audit/report/verification_list.xml | 14 + mgmtsystem_audit/security/ir.model.access.csv | 6 + mgmtsystem_audit/wizard/__init__.py | 24 ++ .../wizard/copy_verification_lines.py | 56 ++++ .../wizard/copy_verification_lines.xml | 29 ++ 21 files changed, 1654 insertions(+) create mode 100755 mgmtsystem_audit/__init__.py create mode 100755 mgmtsystem_audit/__openerp__.py create mode 100644 mgmtsystem_audit/audit_sequence.xml create mode 100644 mgmtsystem_audit/board_mgmtsystem_audit.xml create mode 100644 mgmtsystem_audit/demo_audit.xml create mode 100644 mgmtsystem_audit/i18n/es.po create mode 100644 mgmtsystem_audit/i18n/fr.po create mode 100644 mgmtsystem_audit/i18n/mgmtsystem_audit.pot create mode 100644 mgmtsystem_audit/mgmtsystem_audit.py create mode 100644 mgmtsystem_audit/mgmtsystem_audit.xml create mode 100644 mgmtsystem_audit/report/__init__.py create mode 100644 mgmtsystem_audit/report/audit_report.py create mode 100644 mgmtsystem_audit/report/audit_report.rml create mode 100644 mgmtsystem_audit/report/audit_report.xml create mode 100644 mgmtsystem_audit/report/verification_list.py create mode 100644 mgmtsystem_audit/report/verification_list.rml create mode 100644 mgmtsystem_audit/report/verification_list.xml create mode 100644 mgmtsystem_audit/security/ir.model.access.csv create mode 100644 mgmtsystem_audit/wizard/__init__.py create mode 100644 mgmtsystem_audit/wizard/copy_verification_lines.py create mode 100644 mgmtsystem_audit/wizard/copy_verification_lines.xml diff --git a/mgmtsystem_audit/__init__.py b/mgmtsystem_audit/__init__.py new file mode 100755 index 00000000000..7d1ae8e542a --- /dev/null +++ b/mgmtsystem_audit/__init__.py @@ -0,0 +1,24 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2010 Savoir-faire Linux (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## +import mgmtsystem_audit +import report +import wizard +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/mgmtsystem_audit/__openerp__.py b/mgmtsystem_audit/__openerp__.py new file mode 100755 index 00000000000..d53b20b5889 --- /dev/null +++ b/mgmtsystem_audit/__openerp__.py @@ -0,0 +1,51 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2010 Savoir-faire Linux (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## +{ + "name" : "Management System - Audit", + "version" : "0.1", + "author" : "Savoir-faire Linux", + "website" : "http://www.savoirfairelinux.com", + "license" : "GPL-3", + "category" : "Management System", + "description": """ + This module enables you to manage audits and verifications lists of + your management system. + """, + "depends" : ['mgmtsystem_nonconformity'], + "init_xml" : [ + 'audit_sequence.xml', + ], + "update_xml" : [ + 'security/ir.model.access.csv', + 'mgmtsystem_audit.xml', + 'report/audit_report.xml', + 'report/verification_list.xml', + 'board_mgmtsystem_audit.xml', + 'wizard/copy_verification_lines.xml', + ], + "demo_xml" : [ + 'demo_audit.xml', + ], + "installable" : True, + "certificate" : '' +} +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: + diff --git a/mgmtsystem_audit/audit_sequence.xml b/mgmtsystem_audit/audit_sequence.xml new file mode 100644 index 00000000000..ff90667f932 --- /dev/null +++ b/mgmtsystem_audit/audit_sequence.xml @@ -0,0 +1,19 @@ + + + + + + + Management System Audit + mgmtsystem.audit + + + + Management System Audit + mgmtsystem.audit + MSA + 3 + + + + diff --git a/mgmtsystem_audit/board_mgmtsystem_audit.xml b/mgmtsystem_audit/board_mgmtsystem_audit.xml new file mode 100644 index 00000000000..3fd3bc1ebe1 --- /dev/null +++ b/mgmtsystem_audit/board_mgmtsystem_audit.xml @@ -0,0 +1,26 @@ + + + + + + mgmtsystem.audit + form + tree + + [('state','=','o')] + + + + board.mgmtsystem.audit.form + board.board + + form + + + + + + + + + diff --git a/mgmtsystem_audit/demo_audit.xml b/mgmtsystem_audit/demo_audit.xml new file mode 100644 index 00000000000..b94c8801142 --- /dev/null +++ b/mgmtsystem_audit/demo_audit.xml @@ -0,0 +1,17 @@ + + + + + + Quality + 2010-12-03 + * Good documentation + * Procedure respect + + + + + + + + diff --git a/mgmtsystem_audit/i18n/es.po b/mgmtsystem_audit/i18n/es.po new file mode 100644 index 00000000000..38b4571a3d4 --- /dev/null +++ b/mgmtsystem_audit/i18n/es.po @@ -0,0 +1,264 @@ +# Spanish translation for openobject-addons +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-09-29 21:30+0000\n" +"PO-Revision-Date: 2011-08-27 13:28+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-01-17 05:05+0000\n" +"X-Generator: Launchpad (build 14676)\n" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: selection:mgmtsystem.audit,state:0 +msgid "Closed" +msgstr "Cerrado" + +#. module: mgmtsystem_audit +#: field:copy.verification.lines,audit_src:0 +msgid "Choose audit" +msgstr "" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Date:" +msgstr "Fecha:" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,nonconformity_ids:0 +#: report:mgmtsystem.audit.report:0 +msgid "Nonconformities" +msgstr "" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,auditor_user_ids:0 +msgid "Auditors" +msgstr "Auditores" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +#: field:mgmtsystem.verification.line,comments:0 +msgid "Comments" +msgstr "Comentarios" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.audit,state:0 +msgid "State" +msgstr "Estado" + +#. module: mgmtsystem_audit +#: model:ir.actions.report.xml,name:mgmtsystem_audit.mgmtsystem_audit_report +msgid "Print Report" +msgstr "Imprimir informe" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Conformed?" +msgstr "" + +#. module: mgmtsystem_audit +#: model:ir.actions.act_window,name:mgmtsystem_audit.open_mgmtsystem_verification_line_list +#: view:mgmtsystem.verification.line:0 +msgid "Verification Lines" +msgstr "" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,strong_points:0 +msgid "Strong Points" +msgstr "" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.verification.line,is_conformed:0 +msgid "Is conformed" +msgstr "" + +#. module: mgmtsystem_audit +#: model:ir.actions.report.xml,name:mgmtsystem_audit.mgmtsystem_audit_verification_list +msgid "Print Verification List" +msgstr "" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,imp_opp_ids:0 +msgid "Improvement Opportunities" +msgstr "" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,auditee_user_ids:0 +msgid "Auditees" +msgstr "" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "-" +msgstr "-" + +#. module: mgmtsystem_audit +#: view:copy.verification.lines:0 +#: model:ir.actions.act_window,name:mgmtsystem_audit.copy_verification_lines_act_window +#: model:ir.model,name:mgmtsystem_audit.model_copy_verification_lines +msgid "Copy Verification Lines" +msgstr "" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +msgid "." +msgstr "." + +#. module: mgmtsystem_audit +#: view:copy.verification.lines:0 +msgid "_Copy" +msgstr "" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.audit,date:0 +msgid "Date" +msgstr "Fecha" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +msgid ":" +msgstr "" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Reference:" +msgstr "Referencia:" + +#. module: mgmtsystem_audit +#: view:board.board:0 +msgid "Open Audits" +msgstr "" + +#. module: mgmtsystem_audit +#: model:ir.model,name:mgmtsystem_audit.model_mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.verification.line,audit_id:0 +msgid "Audit" +msgstr "Auditoría" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.audit,name:0 +msgid "Name" +msgstr "Nombre" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +msgid "Improvement opportunities" +msgstr "" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +#: field:mgmtsystem.verification.line,name:0 +msgid "Question" +msgstr "Pregunta" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.audit,to_improve_points:0 +#: report:mgmtsystem.audit.report:0 +msgid "Points To Improve" +msgstr "" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Auditees:" +msgstr "" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Yes / No" +msgstr "Sí / No" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +msgid "Strong points" +msgstr "" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.verification.line,procedure_id:0 +msgid "Procedure" +msgstr "" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.audit,reference:0 +msgid "Reference" +msgstr "Referencia" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Confidentiality: Internal" +msgstr "" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.verification.line,seq:0 +msgid "Sequence" +msgstr "" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: selection:mgmtsystem.audit,state:0 +msgid "Open" +msgstr "Abrir" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +msgid "Audit Report" +msgstr "" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,line_ids:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Verification List" +msgstr "" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +msgid "To Improve Points" +msgstr "" + +#. module: mgmtsystem_audit +#: view:copy.verification.lines:0 +msgid "_Cancel" +msgstr "" + +#. module: mgmtsystem_audit +#: model:ir.model,name:mgmtsystem_audit.model_mgmtsystem_verification_line +#: view:mgmtsystem.verification.line:0 +msgid "Verification Line" +msgstr "" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +msgid "Close" +msgstr "Cerrar" + +#. module: mgmtsystem_audit +#: model:ir.actions.act_window,name:mgmtsystem_audit.open_mgmtsystem_audit_list +#: model:ir.ui.menu,name:mgmtsystem_audit.menu_open_audit +#: view:mgmtsystem.audit:0 +msgid "Audits" +msgstr "Auditorías" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Auditors:" +msgstr "Auditores:" diff --git a/mgmtsystem_audit/i18n/fr.po b/mgmtsystem_audit/i18n/fr.po new file mode 100644 index 00000000000..d37f185aef6 --- /dev/null +++ b/mgmtsystem_audit/i18n/fr.po @@ -0,0 +1,264 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * mgmtsystem_audit +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.0.3\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2011-09-29 21:30+0000\n" +"PO-Revision-Date: 2011-09-30 19:56+0000\n" +"Last-Translator: Maxime Chambreuil (http://www.savoirfairelinux.com) " +"\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-01-17 05:05+0000\n" +"X-Generator: Launchpad (build 14676)\n" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: selection:mgmtsystem.audit,state:0 +msgid "Closed" +msgstr "Fermé" + +#. module: mgmtsystem_audit +#: field:copy.verification.lines,audit_src:0 +msgid "Choose audit" +msgstr "Choisir un audit" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Date:" +msgstr "Date :" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,nonconformity_ids:0 +#: report:mgmtsystem.audit.report:0 +msgid "Nonconformities" +msgstr "Non-conformités" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,auditor_user_ids:0 +msgid "Auditors" +msgstr "Auditeurs" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +#: field:mgmtsystem.verification.line,comments:0 +msgid "Comments" +msgstr "Commentaires" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.audit,state:0 +msgid "State" +msgstr "État" + +#. module: mgmtsystem_audit +#: model:ir.actions.report.xml,name:mgmtsystem_audit.mgmtsystem_audit_report +msgid "Print Report" +msgstr "Imprimer le rapport" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Conformed?" +msgstr "Conforme ?" + +#. module: mgmtsystem_audit +#: model:ir.actions.act_window,name:mgmtsystem_audit.open_mgmtsystem_verification_line_list +#: view:mgmtsystem.verification.line:0 +msgid "Verification Lines" +msgstr "Lignes de vérification" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,strong_points:0 +msgid "Strong Points" +msgstr "Points forts" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.verification.line,is_conformed:0 +msgid "Is conformed" +msgstr "Est conforme ?" + +#. module: mgmtsystem_audit +#: model:ir.actions.report.xml,name:mgmtsystem_audit.mgmtsystem_audit_verification_list +msgid "Print Verification List" +msgstr "Imprimer la liste de vérification" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,imp_opp_ids:0 +msgid "Improvement Opportunities" +msgstr "Opportunités d'amélioration" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,auditee_user_ids:0 +msgid "Auditees" +msgstr "Audités" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "-" +msgstr "-" + +#. module: mgmtsystem_audit +#: view:copy.verification.lines:0 +#: model:ir.actions.act_window,name:mgmtsystem_audit.copy_verification_lines_act_window +#: model:ir.model,name:mgmtsystem_audit.model_copy_verification_lines +msgid "Copy Verification Lines" +msgstr "Copier les lignes de vérification" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +msgid "." +msgstr "." + +#. module: mgmtsystem_audit +#: view:copy.verification.lines:0 +msgid "_Copy" +msgstr "_Copier" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.audit,date:0 +msgid "Date" +msgstr "Date" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +msgid ":" +msgstr ":" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Reference:" +msgstr "Référence :" + +#. module: mgmtsystem_audit +#: view:board.board:0 +msgid "Open Audits" +msgstr "Audits ouverts" + +#. module: mgmtsystem_audit +#: model:ir.model,name:mgmtsystem_audit.model_mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.verification.line,audit_id:0 +msgid "Audit" +msgstr "Audit" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.audit,name:0 +msgid "Name" +msgstr "Nom" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +msgid "Improvement opportunities" +msgstr "Opportunités d'amélioration" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +#: field:mgmtsystem.verification.line,name:0 +msgid "Question" +msgstr "Question" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.audit,to_improve_points:0 +#: report:mgmtsystem.audit.report:0 +msgid "Points To Improve" +msgstr "Points à améliorer" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Auditees:" +msgstr "Audités :" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Yes / No" +msgstr "Oui / Non" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +msgid "Strong points" +msgstr "Points forts" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.verification.line,procedure_id:0 +msgid "Procedure" +msgstr "Procédure" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.audit,reference:0 +msgid "Reference" +msgstr "Référence" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Confidentiality: Internal" +msgstr "Confidentialité : Interne" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.verification.line,seq:0 +msgid "Sequence" +msgstr "Séquence" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: selection:mgmtsystem.audit,state:0 +msgid "Open" +msgstr "Ouvert" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +msgid "Audit Report" +msgstr "Rapport d'audit" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,line_ids:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Verification List" +msgstr "Liste de vérification" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +msgid "To Improve Points" +msgstr "Points à améliorer" + +#. module: mgmtsystem_audit +#: view:copy.verification.lines:0 +msgid "_Cancel" +msgstr "_Cancel" + +#. module: mgmtsystem_audit +#: model:ir.model,name:mgmtsystem_audit.model_mgmtsystem_verification_line +#: view:mgmtsystem.verification.line:0 +msgid "Verification Line" +msgstr "Ligne de vérification" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +msgid "Close" +msgstr "Archiver" + +#. module: mgmtsystem_audit +#: model:ir.actions.act_window,name:mgmtsystem_audit.open_mgmtsystem_audit_list +#: model:ir.ui.menu,name:mgmtsystem_audit.menu_open_audit +#: view:mgmtsystem.audit:0 +msgid "Audits" +msgstr "Audits" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Auditors:" +msgstr "Auditeurs :" diff --git a/mgmtsystem_audit/i18n/mgmtsystem_audit.pot b/mgmtsystem_audit/i18n/mgmtsystem_audit.pot new file mode 100644 index 00000000000..6ea52254708 --- /dev/null +++ b/mgmtsystem_audit/i18n/mgmtsystem_audit.pot @@ -0,0 +1,263 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * mgmtsystem_audit +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.0.3\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2011-09-29 21:30+0000\n" +"PO-Revision-Date: 2011-09-29 21:30+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: selection:mgmtsystem.audit,state:0 +msgid "Closed" +msgstr "Closed" + +#. module: mgmtsystem_audit +#: field:copy.verification.lines,audit_src:0 +msgid "Choose audit" +msgstr "Choose audit" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Date:" +msgstr "Date:" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,nonconformity_ids:0 +#: report:mgmtsystem.audit.report:0 +msgid "Nonconformities" +msgstr "Nonconformities" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,auditor_user_ids:0 +msgid "Auditors" +msgstr "Auditors" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +#: field:mgmtsystem.verification.line,comments:0 +msgid "Comments" +msgstr "Comments" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.audit,state:0 +msgid "State" +msgstr "State" + +#. module: mgmtsystem_audit +#: model:ir.actions.report.xml,name:mgmtsystem_audit.mgmtsystem_audit_report +msgid "Print Report" +msgstr "Print Report" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Conformed?" +msgstr "Conformed?" + +#. module: mgmtsystem_audit +#: model:ir.actions.act_window,name:mgmtsystem_audit.open_mgmtsystem_verification_line_list +#: view:mgmtsystem.verification.line:0 +msgid "Verification Lines" +msgstr "Verification Lines" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,strong_points:0 +msgid "Strong Points" +msgstr "Strong Points" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.verification.line,is_conformed:0 +msgid "Is conformed" +msgstr "Is conformed" + +#. module: mgmtsystem_audit +#: model:ir.actions.report.xml,name:mgmtsystem_audit.mgmtsystem_audit_verification_list +msgid "Print Verification List" +msgstr "Print Verification List" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,imp_opp_ids:0 +msgid "Improvement Opportunities" +msgstr "Improvement Opportunities" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,auditee_user_ids:0 +msgid "Auditees" +msgstr "Auditees" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "-" +msgstr "-" + +#. module: mgmtsystem_audit +#: view:copy.verification.lines:0 +#: model:ir.actions.act_window,name:mgmtsystem_audit.copy_verification_lines_act_window +#: model:ir.model,name:mgmtsystem_audit.model_copy_verification_lines +msgid "Copy Verification Lines" +msgstr "Copy Verification Lines" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +msgid "." +msgstr "." + +#. module: mgmtsystem_audit +#: view:copy.verification.lines:0 +msgid "_Copy" +msgstr "_Copy" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.audit,date:0 +msgid "Date" +msgstr "Date" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +msgid ":" +msgstr ":" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Reference:" +msgstr "Reference:" + +#. module: mgmtsystem_audit +#: view:board.board:0 +msgid "Open Audits" +msgstr "Open Audits" + +#. module: mgmtsystem_audit +#: model:ir.model,name:mgmtsystem_audit.model_mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.verification.line,audit_id:0 +msgid "Audit" +msgstr "Audit" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.audit,name:0 +msgid "Name" +msgstr "Name" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +msgid "Improvement opportunities" +msgstr "Improvement opportunities" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +#: field:mgmtsystem.verification.line,name:0 +msgid "Question" +msgstr "Question" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.audit,to_improve_points:0 +#: report:mgmtsystem.audit.report:0 +msgid "Points To Improve" +msgstr "Points To Improve" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Auditees:" +msgstr "Auditees:" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Yes / No" +msgstr "Yes / No" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +msgid "Strong points" +msgstr "Strong points" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.verification.line,procedure_id:0 +msgid "Procedure" +msgstr "Procedure" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.audit,reference:0 +msgid "Reference" +msgstr "Reference" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Confidentiality: Internal" +msgstr "Confidentiality: Internal" + +#. module: mgmtsystem_audit +#: field:mgmtsystem.verification.line,seq:0 +msgid "Sequence" +msgstr "Sequence" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: selection:mgmtsystem.audit,state:0 +msgid "Open" +msgstr "Open" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +msgid "Audit Report" +msgstr "Audit Report" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +#: field:mgmtsystem.audit,line_ids:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Verification List" +msgstr "Verification List" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +msgid "To Improve Points" +msgstr "To Improve Points" + +#. module: mgmtsystem_audit +#: view:copy.verification.lines:0 +msgid "_Cancel" +msgstr "_Cancel" + +#. module: mgmtsystem_audit +#: model:ir.model,name:mgmtsystem_audit.model_mgmtsystem_verification_line +#: view:mgmtsystem.verification.line:0 +msgid "Verification Line" +msgstr "Verification Line" + +#. module: mgmtsystem_audit +#: view:mgmtsystem.audit:0 +msgid "Close" +msgstr "Close" + +#. module: mgmtsystem_audit +#: model:ir.actions.act_window,name:mgmtsystem_audit.open_mgmtsystem_audit_list +#: model:ir.ui.menu,name:mgmtsystem_audit.menu_open_audit +#: view:mgmtsystem.audit:0 +msgid "Audits" +msgstr "Audits" + +#. module: mgmtsystem_audit +#: report:mgmtsystem.audit.report:0 +#: report:mgmtsystem.audit.verificationlist:0 +msgid "Auditors:" +msgstr "Auditors:" + diff --git a/mgmtsystem_audit/mgmtsystem_audit.py b/mgmtsystem_audit/mgmtsystem_audit.py new file mode 100644 index 00000000000..a9782bfd58d --- /dev/null +++ b/mgmtsystem_audit/mgmtsystem_audit.py @@ -0,0 +1,78 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2010 Savoir-faire Linux (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## + +from osv import fields, osv +from tools.translate import _ + +class mgmtsystem_audit(osv.osv): + _name = "mgmtsystem.audit" + _description = "Audit" + _columns = { + 'name': fields.char('Name', size=50), + 'reference': fields.char('Reference', size=64, required=True, readonly=True), + 'date': fields.datetime('Date'), + 'line_ids': fields.one2many('mgmtsystem.verification.line','audit_id','Verification List'), + 'auditor_user_ids': fields.many2many('res.users','mgmtsystem_auditor_user_rel','user_id','mgmtsystem_audit_id','Auditors'), + 'auditee_user_ids': fields.many2many('res.users','mgmtsystem_auditee_user_rel','user_id','mgmtsystem_audit_id','Auditees'), + 'strong_points': fields.text('Strong Points'), + 'to_improve_points': fields.text('Points To Improve'), + 'imp_opp_ids': fields.many2many('mgmtsystem.action','mgmtsystem_audit_imp_opp_rel','mgmtsystem_action_id','mgmtsystem_audit_id','Improvement Opportunities'), + 'nonconformity_ids': fields.many2many('mgmtsystem.nonconformity','mgmtsystem_audit_nonconformity_rel','mgmtsystem_action_id','mgmtsystem_audit_id','Nonconformities'), + 'state': fields.selection([('o','Open'),('c','Closed')], 'State') + } + + _defaults = { + 'reference': 'NEW', + 'state': 'o' + } + + def create(self, cr, uid, vals, context=None): + vals.update({ + 'reference': self.pool.get('ir.sequence').get(cr, uid, 'mgmtsystem.audit') + }) + return super(mgmtsystem_audit, self).create(cr, uid, vals, context) + + def button_close(self, cr, uid, ids, context=None): + return self.write(cr, uid, ids, {'state': 'c'}) + +mgmtsystem_audit() + +class mgmtsystem_verification_line(osv.osv): + _name = "mgmtsystem.verification.line" + _description = "Verification Line" + _columns = { + 'name': fields.char('Question',size=300, required=True), + 'audit_id': fields.many2one('mgmtsystem.audit', 'Audit', ondelete='cascade', select=True), + 'procedure_id': fields.many2one('wiki.wiki', 'Procedure', ondelete='cascade', select=True), + 'is_conformed': fields.boolean('Is conformed'), + 'comments': fields.text('Comments'), + 'seq': fields.integer('Sequence'), + } + + _order = "seq" + + _defaults = { + 'is_conformed': False + } + +mgmtsystem_verification_line() + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/mgmtsystem_audit/mgmtsystem_audit.xml b/mgmtsystem_audit/mgmtsystem_audit.xml new file mode 100644 index 00000000000..8ce4bfa29c2 --- /dev/null +++ b/mgmtsystem_audit/mgmtsystem_audit.xml @@ -0,0 +1,182 @@ + + + + + + + mgmtsystem.verification.line.tree + mgmtsystem.verification.line + tree + + + + + + + + + + + + + mgmtsystem.verification.line.filter + mgmtsystem.verification.line + search + + + + + + + + + + + + + + + mgmtsystem.verification.line.form + form + mgmtsystem.verification.line + +
+ + + + + + + + + +
+
+
+ + + Verification Lines + mgmtsystem.verification.line + form + tree,form + + + + + + mgmtsystem.audit.tree + mgmtsystem.audit + tree + + + + + + + + + + + mgmtsystem.audit.filter + mgmtsystem.audit + search + + + + + + + + + + + + + + + + mgmtsystem.audit.form + form + mgmtsystem.audit + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +