openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #00177
[Merge] lp:~openerp-community/openobject-addons/mgmtsystem into lp:openobject-addons/extra-trunk
Maxime Chambreuil (http://www.savoirfairelinux.com) has proposed merging lp:~openerp-community/openobject-addons/mgmtsystem into lp:openobject-addons/extra-trunk.
Requested reviews:
OpenERP Committers (openerp-commiter)
[ADD] Management System
--
https://code.launchpad.net/~openerp-community/openobject-addons/mgmtsystem/+merge/43702
Your team OpenERP Community is subscribed to branch lp:~openerp-community/openobject-addons/mgmtsystem.
=== added directory 'mgmtsystem'
=== added file 'mgmtsystem/__init__.py'
--- mgmtsystem/__init__.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem/__init__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,22 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'mgmtsystem/__openerp__.py'
--- mgmtsystem/__openerp__.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem/__openerp__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,50 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+{
+ "name" : "Management System",
+ "version" : "0.1",
+ "author" : "Savoir-faire Linux",
+ "website" : "http://www.savoirfairelinux.com",
+ "license" : "GPL-3",
+ "category" : "Management System",
+ "description": """
+ This module is the basis of any management system applications:
+ * audit reports,
+ * nonconformities,
+ * immediate actions,
+ * preventive actions,
+ * corrective actions,
+ * improvement opportunities.
+ """,
+ "depends" : [],
+ "init_xml" : [],
+ "update_xml" : [
+ 'security/mgmtsystem_security.xml',
+# 'security/ir.model.access.csv',
+ 'mgmtsystem.xml',
+ 'board_mgmtsystem_view.xml',
+ ],
+ "demo_xml" : [],
+ "installable" : True,
+ "certificate" : ''
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'mgmtsystem/board_mgmtsystem_view.xml'
--- mgmtsystem/board_mgmtsystem_view.xml 1970-01-01 00:00:00 +0000
+++ mgmtsystem/board_mgmtsystem_view.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+ <data>
+ <menuitem id="base.dashboard" name="Dashboard" sequence="2" parent="base.reporting_menu"/>
+
+ <!-- This board view will be complete by other mgmtsystem_* modules-->
+ <record id="board_mgmtsystem_form" model="ir.ui.view">
+ <field name="name">board.mgmtsystem.form</field>
+ <field name="model">board.board</field>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <form string="My Board">
+ <hpaned>
+ <child1>
+ </child1>
+ <child2>
+ </child2>
+ </hpaned>
+ </form>
+ </field>
+ </record>
+
+ <record id="open_board_mgmtsystem" model="ir.actions.act_window">
+ <field name="name">Management System Dashboard</field>
+ <field name="res_model">board.board</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">form</field>
+ <field name="usage">menu</field>
+ <field name="view_id" ref="board_mgmtsystem_form"/>
+ </record>
+ <menuitem
+ id="menu_mgmtsystem_dashboard"
+ name="Management System"
+ parent="base.dashboard"
+ action="open_board_mgmtsystem"/>
+
+ <menuitem id="menu_mgmtsystem_root" icon="terp-hr" name="Management System" sequence="15" action="open_board_mgmtsystem"/>
+
+ </data>
+</openerp>
=== added directory 'mgmtsystem/i18n'
=== added file 'mgmtsystem/i18n/mgmtsystem.pot'
--- mgmtsystem/i18n/mgmtsystem.pot 1970-01-01 00:00:00 +0000
+++ mgmtsystem/i18n/mgmtsystem.pot 2010-12-14 20:52:12 +0000
@@ -0,0 +1,61 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * mgmtsystem
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-12-02 23:46:44+0000\n"
+"PO-Revision-Date: 2010-12-02 23:46:44+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
+#: model:ir.module.module,shortdesc:mgmtsystem.module_meta_information
+#: model:ir.ui.menu,name:mgmtsystem.menu_mgmtsystem_dashboard
+#: model:ir.ui.menu,name:mgmtsystem.menu_mgmtsystem_main
+#: model:ir.ui.menu,name:mgmtsystem.menu_mgmtsystem_root
+msgid "Management System"
+msgstr "Management System"
+
+#. module: mgmtsystem
+#: view:board.board:0
+msgid "My Board"
+msgstr "My Board"
+
+#. module: mgmtsystem
+#: model:ir.ui.menu,name:mgmtsystem.menu_mgmtsystem_configuration
+msgid "Configuration"
+msgstr "Configuration"
+
+#. module: mgmtsystem
+#: model:ir.module.module,description:mgmtsystem.module_meta_information
+msgid "\n"
+" This module is the basis of any management system applications:\n"
+" * audit reports,\n"
+" * nonconformities,\n"
+" * immediate actions,\n"
+" * preventive actions,\n"
+" * corrective actions,\n"
+" * improvement opportunities. \n"
+" "
+msgstr "\n"
+" This module is the basis of any management system applications:\n"
+" * audit reports,\n"
+" * nonconformities,\n"
+" * immediate actions,\n"
+" * preventive actions,\n"
+" * corrective actions,\n"
+" * improvement opportunities. \n"
+" "
+
+#. module: mgmtsystem
+#: model:ir.actions.act_window,name:mgmtsystem.open_board_mgmtsystem
+msgid "Management System Dashboard"
+msgstr "Management System Dashboard"
+
=== added directory 'mgmtsystem/images'
=== added file 'mgmtsystem/images/mgmtsystem-hover.png'
Binary files mgmtsystem/images/mgmtsystem-hover.png 1970-01-01 00:00:00 +0000 and mgmtsystem/images/mgmtsystem-hover.png 2010-12-14 20:52:12 +0000 differ
=== added file 'mgmtsystem/images/mgmtsystem.png'
Binary files mgmtsystem/images/mgmtsystem.png 1970-01-01 00:00:00 +0000 and mgmtsystem/images/mgmtsystem.png 2010-12-14 20:52:12 +0000 differ
=== added file 'mgmtsystem/mgmtsystem.xml'
--- mgmtsystem/mgmtsystem.xml 1970-01-01 00:00:00 +0000
+++ mgmtsystem/mgmtsystem.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+ <data>
+
+ <menuitem id="menu_mgmtsystem_root"
+ name="Management System"
+ sequence="15"
+ groups="base.group_mgmtsystem_manager,base.group_user"
+ web_icon="images/mgmtsystem.png"
+ web_icon_hover="images/mgmtsystem-hover.png"/>
+
+ <menuitem id="menu_mgmtsystem_main"
+ name="Management System"
+ parent="menu_mgmtsystem_root"
+ sequence="0"
+ groups="base.group_user"/>
+
+ <menuitem id="menu_mgmtsystem_configuration"
+ name="Configuration"
+ parent="mgmtsystem.menu_mgmtsystem_root"
+ groups="base.group_mgmtsystem_manager"
+ sequence="50"/>
+
+ </data>
+</openerp>
=== added directory 'mgmtsystem/security'
=== added file 'mgmtsystem/security/ir.model.access.csv'
--- mgmtsystem/security/ir.model.access.csv 1970-01-01 00:00:00 +0000
+++ mgmtsystem/security/ir.model.access.csv 2010-12-14 20:52:12 +0000
@@ -0,0 +1,5 @@
+"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
+"access_mgmtsystem_nonconformity","mgmtsystem.nonconformity","model_mgmtsystem_nonconformity","base.group_user",1,1,1,0
+"access_mgmtsystem_nonconformity_origin","mgmtsystem.nonconformity.origin","model_mgmtsystem_nonconformity_origin","base.group_mgmtsystem_manager",1,1,1,1
+"access_mgmtsystem_nonconformity_process","mgmtsystem.nonconformity.process","model_mgmtsystem_nonconformity_process","base.group_mgmtsystem_manager",1,1,1,1
+"access_mgmtsystem_nonconformity_cause","mgmtsystem.nonconformity.cause","model_mgmtsystem_nonconformity_cause","base.group_mgmtsystem_manager",1,1,1,1
=== added file 'mgmtsystem/security/mgmtsystem_security.xml'
--- mgmtsystem/security/mgmtsystem_security.xml 1970-01-01 00:00:00 +0000
+++ mgmtsystem/security/mgmtsystem_security.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+<data noupdate="1">
+
+ <record id="base.group_mgmtsystem_manager" model="res.groups">
+ <field name="name">Management System / Manager</field>
+ </record>
+
+ <record id="base.group_mgmtsystem_auditor" model="res.groups">
+ <field name="name">Management System / Auditor</field>
+ </record>
+
+</data>
+</openerp>
=== added directory 'mgmtsystem_action'
=== added file 'mgmtsystem_action/__init__.py'
--- mgmtsystem_action/__init__.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_action/__init__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,22 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+import mgmtsystem_action
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'mgmtsystem_action/__openerp__.py'
--- mgmtsystem_action/__openerp__.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_action/__openerp__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,48 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+{
+ "name" : "Management System - Action",
+ "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 the different actions of your management
+ system :
+ * immediate actions
+ * corrective actions
+ * preventive actions.
+ """,
+ "depends" : ['mgmtsystem','crm_claim'],
+ "init_xml" : [],
+ "update_xml" : [
+ 'mgmtsystem_action.xml',
+ 'board_mgmtsystem_action.xml',
+ ],
+ "demo_xml" : [
+ 'demo_action.xml',
+ ],
+ "installable" : True,
+ "certificate" : ''
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'mgmtsystem_action/board_mgmtsystem_action.xml'
--- mgmtsystem_action/board_mgmtsystem_action.xml 1970-01-01 00:00:00 +0000
+++ mgmtsystem_action/board_mgmtsystem_action.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+ <data>
+
+ <record model="ir.actions.act_window" id="action_mgmtsystem_action">
+ <field name="res_model">mgmtsystem.action</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree</field>
+ <field name="view_id" ref="view_mgmtsystem_action_tree"/>
+ <field name="domain">[('state', 'in', ('draft','open','pending'))]</field>
+ </record>
+
+ <record id="board_mgmtsystem_action_form" model="ir.ui.view">
+ <field name="name">board.mgmtsystem.action.form</field>
+ <field name="model">board.board</field>
+ <field name="inherit_id" ref="mgmtsystem.board_mgmtsystem_form"/>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <xpath expr="/form/hpaned/child1" position="inside">
+ <action name="%(action_mgmtsystem_action)d" string="Open Actions"/>
+ </xpath>
+ </field>
+ </record>
+
+ </data>
+</openerp>
=== added file 'mgmtsystem_action/demo_action.xml'
--- mgmtsystem_action/demo_action.xml 1970-01-01 00:00:00 +0000
+++ mgmtsystem_action/demo_action.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+ <data noupdate="1">
+
+ <!-- demo data mgmtsystem.action -->
+ <record id="demo_immediate" model="mgmtsystem.action">
+ <field name="name">Add a comment to the revision</field>
+ <field name="type_action">immediate</field>
+ </record>
+
+ <record id="demo_corrective" model="mgmtsystem.action">
+ <field name="name">Explain Administrator to add comments to the procedure when making changes.</field>
+ <field name="type_action">correction</field>
+ </record>
+
+ <record id="demo_preventive" model="mgmtsystem.action">
+ <field name="name">Explain in the new-employee training manual that they need to add comments to the procedure when making changes</field>
+ <field name="type_action">prevention</field>
+ </record>
+
+ <record id="demo_improvement" model="mgmtsystem.action">
+ <field name="name">Manage your quality management system with OpenERP :o)</field>
+ <field name="type_action">improvement</field>
+ </record>
+
+ </data>
+</openerp>
=== added directory 'mgmtsystem_action/i18n'
=== added file 'mgmtsystem_action/i18n/mgmtsystem_action.pot'
--- mgmtsystem_action/i18n/mgmtsystem_action.pot 1970-01-01 00:00:00 +0000
+++ mgmtsystem_action/i18n/mgmtsystem_action.pot 2010-12-14 20:52:12 +0000
@@ -0,0 +1,362 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * mgmtsystem_action
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-12-02 23:47:57+0000\n"
+"PO-Revision-Date: 2010-12-02 23:47:57+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_action
+#: field:mgmtsystem.action,categ_id:0
+msgid "Category"
+msgstr "Category"
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+msgid "History"
+msgstr "History"
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+msgid "History Information"
+msgstr "History Information"
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+#: field:mgmtsystem.action,user_id:0
+msgid "Responsible"
+msgstr "Responsible"
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+msgid "Date of Claim"
+msgstr "Date of Claim"
+
+#. module: mgmtsystem_action
+#: model:ir.module.module,shortdesc:mgmtsystem_action.module_meta_information
+msgid "Management System - Action"
+msgstr "Management System - Action"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,priority:0
+msgid "Priority"
+msgstr "Priority"
+
+#. module: mgmtsystem_action
+#: model:ir.model,name:mgmtsystem_action.model_mgmtsystem_action
+#: view:mgmtsystem.action:0
+msgid "Action"
+msgstr "Action"
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+msgid "Send New Email"
+msgstr "Send New Email"
+
+#. module: mgmtsystem_action
+#: selection:mgmtsystem.action,state:0
+msgid "Draft"
+msgstr "Draft"
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+msgid "Details"
+msgstr "Details"
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+#: field:mgmtsystem.action,date_closed:0
+#: selection:mgmtsystem.action,state:0
+msgid "Closed"
+msgstr "Closed"
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+msgid "Reply"
+msgstr "Reply"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,cause:0
+msgid "Root Cause"
+msgstr "Root Cause"
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+msgid "Type"
+msgstr "Type"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,email_from:0
+msgid "Email"
+msgstr "Email"
+
+#. module: mgmtsystem_action
+#: selection:mgmtsystem.action,state:0
+msgid "Pending"
+msgstr "Pending"
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+msgid "Claim/Action Description"
+msgstr "Claim/Action Description"
+
+#. module: mgmtsystem_action
+#: selection:mgmtsystem.action,priority:0
+msgid "Lowest"
+msgstr "Lowest"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,action_next:0
+msgid "Next Action"
+msgstr "Next Action"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,description:0
+msgid "Description"
+msgstr "Description"
+
+#. module: mgmtsystem_action
+#: selection:mgmtsystem.action,priority:0
+msgid "Normal"
+msgstr "Normal"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,create_date:0
+msgid "Creation Date"
+msgstr "Creation Date"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,name:0
+msgid "Claim Subject"
+msgstr "Claim Subject"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,company_id:0
+msgid "Company"
+msgstr "Company"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,email_cc:0
+msgid "Watchers Emails"
+msgstr "Watchers Emails"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,date_action_next:0
+msgid "Next Action Date"
+msgstr "Next Action Date"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,partner_phone:0
+msgid "Phone"
+msgstr "Phone"
+
+#. module: mgmtsystem_action
+#: view:board.board:0
+msgid "Open Actions"
+msgstr "Open Actions"
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+msgid "User"
+msgstr "User"
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+msgid "Done"
+msgstr "Done"
+
+#. module: mgmtsystem_action
+#: selection:mgmtsystem.action,priority:0
+msgid "Highest"
+msgstr "Highest"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,stage_id:0
+msgid "Stage"
+msgstr "Stage"
+
+#. module: mgmtsystem_action
+#: help:mgmtsystem.action,state:0
+msgid "The state is set to 'Draft', when a case is created. \n"
+"If the case is in progress the state is set to 'Open'. \n"
+"When the case is over, the state is set to 'Done'. \n"
+"If the case needs to be reviewed then the state is set to 'Pending'."
+msgstr "The state is set to 'Draft', when a case is created. \n"
+"If the case is in progress the state is set to 'Open'. \n"
+"When the case is over, the state is set to 'Done'. \n"
+"If the case needs to be reviewed then the state is set to 'Pending'."
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+msgid "Add Internal Note"
+msgstr "Add Internal Note"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,user_fault:0
+msgid "Trouble Responsible"
+msgstr "Trouble Responsible"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,section_id:0
+msgid "Sales Team"
+msgstr "Sales Team"
+
+#. module: mgmtsystem_action
+#: model:ir.module.module,description:mgmtsystem_action.module_meta_information
+msgid "\n"
+" This module enables you to manage the different actions of your management \n"
+" system :\n"
+" * immediate actions\n"
+" * corrective actions\n"
+" * preventive actions.\n"
+" "
+msgstr "\n"
+" This module enables you to manage the different actions of your management \n"
+" system :\n"
+" * immediate actions\n"
+" * corrective actions\n"
+" * preventive actions.\n"
+" "
+
+#. module: mgmtsystem_action
+#: selection:mgmtsystem.action,type_action:0
+msgid "Immediate Action"
+msgstr "Immediate Action"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,message_ids:0
+msgid "Messages"
+msgstr "Messages"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,date:0
+msgid "Claim Date"
+msgstr "Claim Date"
+
+#. module: mgmtsystem_action
+#: selection:mgmtsystem.action,type_action:0
+msgid "Improvement Opportunity"
+msgstr "Improvement Opportunity"
+
+#. module: mgmtsystem_action
+#: help:mgmtsystem.action,email_from:0
+msgid "These people will receive email."
+msgstr "These people will receive email."
+
+#. module: mgmtsystem_action
+#: selection:mgmtsystem.action,type_action:0
+msgid "Preventive Action"
+msgstr "Preventive Action"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,partner_address_id:0
+msgid "Partner Contact"
+msgstr "Partner Contact"
+
+#. module: mgmtsystem_action
+#: selection:mgmtsystem.action,state:0
+msgid "Cancelled"
+msgstr "Cancelled"
+
+#. module: mgmtsystem_action
+#: selection:mgmtsystem.action,type_action:0
+msgid "Corrective Action"
+msgstr "Corrective Action"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,resolution:0
+msgid "Resolution"
+msgstr "Resolution"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: mgmtsystem_action
+#: help:mgmtsystem.action,section_id:0
+msgid "Sales team to which Case belongs to.Define Responsible user and Email account for mail gateway."
+msgstr "Sales team to which Case belongs to.Define Responsible user and Email account for mail gateway."
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+msgid "Global CC"
+msgstr "Global CC"
+
+#. module: mgmtsystem_action
+#: help:mgmtsystem.action,email_cc:0
+msgid "These email addresses will be added to the CC field of all inbound and outbound emails for this record before being sent. Separate multiple email addresses with a comma"
+msgstr "These email addresses will be added to the CC field of all inbound and outbound emails for this record before being sent. Separate multiple email addresses with a comma"
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+msgid "Attachments"
+msgstr "Attachments"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,ref:0
+msgid "Reference"
+msgstr "Reference"
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+msgid "Group By..."
+msgstr "Group By..."
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,state:0
+msgid "State"
+msgstr "State"
+
+#. module: mgmtsystem_action
+#: model:ir.actions.act_window,name:mgmtsystem_action.open_mgmtsystem_action_list
+#: model:ir.ui.menu,name:mgmtsystem_action.menu_open_action
+msgid "Actions"
+msgstr "Actions"
+
+#. module: mgmtsystem_action
+#: selection:mgmtsystem.action,priority:0
+msgid "High"
+msgstr "High"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,type_action:0
+msgid "Action Type"
+msgstr "Action Type"
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+#: field:mgmtsystem.action,date_deadline:0
+msgid "Deadline"
+msgstr "Deadline"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,write_date:0
+msgid "Update Date"
+msgstr "Update Date"
+
+#. module: mgmtsystem_action
+#: field:mgmtsystem.action,partner_id:0
+msgid "Partner"
+msgstr "Partner"
+
+#. module: mgmtsystem_action
+#: view:mgmtsystem.action:0
+#: selection:mgmtsystem.action,state:0
+msgid "Open"
+msgstr "Open"
+
+#. module: mgmtsystem_action
+#: selection:mgmtsystem.action,priority:0
+msgid "Low"
+msgstr "Low"
+
=== added file 'mgmtsystem_action/mgmtsystem_action.py'
--- mgmtsystem_action/mgmtsystem_action.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_action/mgmtsystem_action.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,35 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+from osv import fields, osv
+from crm import crm
+
+class mgmtsystem_action(osv.osv):
+ _name = "mgmtsystem.action"
+ _description = "Action"
+ _inherit = "crm.claim"
+ _columns = {
+ 'type_action': fields.selection([('immediate','Immediate Action'),('correction','Corrective Action'),('prevention','Preventive Action'),('improvement','Improvement Opportunity')], 'Action Type'),
+ }
+
+mgmtsystem_action()
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'mgmtsystem_action/mgmtsystem_action.xml'
--- mgmtsystem_action/mgmtsystem_action.xml 1970-01-01 00:00:00 +0000
+++ mgmtsystem_action/mgmtsystem_action.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,126 @@
+<openerp>
+ <data>
+
+ <record id="view_mgmtsystem_action_tree" model="ir.ui.view">
+ <field name="name">mgmtsystem.action.tree</field>
+ <field name="model">mgmtsystem.action</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Action">
+ <field name="name"/>
+ <field name="description"/>
+ <field name="user_id"/>
+ <field name="type_action"/>
+ </tree>
+ </field>
+ </record>
+
+ <record id="view_mgmtsystem_action_filter" model="ir.ui.view">
+ <field name="name">mgmtsystem.action.filter</field>
+ <field name="model">mgmtsystem.action</field>
+ <field name="type">search</field>
+ <field name="arch" type="xml">
+ <search string="Action">
+ <group>
+ <filter icon="terp-document-new" domain="[('state','in',('draft','open','pending'))]" string="Open" help="Open Actions"/>
+ <filter icon="terp-camera_test" domain="[('state','in',('cancelled','closed'))]" string="Closed" help="Closed Actions"/>
+ <separator orientation="vertical"/>
+ <field name="date" select='1'/>
+ </group>
+ <newline />
+ <group expand="0" string="Group By...">
+ <filter string="User" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
+ <separator orientation="vertical"/>
+ <filter string="Type" icon="terp-personal" domain="[]" context="{'group_by':'type_action'}"/>
+ </group>
+ </search>
+ </field>
+ </record>
+
+ <record id="view_mgmtsystem_action_form" model="ir.ui.view">
+ <field name="name">mgmtsystem.action.form</field>
+ <field name="type">form</field>
+ <field name="model">mgmtsystem.action</field>
+ <field name="arch" type="xml">
+ <form string="Action">
+ <group colspan="4" col="4">
+ <group colspan="1" col="2">
+ <field name="name"/>
+ <field name="user_id" string="Responsible"/>
+ </group>
+ <group colspan="1" col="2">
+ <field name="date" string="Date of Claim"/>
+ <field name="type_action" required="True"/>
+ </group>
+ <group colspan="1" col="2">
+ <field name="date_deadline" string="Deadline"/>
+ </group>
+ <separator colspan="4" string="Claim/Action Description"/>
+ <field name="description" colspan="4" nolabel="1"/>
+ </group>
+ <group colspan="4" col="4">
+
+ <notebook>
+ <page string="History" groups="base.group_extended">
+ <group colspan="4">
+ <field colspan="4" name="email_cc" string="Global CC" widget="char"/>
+ </group>
+ <field name="message_ids" colspan="4" nolabel="1" mode="tree,form">
+ <tree string="History">
+ <field name="display_text" string="History Information"/>
+ <button string="Reply" name="306" context="{'mail':'reply', 'model': 'crm.claim', 'include_original' : True}" icon="terp-mail-replied" type="action" attrs="{'invisible': [('history', '!=', True)]}"/>
+ </tree>
+ <form string="History">
+ <group col="4" colspan="4">
+ <field name="email_from"/>
+ <field name="date"/>
+ <field name="email_to" widget="char" size="512"/>
+ <field name="email_cc" widget="char" size="512"/>
+ <field name="name" colspan="4" widget="char" size="512"/>
+ <field name="history" invisible="1"/>
+ </group>
+ <notebook colspan="4">
+ <page string="Details">
+ <group attrs="{'invisible': [('history', '!=', True)]}">
+ <field name="description" colspan="4" nolabel="1" height="250"/>
+ <button colspan="4" string="Reply" name="306" context="{'mail':'reply', 'model': 'crm.claim', 'include_original' : True}" icon="terp-mail-replied" type="action"/>
+ </group>
+ <group attrs="{'invisible': [('history', '=', True)]}">
+ <field name="display_text" colspan="4" nolabel="1" height="250"/>
+ </group>
+ </page>
+ <page string="Attachments">
+ <field name="attachment_ids" colspan="4" readonly="1" nolabel="1"/>
+ </page>
+ </notebook>
+ </form>
+ </field>
+ <button string="Add Internal Note" name="308" context="{'model': 'crm.lead' }" icon="terp-document-new" type="action"/>
+ <button string="Send New Email" name="306" context="{'mail':'new', 'model': 'crm.claim'}" icon="terp-mail-message-new" type="action"/>
+ </page>
+ </notebook>
+ </group>
+ <group col="8" colspan="4">
+ <field name="state" select="1"/>
+ <button name="case_open" string="Open" states="draft,pending" type="object" icon="gtk-go-forward"/>
+ <button name="case_close" string="Done" states="open,draft,pending" type="object" icon="gtk-jump-to"/>
+ </group>
+ </form>
+ </field>
+ </record>
+
+ <record id="open_mgmtsystem_action_list" model="ir.actions.act_window">
+ <field name="name">Actions</field>
+ <field name="res_model">mgmtsystem.action</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree,form</field>
+ </record>
+
+ <menuitem id="menu_open_action"
+ action="open_mgmtsystem_action_list"
+ parent="mgmtsystem.menu_mgmtsystem_main"
+ sequence="30"
+ groups="base.group_mgmtsystem_manager,base.group_mgmtsystem_auditor,base.group_user"/>
+
+ </data>
+</openerp>
=== added directory 'mgmtsystem_audit'
=== added file 'mgmtsystem_audit/__init__.py'
--- mgmtsystem_audit/__init__.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_audit/__init__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,23 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+import mgmtsystem_audit
+import report
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'mgmtsystem_audit/__openerp__.py'
--- mgmtsystem_audit/__openerp__.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_audit/__openerp__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,49 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+{
+ "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" : [
+ 'mgmtsystem_audit.xml',
+ 'report/audit_report.xml',
+ 'report/verification_list.xml',
+ 'board_mgmtsystem_audit.xml',
+ ],
+ "demo_xml" : [
+ 'demo_audit.xml',
+ ],
+ "installable" : True,
+ "certificate" : ''
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'mgmtsystem_audit/audit_sequence.xml'
--- mgmtsystem_audit/audit_sequence.xml 1970-01-01 00:00:00 +0000
+++ mgmtsystem_audit/audit_sequence.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+ <data noupdate="1">
+
+ <!-- Sequences for mgmtsystem.audit -->
+ <record id="seq_type_mgmtsystem_audit" model="ir.sequence.type">
+ <field name="name">Management System Audit</field>
+ <field name="code">mgmtsystem.audit</field>
+ </record>
+
+ <record id="seq_mgmtsystem_audit" model="ir.sequence">
+ <field name="name">Management System Audit</field>
+ <field name="code">mgmtsystem.audit</field>
+ <field name="prefix">MSA</field>
+ <field name="padding">3</field>
+ </record>
+
+ </data>
+</openerp>
=== added file 'mgmtsystem_audit/board_mgmtsystem_audit.xml'
--- mgmtsystem_audit/board_mgmtsystem_audit.xml 1970-01-01 00:00:00 +0000
+++ mgmtsystem_audit/board_mgmtsystem_audit.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+ <data>
+
+ <record id="action_mgmtsystem_audit" model="ir.actions.act_window">
+ <field name="res_model">mgmtsystem.audit</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree</field>
+ <field name="view_id" ref="view_mgmtsystem_audit_tree"/>
+ <field name="domain">[('state','=','o')]</field>
+ </record>
+
+ <record id="board_mgmtsystem_audit_form" model="ir.ui.view">
+ <field name="name">board.mgmtsystem.audit.form</field>
+ <field name="model">board.board</field>
+ <field name="inherit_id" ref="mgmtsystem.board_mgmtsystem_form"/>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <xpath expr="/form/hpaned/child2" position="inside">
+ <action name="%(action_mgmtsystem_audit)d" string="Open Audits"/>
+ </xpath>
+ </field>
+ </record>
+
+ </data>
+</openerp>
=== added file 'mgmtsystem_audit/demo_audit.xml'
--- mgmtsystem_audit/demo_audit.xml 1970-01-01 00:00:00 +0000
+++ mgmtsystem_audit/demo_audit.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+ <data noupdate="1">
+
+ <record id="mgmtsystem_audit_demo" model="mgmtsystem.audit">
+ <field name="name">Quality</field>
+ <field name="date">2010-12-03</field>
+ <field name="strong_points">* Good documentation</field>
+ <field name="to_improve_points">* Procedure respect</field>
+ <field name="auditor_user_ids" eval="[(6,0,[ref('base.user_demo')])]"/>
+ <field name="auditee_user_ids" eval="[(6,0,[ref('base.user_root')])]"/>
+ <field name="imp_opp_ids" eval="[(6,0,[ref('mgmtsystem_action.demo_improvement')])]"/>
+ <field name="nonconformity_ids" eval="[(6,0,[ref('mgmtsystem_nonconformity.demo_nonconformity')])]"/>
+ </record>
+
+ </data>
+</openerp>
=== added directory 'mgmtsystem_audit/i18n'
=== added file 'mgmtsystem_audit/i18n/mgmtsystem_audit.pot'
--- mgmtsystem_audit/i18n/mgmtsystem_audit.pot 1970-01-01 00:00:00 +0000
+++ mgmtsystem_audit/i18n/mgmtsystem_audit.pot 2010-12-14 20:52:12 +0000
@@ -0,0 +1,248 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * mgmtsystem_audit
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-12-02 23:48:51+0000\n"
+"PO-Revision-Date: 2010-12-02 23:48:51+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
+#: 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
+#: report:mgmtsystem.audit.report:0
+msgid "."
+msgstr "."
+
+#. module: mgmtsystem_audit
+#: field:mgmtsystem.audit,date:0
+msgid "Date"
+msgstr "Date"
+
+#. 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.audit,id:0
+#: field:mgmtsystem.verification.line,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: mgmtsystem_audit
+#: model:ir.module.module,shortdesc:mgmtsystem_audit.module_meta_information
+msgid "Management System - Audit"
+msgstr "Management System - Audit"
+
+#. 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
+#: 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
+#: model:ir.module.module,description:mgmtsystem_audit.module_meta_information
+msgid "\n"
+" This module enables you to manage audits and verifications lists of \n"
+" your management system.\n"
+" "
+msgstr "\n"
+" This module enables you to manage audits and verifications lists of \n"
+" your management system.\n"
+" "
+
+#. 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:"
+
=== added file 'mgmtsystem_audit/mgmtsystem_audit.py'
--- mgmtsystem_audit/mgmtsystem_audit.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_audit/mgmtsystem_audit.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,76 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+from osv import fields, osv
+from tools.translate import _
+
+class mgmtsystem_audit(osv.osv):
+ _name = "mgmtsystem.audit"
+ _description = "Audit"
+ _columns = {
+ 'id': fields.integer('ID', readonly=True),
+ 'name': fields.char('Name', size=50),
+ 'reference': fields.char('Reference', size=64, required=True, readonly=True),
+ 'date': fields.date('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 = {
+ 'id': fields.integer('ID', readonly=True),
+ 'name': fields.char('Question',size=300, required=True),
+ 'audit_id': fields.many2one('mgmtsystem.audit', 'Audit', ondelete='cascade', select=True),
+ 'is_conformed': fields.boolean('Is conformed'),
+ 'comments': fields.text('Comments'),
+ }
+
+ _defaults = {
+ 'is_conformed': False
+ }
+
+mgmtsystem_verification_line()
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'mgmtsystem_audit/mgmtsystem_audit.xml'
--- mgmtsystem_audit/mgmtsystem_audit.xml 1970-01-01 00:00:00 +0000
+++ mgmtsystem_audit/mgmtsystem_audit.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,160 @@
+<openerp>
+ <data>
+
+ <!-- Verification Lines -->
+
+ <record id="view_mgmtsystem_verification_line_tree" model="ir.ui.view">
+ <field name="name">mgmtsystem.verification.line.tree</field>
+ <field name="model">mgmtsystem.verification.line</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Verification Lines">
+ <field name="name"/>
+ <field name="is_conformed"/>
+ <field name="comments"/>
+ </tree>
+ </field>
+ </record>
+
+ <record id="view_mgmtsystem_verification_line_filter" model="ir.ui.view">
+ <field name="name">mgmtsystem.verification.line.filter</field>
+ <field name="model">mgmtsystem.verification.line</field>
+ <field name="type">search</field>
+ <field name="arch" type="xml">
+ <search string="Verification Lines">
+ <group>
+ <field name="name"/>
+ <field name="is_conformed"/>
+ <field name="comments"/>
+ </group>
+ </search>
+ </field>
+ </record>
+
+ <record id="view_mgmtsystem_verification_line_form" model="ir.ui.view">
+ <field name="name">mgmtsystem.verification.line.form</field>
+ <field name="type">form</field>
+ <field name="model">mgmtsystem.verification.line</field>
+ <field name="arch" type="xml">
+ <form string="Verification Line">
+ <group colspan="4" col="4">
+ <field name="name"/>
+ <field name="is_conformed"/>
+ <newline/>
+ <field name="comments"/>
+ </group>
+ </form>
+ </field>
+ </record>
+
+ <record id="open_mgmtsystem_verification_line_list" model="ir.actions.act_window">
+ <field name="name">Verification Lines</field>
+ <field name="res_model">mgmtsystem.verification.line</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree,form</field>
+ </record>
+
+ <!-- Audits -->
+
+ <record id="view_mgmtsystem_audit_tree" model="ir.ui.view">
+ <field name="name">mgmtsystem.audit.tree</field>
+ <field name="model">mgmtsystem.audit</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Audits">
+ <field name="name" attrs="{'readonly':[('state','=','c')]}"/>
+ <field name="date" attrs="{'readonly':[('state','=','c')]}"/>
+ <field name="reference"/>
+ </tree>
+ </field>
+ </record>
+
+ <record id="view_mgmtsystem_audit_filter" model="ir.ui.view">
+ <field name="name">mgmtsystem.audit.filter</field>
+ <field name="model">mgmtsystem.audit</field>
+ <field name="type">search</field>
+ <field name="arch" type="xml">
+ <search string="Audits">
+ <group>
+ <filter icon="terp-document-new" domain="[('state','=','o')]" string="Open" help="Open Audits"/>
+ <filter icon="terp-camera_test" domain="[('state','=','c')]" string="Closed" help="Closed Audits"/>
+ <separator orientation="vertical"/>
+ <field name="name"/>
+ <field name="date"/>
+ <field name="reference"/>
+ </group>
+ </search>
+ </field>
+ </record>
+
+ <record id="view_mgmtsystem_audit_form" model="ir.ui.view">
+ <field name="name">mgmtsystem.audit.form</field>
+ <field name="type">form</field>
+ <field name="model">mgmtsystem.audit</field>
+ <field name="arch" type="xml">
+ <form string="Audit">
+ <group col="6" colspan="6">
+ <field name="name" attrs="{'readonly':[('state','=','c')]}"/>
+ <field name="reference"/>
+ <field name="date" attrs="{'readonly':[('state','=','c')]}"/>
+ </group>
+ <notebook colspan="4">
+ <page string="Auditors">
+ <field name="auditor_user_ids" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
+ </page>
+ <page string="Auditees">
+ <field name="auditee_user_ids" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
+ </page>
+ <page string="Verification List">
+ <field name="line_ids" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
+ </page>
+ <page string="Strong Points">
+ <field name="strong_points" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
+ </page>
+ <page string="To Improve Points">
+ <field name="to_improve_points" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
+ </page>
+ <page string="Improvement Opportunities">
+ <field name="imp_opp_ids" domain="[('type_action','=','improvement')]" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
+ </page>
+ <page string="Nonconformities">
+ <field name="nonconformity_ids" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
+ </page>
+ </notebook>
+ <group colspan="4">
+ <field name="state" select="1" readonly="1"/>
+ <button name="button_close" string="Close" states="o" type="object" icon="gtk-jump-to"/>
+ </group>
+ </form>
+ </field>
+ </record>
+
+ <record id="view_audit_calendar" model="ir.ui.view">
+ <field name="name">mgmtsystem.audit.calendar</field>
+ <field name="model">mgmtsystem.audit</field>
+ <field name="type">calendar</field>
+ <field eval="2" name="priority"/>
+ <field name="arch" type="xml">
+ <calendar color="name" date_start="date" string="Audits">
+ <field name="name"/>
+ <field name="auditor_user_ids"/>
+ </calendar>
+ </field>
+ </record>
+
+ <record id="open_mgmtsystem_audit_list" model="ir.actions.act_window">
+ <field name="name">Audits</field>
+ <field name="res_model">mgmtsystem.audit</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree,form,calendar</field>
+ <field name="search_view_id" ref="view_mgmtsystem_audit_filter"/>
+ </record>
+
+ <menuitem id="menu_open_audit"
+ action="open_mgmtsystem_audit_list"
+ parent="mgmtsystem.menu_mgmtsystem_main"
+ sequence="10"
+ groups="base.group_mgmtsystem_manager,base.group_mgmtsystem_auditor"/>
+
+ </data>
+</openerp>
=== added directory 'mgmtsystem_audit/report'
=== added file 'mgmtsystem_audit/report/__init__.py'
--- mgmtsystem_audit/report/__init__.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_audit/report/__init__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,23 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+import audit_report
+import verification_list
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'mgmtsystem_audit/report/audit_report.py'
--- mgmtsystem_audit/report/audit_report.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_audit/report/audit_report.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,39 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+import time
+from report import report_sxw
+
+class mgmtsystem_audit_report(report_sxw.rml_parse):
+ def __init__(self, cr, uid, name, context):
+ super(mgmtsystem_audit_report, self).__init__(cr, uid, name, context)
+ self.localcontext.update({
+ 'time': time,
+ })
+
+report_sxw.report_sxw(
+ 'report.mgmtsystem.audit.report',
+ 'mgmtsystem.audit',
+ 'addons/mgmtsystem_audit/report/audit_report.rml',
+ parser=mgmtsystem_audit_report
+)
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'mgmtsystem_audit/report/audit_report.rml'
--- mgmtsystem_audit/report/audit_report.rml 1970-01-01 00:00:00 +0000
+++ mgmtsystem_audit/report/audit_report.rml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,87 @@
+<?xml version="1.0"?>
+<document filename="Audit Report.pdf">
+ <template pageSize="(595.0,842.0)" title="Audit Report" author="Savoir-faire Linux" allowSplitting="20">
+ <pageTemplate id="first">
+ <frame id="first" x1="15.0" y1="42.0" width="539" height="758"/>
+ </pageTemplate>
+ </template>
+ <stylesheet>
+ <blockTableStyle id="Standard_Outline">
+ <blockAlignment value="LEFT"/>
+ <blockValign value="TOP"/>
+ </blockTableStyle>
+ <initialize>
+ <paraStyle name="all" alignment="justify"/>
+ </initialize>
+ <paraStyle name="Standard" fontName="Helvetica"/>
+ <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
+ <paraStyle name="Heading" fontName="Helvetica" fontSize="8.0" leading="10" spaceBefore="12.0" spaceAfter="6.0"/>
+ <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
+ <paraStyle name="Table Contents" fontName="Helvetica"/>
+ <paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER"/>
+ <paraStyle name="Caption" fontName="Helvetica" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
+ <paraStyle name="Index" fontName="Helvetica"/>
+ <paraStyle name="terp_header" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_default_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_Bold_8" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_Bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_tblheader_General" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_tblheader_General_Centre" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_tblheader_Details" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
+ <paraStyle name="Footer" fontName="Helvetica"/>
+ <paraStyle name="Horizontal Line" fontName="Helvetica" fontSize="6.0" leading="8" spaceBefore="0.0" spaceAfter="14.0"/>
+ <paraStyle name="Heading 9" fontName="Helvetica-Bold" fontSize="75%" leading="NaN" spaceBefore="12.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_tblheader_General_Right" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_tblheader_Details_Centre" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_tblheader_Details_Right" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_Centre_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_Right_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_1" fontName="Helvetica" fontSize="2.0" leading="3" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_Right_9_Bold" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_Italic" rightIndent="0.0" leftIndent="20.0" fontName="Helvetica-Oblique" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="Preformatted Text" fontName="Helvetica" fontSize="10.0" leading="13" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_Centre_9_Bold" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
+ <images/>
+ </stylesheet>
+ <story>
+ <pto>
+ <para style="terp_default_8">[[repeatIn(objects,'o')]]</para>
+ <para style="terp_default_8">
+ <font color="white"> </font>
+ </para>
+ <para style="terp_header_Centre">Audit Report</para>
+ <para style="terp_header_Centre">[[ o.name ]]</para>
+ <para style="terp_default_8">
+ <font color="white"> </font>
+ </para>
+ <para>Confidentiality: Internal</para>
+ <para>Reference: [[ o.reference ]]</para>
+ <para>Date: [[ o.date ]]</para>
+ <para>Auditors:</para>
+ <section>
+ <para>[[repeatIn(o.auditor_user_ids,'auditor')]]</para>
+ <para>- [[ auditor.name ]] </para>
+ </section>
+ <para style="terp_header">Strong points</para>
+ <para>[[ o.strong_points ]]</para>
+ <para style="terp_header">Points To Improve</para>
+ <para>[[ o.to_improve_points ]]</para>
+ <para style="terp_header">Improvement opportunities</para>
+ <section>
+ <para>[[ repeatIn(o.imp_opp_ids,'improvement') ]]</para>
+ <para leftIndent="15" bulletIndent="20"><bullet size="20">.</bullet>[[ improvement.name ]]</para>
+ </section>
+ <para style="terp_header">Nonconformities</para>
+ <section>
+ <para>[[ repeatIn(o.nonconformity_ids,'nonconformity') ]]</para>
+ <para leftIndent="15" bulletIndent="20"><bullet size="20">.</bullet>[[ nonconformity.description ]]</para>
+ </section>
+ </pto>
+ </story>
+</document>
=== added file 'mgmtsystem_audit/report/audit_report.xml'
--- mgmtsystem_audit/report/audit_report.xml 1970-01-01 00:00:00 +0000
+++ mgmtsystem_audit/report/audit_report.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<openerp>
+ <data>
+
+ <report id="mgmtsystem_audit_report"
+ string="Print Report"
+ model="mgmtsystem.audit"
+ name="mgmtsystem.audit.report"
+ rml="mgmtsystem_audit/report/audit_report.rml"
+ auto="False"
+ menu="True"/>
+
+ </data>
+</openerp>
=== added file 'mgmtsystem_audit/report/verification_list.py'
--- mgmtsystem_audit/report/verification_list.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_audit/report/verification_list.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,39 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+import time
+from report import report_sxw
+
+class mgmtsystem_audit_verification_list(report_sxw.rml_parse):
+ def __init__(self, cr, uid, name, context):
+ super(mgmtsystem_audit_verification_list, self).__init__(cr, uid, name, context)
+ self.localcontext.update({
+ 'time': time,
+ })
+
+report_sxw.report_sxw(
+ 'report.mgmtsystem.audit.verificationlist',
+ 'mgmtsystem.audit',
+ 'addons/mgmtsystem_audit/report/verification_list.rml',
+ parser=mgmtsystem_audit_verification_list
+)
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'mgmtsystem_audit/report/verification_list.rml'
--- mgmtsystem_audit/report/verification_list.rml 1970-01-01 00:00:00 +0000
+++ mgmtsystem_audit/report/verification_list.rml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,135 @@
+<?xml version="1.0"?>
+<document filename="Verification List.pdf">
+ <template pageSize="(595.0,842.0)" title="Verification List" author="Savoir-faire Linux" allowSplitting="20">
+ <pageTemplate id="first">
+ <frame id="first" x1="15.0" y1="42.0" width="539" height="758"/>
+ </pageTemplate>
+ </template>
+ <stylesheet>
+ <blockTableStyle id="Standard_Outline">
+ <blockAlignment value="LEFT"/>
+ <blockValign value="TOP"/>
+ </blockTableStyle>
+ <blockTableStyle id="Table1">
+ <blockAlignment value="LEFT"/>
+ <blockValign value="TOP"/>
+ <lineStyle kind="GRID" colorName="#e6e6e6"/>
+ </blockTableStyle>
+ <initialize>
+ <paraStyle name="all" alignment="justify"/>
+ </initialize>
+ <paraStyle name="Standard" fontName="Helvetica"/>
+ <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
+ <paraStyle name="Heading" fontName="Helvetica" fontSize="8.0" leading="10" spaceBefore="12.0" spaceAfter="6.0"/>
+ <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
+ <paraStyle name="Table Contents" fontName="Helvetica"/>
+ <paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER"/>
+ <paraStyle name="Caption" fontName="Helvetica" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
+ <paraStyle name="Index" fontName="Helvetica"/>
+ <paraStyle name="terp_header" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_default_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_Bold_8" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_Bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_tblheader_General" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_tblheader_General_Centre" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_tblheader_Details" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
+ <paraStyle name="Footer" fontName="Helvetica"/>
+ <paraStyle name="Horizontal Line" fontName="Helvetica" fontSize="6.0" leading="8" spaceBefore="0.0" spaceAfter="14.0"/>
+ <paraStyle name="Heading 9" fontName="Helvetica-Bold" fontSize="75%" leading="NaN" spaceBefore="12.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_tblheader_General_Right" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_tblheader_Details_Centre" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_tblheader_Details_Right" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
+ <paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_Centre_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_Right_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_1" fontName="Helvetica" fontSize="2.0" leading="3" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_Right_9_Bold" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_Italic" rightIndent="0.0" leftIndent="20.0" fontName="Helvetica-Oblique" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="Preformatted Text" fontName="Helvetica" fontSize="10.0" leading="13" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="terp_default_Centre_9_Bold" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
+ <images/>
+ </stylesheet>
+ <story>
+ <pto>
+ <pto_header>
+ <blockTable colWidths="11cm,2cm,5cm" repeatRows="1" style="Table1">
+ <tr>
+ <td>
+ <para style="terp_tblheader_General_Centre">Question</para>
+ </td>
+ <td>
+ <para style="terp_tblheader_General_Centre">Conformed?</para>
+ </td>
+ <td>
+ <para style="terp_tblheader_General_Centre">Comments</para>
+ </td>
+ </tr>
+ </blockTable>
+ </pto_header>
+ <para style="terp_default_8">[[repeatIn(objects,'o')]]</para>
+ <para style="terp_default_8">
+ <font color="white"> </font>
+ </para>
+ <para style="terp_header_Centre">Verification List</para>
+ <para style="terp_header_Centre">[[ o.name ]]</para>
+ <para style="terp_default_8">
+ <font color="white"> </font>
+ </para>
+ <para>Confidentiality: Internal</para>
+ <para>Reference: [[ o.reference ]]</para>
+ <para>Date: [[ o.date ]]</para>
+ <blockTable>
+ <tr>
+ <td>
+ <para>Auditors:</para>
+ <section>
+ <para>[[repeatIn(o.auditor_user_ids,'auditor')]]</para>
+ <para>- [[ auditor.name ]] </para>
+ </section>
+ </td>
+ <td>
+ <para>Auditees:</para>
+ <section>
+ <para>[[repeatIn(o.auditee_user_ids,'auditee')]]</para>
+ <para>- [[ auditee.name ]] </para>
+ </section>
+ </td>
+ </tr>
+ </blockTable>
+ <blockTable colWidths="11cm,2cm,5cm" repeatRows="1" style="Table1">
+ <tr>
+ <td>
+ <para style="terp_tblheader_General_Centre">Question</para>
+ </td>
+ <td>
+ <para style="terp_tblheader_General_Centre">Conformed?</para>
+ </td>
+ <td>
+ <para style="terp_tblheader_General_Centre">Comments</para>
+ </td>
+ </tr>
+ </blockTable>
+ <section>
+ <blockTable colWidths="11cm,2cm,5cm" repeatRows="1" style="Table1">
+ <para>[[ repeatIn(o.line_ids,'line') ]]</para>
+ <tr>
+ <td>
+ <para>[[ line.name ]]</para>
+ </td>
+ <td>
+ <para style="terp_default_Centre_9">Yes / No</para>
+ </td>
+ <td>
+ <para></para>
+ </td>
+ </tr>
+ </blockTable>
+ </section>
+ </pto>
+ </story>
+</document>
=== added file 'mgmtsystem_audit/report/verification_list.xml'
--- mgmtsystem_audit/report/verification_list.xml 1970-01-01 00:00:00 +0000
+++ mgmtsystem_audit/report/verification_list.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<openerp>
+ <data>
+
+ <report id="mgmtsystem_audit_verification_list"
+ string="Print Verification List"
+ model="mgmtsystem.audit"
+ name="mgmtsystem.audit.verificationlist"
+ rml="mgmtsystem_audit/report/verification_list.rml"
+ auto="False"
+ menu="True"/>
+
+ </data>
+</openerp>
=== added directory 'mgmtsystem_environment'
=== added file 'mgmtsystem_environment/__init__.py'
--- mgmtsystem_environment/__init__.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_environment/__init__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,21 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'mgmtsystem_environment/__openerp__.py'
--- mgmtsystem_environment/__openerp__.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_environment/__openerp__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,44 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+{
+ "name" : "Environment Management System",
+ "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 your environment management system, including :
+ * Environment Manual
+ * Audits
+ * Procedures
+ * Nonconformities
+ * Actions
+ """,
+ "depends" : ['mgmtsystem_audit','wiki_environment_manual'],
+ "init_xml" : [],
+ "update_xml" : [],
+ "demo_xml" : [],
+ "installable" : True,
+ "certificate" : ''
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added directory 'mgmtsystem_nonconformity'
=== added file 'mgmtsystem_nonconformity/__init__.py'
--- mgmtsystem_nonconformity/__init__.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_nonconformity/__init__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,22 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+import mgmtsystem_nonconformity
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'mgmtsystem_nonconformity/__openerp__.py'
--- mgmtsystem_nonconformity/__openerp__.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_nonconformity/__openerp__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,48 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+{
+ "name" : "Management System - Nonconformity",
+ "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 the nonconformities of your management
+ system : quality (ISO9001), environment (ISO14001) or security (ISO27001).
+ """,
+ "depends" : [
+ 'mgmtsystem_action',
+ 'wiki_procedure',
+ ],
+ "init_xml" : [],
+ "update_xml" : [
+ 'mgmtsystem_nonconformity.xml',
+ 'board_mgmtsystem_nonconformity.xml',
+ ],
+ "demo_xml" : [
+ 'demo_nonconformity.xml',
+ ],
+ "installable" : True,
+ "certificate" : ''
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'mgmtsystem_nonconformity/board_mgmtsystem_nonconformity.xml'
--- mgmtsystem_nonconformity/board_mgmtsystem_nonconformity.xml 1970-01-01 00:00:00 +0000
+++ mgmtsystem_nonconformity/board_mgmtsystem_nonconformity.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+ <data>
+
+ <record id="action_mgmtsystem_nonconformity" model="ir.actions.act_window">
+ <field name="res_model">mgmtsystem.nonconformity</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree</field>
+ <field name="view_id" ref="view_mgmtsystem_nonconformity_tree"/>
+ <field name="domain">[('state','=','o')]</field>
+ </record>
+
+ <record id="board_mgmtsystem_nonconformity_form" model="ir.ui.view">
+ <field name="name">board.mgmtsystem.nonconformity.form</field>
+ <field name="model">board.board</field>
+ <field name="inherit_id" ref="mgmtsystem.board_mgmtsystem_form"/>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <xpath expr="/form/hpaned/child1" position="inside">
+ <action name="%(action_mgmtsystem_nonconformity)d" string="Open Nonconformities"/>
+ </xpath>
+ </field>
+ </record>
+
+ </data>
+</openerp>
=== added file 'mgmtsystem_nonconformity/demo_nonconformity.xml'
--- mgmtsystem_nonconformity/demo_nonconformity.xml 1970-01-01 00:00:00 +0000
+++ mgmtsystem_nonconformity/demo_nonconformity.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+ <data noupdate="1">
+
+ <!-- demo data mgmtsystem.nonconformity.origin -->
+ <record id="demo_origin" model="mgmtsystem.nonconformity.origin">
+ <field name="name">Internal Audit</field>
+ <field name="description">The nonconformity was discovered during an internal audit.</field>
+ </record>
+
+ <!-- demo data mgmtsystem.nonconformity.cause -->
+ <record id="demo_cause" model="mgmtsystem.nonconformity.cause">
+ <field name="name">Lack of expertise</field>
+ <field name="description">The cause of the nonconformity is a lack of expertise of the person.</field>
+ </record>
+
+ <!-- demo data mgmtsystem.nonconformity -->
+ <record id="demo_nonconformity" model="mgmtsystem.nonconformity">
+ <field name="partner_id" ref="base.res_partner_3"/>
+ <field name="date">2010-12-03</field>
+ <field name="responsible_user_id" ref="base.user_demo"/>
+ <field name="manager_user_id" ref="base.user_root"/>
+ <field name="author_user_id" ref="base.user_demo"/>
+ <field name="description">The procedure has changed with no comments on the revision.</field>
+ <field name="analysis">Administrator didn't know he had to add a comment when changing the procedure.</field>
+ <field name="origin_ids" eval="[(6,0,[ref('demo_origin')])]"/>
+ <field name="procedure_ids" eval="[(6,0,[ref('wiki_procedure.wiki_procedure')])]"/>
+ <field name="cause_ids" eval="[(6,0,[ref('demo_cause')])]"/>
+ <field name="immediate_action_id" ref="mgmtsystem_action.demo_immediate"/>
+ <field name="corrective_action_id" ref="mgmtsystem_action.demo_corrective"/>
+ <field name="preventive_action_id" ref="mgmtsystem_action.demo_preventive"/>
+ </record>
+
+ </data>
+</openerp>
=== added directory 'mgmtsystem_nonconformity/i18n'
=== added file 'mgmtsystem_nonconformity/i18n/mgmtsystem_nonconformity.pot'
--- mgmtsystem_nonconformity/i18n/mgmtsystem_nonconformity.pot 1970-01-01 00:00:00 +0000
+++ mgmtsystem_nonconformity/i18n/mgmtsystem_nonconformity.pot 2010-12-14 20:52:12 +0000
@@ -0,0 +1,226 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * mgmtsystem_nonconformity
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-12-02 23:49:52+0000\n"
+"PO-Revision-Date: 2010-12-02 23:49:52+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_nonconformity
+#: model:ir.module.module,description:mgmtsystem_nonconformity.module_meta_information
+msgid "\n"
+" This module enables you to manage the nonconformities of your management \n"
+" system : quality (ISO9001), environment (ISO14001) or security (ISO27001). \n"
+" "
+msgstr "\n"
+" This module enables you to manage the nonconformities of your management \n"
+" system : quality (ISO9001), environment (ISO14001) or security (ISO27001). \n"
+" "
+
+#. module: mgmtsystem_nonconformity
+#: view:mgmtsystem.nonconformity:0
+msgid "Author"
+msgstr "Author"
+
+#. module: mgmtsystem_nonconformity
+#: field:mgmtsystem.nonconformity,responsible_user_id:0
+msgid "Responsible"
+msgstr "Responsible"
+
+#. module: mgmtsystem_nonconformity
+#: model:ir.actions.act_window,name:mgmtsystem_nonconformity.open_mgmtsystem_nonconformity_list
+#: model:ir.ui.menu,name:mgmtsystem_nonconformity.menu_mgmtsystem_configuration_nonconformities
+#: model:ir.ui.menu,name:mgmtsystem_nonconformity.menu_open_nonconformity
+msgid "Nonconformities"
+msgstr "Nonconformities"
+
+#. module: mgmtsystem_nonconformity
+#: model:ir.model,name:mgmtsystem_nonconformity.model_mgmtsystem_nonconformity_origin
+msgid "Origin of nonconformity of the management system"
+msgstr "Origin of nonconformity of the management system"
+
+#. module: mgmtsystem_nonconformity
+#: view:mgmtsystem.nonconformity:0
+msgid "Group By..."
+msgstr "Group By..."
+
+#. module: mgmtsystem_nonconformity
+#: field:mgmtsystem.nonconformity,state:0
+msgid "State"
+msgstr "State"
+
+#. module: mgmtsystem_nonconformity
+#: model:ir.model,name:mgmtsystem_nonconformity.model_mgmtsystem_nonconformity_procedure
+msgid "Procedure involved in the nonconformity of the management system"
+msgstr "Procedure involved in the nonconformity of the management system"
+
+#. module: mgmtsystem_nonconformity
+#: view:mgmtsystem.nonconformity:0
+#: selection:mgmtsystem.nonconformity,state:0
+msgid "Closed"
+msgstr "Closed"
+
+#. module: mgmtsystem_nonconformity
+#: field:mgmtsystem.nonconformity,cause_ids:0
+#: field:mgmtsystem.nonconformity.cause,name:0
+msgid "Cause"
+msgstr "Cause"
+
+#. module: mgmtsystem_nonconformity
+#: view:board.board:0
+msgid "Open Nonconformities"
+msgstr "Open Nonconformities"
+
+#. module: mgmtsystem_nonconformity
+#: field:mgmtsystem.nonconformity,description:0
+#: field:mgmtsystem.nonconformity.cause,description:0
+#: field:mgmtsystem.nonconformity.origin,description:0
+#: field:mgmtsystem.nonconformity.procedure,description:0
+msgid "Description"
+msgstr "Description"
+
+#. module: mgmtsystem_nonconformity
+#: field:mgmtsystem.nonconformity,immediate_action_id:0
+msgid "Immediate action"
+msgstr "Immediate action"
+
+#. module: mgmtsystem_nonconformity
+#: model:ir.module.module,shortdesc:mgmtsystem_nonconformity.module_meta_information
+msgid "Management System - Nonconformity"
+msgstr "Management System - Nonconformity"
+
+#. module: mgmtsystem_nonconformity
+#: field:mgmtsystem.nonconformity,date:0
+msgid "Date"
+msgstr "Date"
+
+#. module: mgmtsystem_nonconformity
+#: view:mgmtsystem.nonconformity:0
+msgid "Nonconformity"
+msgstr "Nonconformity"
+
+#. module: mgmtsystem_nonconformity
+#: field:mgmtsystem.nonconformity,corrective_action_id:0
+msgid "Corrective action"
+msgstr "Corrective action"
+
+#. module: mgmtsystem_nonconformity
+#: model:ir.actions.act_window,name:mgmtsystem_nonconformity.open_mgmtsystem_nonconformity_procedure_list
+#: model:ir.ui.menu,name:mgmtsystem_nonconformity.menu_open_nonconformity_procedure
+#: view:mgmtsystem.nonconformity:0
+#: view:mgmtsystem.nonconformity.procedure:0
+msgid "Procedures"
+msgstr "Procedures"
+
+#. module: mgmtsystem_nonconformity
+#: field:mgmtsystem.nonconformity,preventive_action_id:0
+msgid "Preventive action"
+msgstr "Preventive action"
+
+#. module: mgmtsystem_nonconformity
+#: field:mgmtsystem.nonconformity,partner_id:0
+msgid "Customer"
+msgstr "Customer"
+
+#. module: mgmtsystem_nonconformity
+#: field:mgmtsystem.nonconformity,origin_ids:0
+#: field:mgmtsystem.nonconformity.origin,name:0
+msgid "Origin"
+msgstr "Origin"
+
+#. module: mgmtsystem_nonconformity
+#: model:ir.actions.act_window,name:mgmtsystem_nonconformity.open_mgmtsystem_nonconformity_origin_list
+#: model:ir.ui.menu,name:mgmtsystem_nonconformity.menu_open_nonconformity_origin
+#: view:mgmtsystem.nonconformity:0
+#: view:mgmtsystem.nonconformity.origin:0
+msgid "Origins"
+msgstr "Origins"
+
+#. module: mgmtsystem_nonconformity
+#: view:mgmtsystem.nonconformity.origin:0
+msgid "Origins of nonconformity"
+msgstr "Origins of nonconformity"
+
+#. module: mgmtsystem_nonconformity
+#: field:mgmtsystem.nonconformity,analysis:0
+msgid "Analysis"
+msgstr "Analysis"
+
+#. module: mgmtsystem_nonconformity
+#: view:mgmtsystem.nonconformity.procedure:0
+msgid "Procedures of nonconformity"
+msgstr "Procedures of nonconformity"
+
+#. module: mgmtsystem_nonconformity
+#: view:mgmtsystem.nonconformity.cause:0
+msgid "Causes of nonconformity"
+msgstr "Causes of nonconformity"
+
+#. module: mgmtsystem_nonconformity
+#: field:mgmtsystem.nonconformity,id:0
+#: field:mgmtsystem.nonconformity.cause,id:0
+#: field:mgmtsystem.nonconformity.origin,id:0
+#: field:mgmtsystem.nonconformity.procedure,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: mgmtsystem_nonconformity
+#: view:mgmtsystem.nonconformity:0
+#: field:mgmtsystem.nonconformity,procedure_ids:0
+#: field:mgmtsystem.nonconformity.procedure,name:0
+msgid "Procedure"
+msgstr "Procedure"
+
+#. module: mgmtsystem_nonconformity
+#: field:mgmtsystem.nonconformity,author_user_id:0
+msgid "Filled in by"
+msgstr "Filled in by"
+
+#. module: mgmtsystem_nonconformity
+#: field:mgmtsystem.nonconformity,reference:0
+msgid "Reference"
+msgstr "Reference"
+
+#. module: mgmtsystem_nonconformity
+#: model:ir.model,name:mgmtsystem_nonconformity.model_mgmtsystem_nonconformity
+msgid "Nonconformity of the management system"
+msgstr "Nonconformity of the management system"
+
+#. module: mgmtsystem_nonconformity
+#: model:ir.model,name:mgmtsystem_nonconformity.model_mgmtsystem_nonconformity_cause
+msgid "Cause of the nonconformity of the management system"
+msgstr "Cause of the nonconformity of the management system"
+
+#. module: mgmtsystem_nonconformity
+#: field:mgmtsystem.nonconformity,manager_user_id:0
+msgid "Manager"
+msgstr "Manager"
+
+#. module: mgmtsystem_nonconformity
+#: view:mgmtsystem.nonconformity:0
+msgid "Close"
+msgstr "Close"
+
+#. module: mgmtsystem_nonconformity
+#: view:mgmtsystem.nonconformity:0
+#: selection:mgmtsystem.nonconformity,state:0
+msgid "Open"
+msgstr "Open"
+
+#. module: mgmtsystem_nonconformity
+#: model:ir.actions.act_window,name:mgmtsystem_nonconformity.open_mgmtsystem_nonconformity_cause_list
+#: model:ir.ui.menu,name:mgmtsystem_nonconformity.menu_open_nonconformity_cause
+#: view:mgmtsystem.nonconformity:0
+#: view:mgmtsystem.nonconformity.cause:0
+msgid "Causes"
+msgstr "Causes"
+
=== added file 'mgmtsystem_nonconformity/mgmtsystem_nonconformity.py'
--- mgmtsystem_nonconformity/mgmtsystem_nonconformity.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_nonconformity/mgmtsystem_nonconformity.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,91 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+from osv import fields, osv
+import time
+
+class mgmtsystem_nonconformity_cause(osv.osv):
+ """
+ Cause of the nonconformity of the management system
+ """
+ _name = "mgmtsystem.nonconformity.cause"
+ _description = "Cause of the nonconformity of the management system"
+ _columns = {
+ 'id': fields.integer('ID', readonly=True),
+ 'name': fields.char('Cause', size=50, required=True),
+ 'description': fields.text('Description')
+ }
+
+mgmtsystem_nonconformity_cause()
+
+class mgmtsystem_nonconformity_origin(osv.osv):
+ """
+ Origin of nonconformity of the management system
+ """
+ _name = "mgmtsystem.nonconformity.origin"
+ _description = "Origin of nonconformity of the management system"
+ _columns = {
+ 'id': fields.integer('ID', readonly=True),
+ 'name': fields.char('Origin', size=50, required=True),
+ 'description': fields.text('Description')
+ }
+
+mgmtsystem_nonconformity_origin()
+
+class mgmtsystem_nonconformity(osv.osv):
+ """
+ Management System - Nonconformity
+ """
+ _name = "mgmtsystem.nonconformity"
+ _description = "Nonconformity of the management system"
+ _rec_name = "description"
+ _order = "date desc"
+
+ _columns = {
+ 'id': fields.integer('ID', readonly=True),
+ 'date': fields.date('Date', required=True),
+ 'partner_id': fields.many2one('res.partner', 'Partner', required=True),
+ 'reference': fields.char('Reference', size=50),
+ 'responsible_user_id': fields.many2one('res.users','Responsible', required=True),
+ 'manager_user_id': fields.many2one('res.users','Manager', required=True),
+ 'author_user_id': fields.many2one('res.users','Filled in by', required=True),
+ 'origin_ids': fields.many2many('mgmtsystem.nonconformity.origin','mgmtsystem_nonconformity_origin_rel', 'nonconformity_id', 'origin_id', 'Origin', required=True),
+ 'procedure_ids': fields.many2many('wiki.wiki','mgmtsystem_nonconformity_procedure_rel', 'nonconformity_id', 'procedure_id', 'Procedure'),
+ 'description': fields.text('Description', required=True),
+ 'cause_ids': fields.many2many('mgmtsystem.nonconformity.cause','mgmtsystem_nonconformity_cause_rel', 'nonconformity_id', 'cause_id', 'Cause'),
+ 'analysis': fields.text('Analysis'),
+ 'immediate_action_id': fields.many2one('mgmtsystem.action', 'Immediate action'),
+ 'corrective_action_id': fields.many2one('mgmtsystem.action', 'Corrective action'),
+ 'preventive_action_id': fields.many2one('mgmtsystem.action', 'Preventive action'),
+ 'state': fields.selection((('o','Open'),('c','Closed')), 'State', size=16, readonly=True),
+ }
+ _defaults = {
+ 'date': lambda *a: time.strftime('%Y-%m-%d'),
+ 'state': 'o',
+ 'author_user_id': lambda cr, uid, id, c={}: id,
+ }
+
+ def button_close(self, cr, uid, ids, context=None):
+ return self.write(cr, uid, ids, {'state': 'c'})
+
+mgmtsystem_nonconformity()
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'mgmtsystem_nonconformity/mgmtsystem_nonconformity.xml'
--- mgmtsystem_nonconformity/mgmtsystem_nonconformity.xml 1970-01-01 00:00:00 +0000
+++ mgmtsystem_nonconformity/mgmtsystem_nonconformity.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,222 @@
+<openerp>
+ <data>
+
+ <menuitem id="menu_mgmtsystem_configuration_nonconformities"
+ name="Nonconformities"
+ parent="mgmtsystem.menu_mgmtsystem_configuration"
+ groups="base.group_mgmtsystem_manager"
+ sequence="10"/>
+
+ <record id="view_mgmtsystem_nonconformity_tree" model="ir.ui.view">
+ <field name="name">mgmtsystem.nonconformity.tree</field>
+ <field name="model">mgmtsystem.nonconformity</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Nonconformity">
+ <field name="date" attrs="{'readonly':[('state','=','c')]}"/>
+ <field name="partner_id" attrs="{'readonly':[('state','=','c')]}"/>
+ <field name="description" attrs="{'readonly':[('state','=','c')]}"/>
+ <field name="responsible_user_id" attrs="{'readonly':[('state','=','c')]}"/>
+ <field name="author_user_id" attrs="{'readonly':[('state','=','c')]}"/>
+ </tree>
+ </field>
+ </record>
+
+ <record id="view_mgmtsystem_nonconformity_filter" model="ir.ui.view">
+ <field name="name">mgmtsystem.nonconformity.filter</field>
+ <field name="model">mgmtsystem.nonconformity</field>
+ <field name="type">search</field>
+ <field name="arch" type="xml">
+ <search string="Nonconformity">
+ <group>
+ <filter icon="terp-document-new" domain="[('state','=','o')]" string="Open" help="Open Nonconformities"/>
+ <filter icon="terp-camera_test" domain="[('state','=','c')]" string="Closed" help="Closed Nonconformities"/>
+ <separator orientation="vertical"/>
+ <field name="date" select='1'/>
+ </group>
+ <newline />
+ <group expand="0" string="Group By...">
+ <filter string="Author" icon="terp-personal" domain="[]" context="{'group_by':'author_user_id'}"/>
+ <separator orientation="vertical"/>
+ <filter string="Procedure" icon="terp-personal+" domain="[]" context="{'group_by':'procedure_ids'}"/>
+ </group>
+ </search>
+ </field>
+ </record>
+
+ <record id="view_mgmtsystem_nonconformity_form" model="ir.ui.view">
+ <field name="name">mgmtsystem.nonconformity.form</field>
+ <field name="type">form</field>
+ <field name="model">mgmtsystem.nonconformity</field>
+ <field name="arch" type="xml">
+ <form string="Nonconformity">
+ <group colspan="2" col="2">
+ <field name="date" attrs="{'readonly':[('state','=','c')]}"/>
+ <field name="partner_id" attrs="{'readonly':[('state','=','c')]}"/>
+ <field name="reference" attrs="{'readonly':[('state','=','c')]}"/>
+ </group>
+ <group colspan="2" col="2">
+ <field name="responsible_user_id" attrs="{'readonly':[('state','=','c')]}"/>
+ <field name="manager_user_id" attrs="{'readonly':[('state','=','c')]}"/>
+ <field name="author_user_id" attrs="{'readonly':[('state','=','c')]}"/>
+ </group>
+ <notebook colspan="4">
+ <page string="Origins">
+ <field name="origin_ids" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
+ </page>
+ <page string="Procedures">
+ <field name="procedure_ids" nolabel="1" attrs="{'readonly':[('state','=','c')]}" domain="[('group_id','=','Procedure')]"/>
+ </page>
+ <page string="Description">
+ <field name="description" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
+ </page>
+ <page string="Causes">
+ <field name="cause_ids" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
+ </page>
+ <page string="Analysis">
+ <field name="analysis" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
+ </page>
+ <page string="Actions">
+ <group colspan="4">
+ <field name="immediate_action_id" domain="[('type_action','=','immediate')]" attrs="{'readonly':[('state','=','c')]}"/>
+ <newline/>
+ <field name="corrective_action_id" domain="[('type_action','=','correction')]" attrs="{'readonly':[('state','=','c')]}"/>
+ <newline/>
+ <field name="preventive_action_id" domain="[('type_action','=','prevention')]" attrs="{'readonly':[('state','=','c')]}"/>
+ </group>
+ </page>
+ </notebook>
+ <group colspan="4">
+ <field name="state" select="1" readonly="1"/>
+ <button name="button_close" string="Close" states="o" type="object" icon="gtk-jump-to"/>
+ </group>
+ </form>
+ </field>
+ </record>
+
+ <record model="ir.actions.act_window" id="open_mgmtsystem_nonconformity_list">
+ <field name="name">Nonconformities</field>
+ <field name="res_model">mgmtsystem.nonconformity</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree,form</field>
+ <field name="search_view_id" ref="view_mgmtsystem_nonconformity_filter"/>
+ </record>
+
+ <menuitem id="menu_open_nonconformity"
+ action="open_mgmtsystem_nonconformity_list"
+ parent="mgmtsystem.menu_mgmtsystem_main"
+ sequence="20"
+ groups="base.group_mgmtsystem_manager,base.group_mgmtsystem_auditor,base.group_user"/>
+
+ <!-- Origin -->
+
+ <record id="view_mgmtsystem_nonconformity_origin_form" model="ir.ui.view">
+ <field name="name">mgmtsystem.nonconformity.origin.form</field>
+ <field name="type">form</field>
+ <field name="model">mgmtsystem.nonconformity.origin</field>
+ <field name="arch" type="xml">
+ <form string="Origins of nonconformity">
+ <group colspan="4" col="6">
+ <field name="name"/>
+ <newline/>
+ <field name="description"/>
+ </group>
+ </form>
+ </field>
+ </record>
+
+ <record id="view_mgmtsystem_nonconformity_origin_tree" model="ir.ui.view">
+ <field name="name">mgmtsystem.nonconformity.origin.tree</field>
+ <field name="model">mgmtsystem.nonconformity.origin</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Origins">
+ <field name="name"/>
+ <field name="description"/>
+ </tree>
+ </field>
+ </record>
+
+ <record id="view_mgmtsystem_nonconformity_origin_filter" model="ir.ui.view">
+ <field name="name">Origins</field>
+ <field name="model">mgmtsystem.nonconformity.origin</field>
+ <field name="type">search</field>
+ <field name="arch" type="xml">
+ <search string="Origins">
+ <field name="name"/>
+ </search>
+ </field>
+ </record>
+
+ <record id="open_mgmtsystem_nonconformity_origin_list" model="ir.actions.act_window">
+ <field name="name">Origins</field>
+ <field name="res_model">mgmtsystem.nonconformity.origin</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree,form</field>
+ <field name="view_id" eval="False"/>
+ <field name="search_view_id" ref="view_mgmtsystem_nonconformity_origin_filter"/>
+ </record>
+
+ <menuitem id="menu_open_nonconformity_origin"
+ action="open_mgmtsystem_nonconformity_origin_list"
+ parent="menu_mgmtsystem_configuration_nonconformities"
+ sequence="20"
+ groups="base.group_mgmtsystem_manager"/>
+
+ <!-- Cause -->
+
+ <record id="view_mgmtsystem_nonconformity_cause_form" model="ir.ui.view">
+ <field name="name">mgmtsystem.nonconformity.cause.form</field>
+ <field name="type">form</field>
+ <field name="model">mgmtsystem.nonconformity.cause</field>
+ <field name="arch" type="xml">
+ <form string="Causes of nonconformity">
+ <group colspan="4" col="6">
+ <field name="name"/>
+ <newline/>
+ <field name="description"/>
+ </group>
+ </form>
+ </field>
+ </record>
+
+ <record id="view_mgmtsystem_nonconformity_cause_tree" model="ir.ui.view">
+ <field name="name">mgmtsystem.nonconformity.cause.tree</field>
+ <field name="model">mgmtsystem.nonconformity.cause</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Causes">
+ <field name="name"/>
+ <field name="description"/>
+ </tree>
+ </field>
+ </record>
+
+ <record id="view_mgmtsystem_nonconformity_cause_filter" model="ir.ui.view">
+ <field name="name">Causes</field>
+ <field name="model">mgmtsystem.nonconformity.cause</field>
+ <field name="type">search</field>
+ <field name="arch" type="xml">
+ <search string="Causes">
+ <field name="name"/>
+ </search>
+ </field>
+ </record>
+
+ <record id="open_mgmtsystem_nonconformity_cause_list" model="ir.actions.act_window">
+ <field name="name">Causes</field>
+ <field name="res_model">mgmtsystem.nonconformity.cause</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree,form</field>
+ <field name="view_id" eval="False"/>
+ <field name="search_view_id" ref="view_mgmtsystem_nonconformity_cause_filter"/>
+ </record>
+
+ <menuitem id="menu_open_nonconformity_cause"
+ action="open_mgmtsystem_nonconformity_cause_list"
+ parent="menu_mgmtsystem_configuration_nonconformities"
+ sequence="30"
+ groups="base.group_mgmtsystem_manager"/>
+
+ </data>
+</openerp>
=== added directory 'mgmtsystem_nonconformity_project'
=== added file 'mgmtsystem_nonconformity_project/__init__.py'
--- mgmtsystem_nonconformity_project/__init__.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_nonconformity_project/__init__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,22 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+import mgmtsystem_nonconformity_project
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'mgmtsystem_nonconformity_project/__openerp__.py'
--- mgmtsystem_nonconformity_project/__openerp__.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_nonconformity_project/__openerp__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,41 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+{
+ "name" : "Management System - Project",
+ "version" : "0.1",
+ "author" : "Savoir-faire Linux",
+ "website" : "http://www.savoirfairelinux.com",
+ "license" : "GPL-3",
+ "category" : "Management System",
+ "description": """
+ This module enables you to set a project as an action in the nonconformity.
+ """,
+ "depends" : ['mgmtsystem_nonconformity','project'],
+ "init_xml" : [],
+ "update_xml" : [
+ 'mgmtsystem_nonconformity_project.xml',
+ ],
+ "demo_xml" : [],
+ "installable" : True,
+ "certificate" : ''
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'mgmtsystem_nonconformity_project/mgmtsystem_nonconformity_project.py'
--- mgmtsystem_nonconformity_project/mgmtsystem_nonconformity_project.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_nonconformity_project/mgmtsystem_nonconformity_project.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,36 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+from osv import fields, osv
+from project.project import project
+
+class mgmtsystem_nonconformity_project(osv.osv):
+ _inherit = "mgmtsystem.nonconformity"
+ _columns = {
+ 'corrective_type': fields.selection((('task','Task'), ('project','Project')),'Corrective Action Type'),
+ 'corrective_project_id': fields.many2one('project.project', 'Corrective Project'),
+ 'preventive_type': fields.selection((('task','Task'), ('project','Project')),'Preventive Action Type'),
+ 'preventive_project_id': fields.many2one('project.project', 'Preventive Project'),
+ }
+
+mgmtsystem_nonconformity_project()
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'mgmtsystem_nonconformity_project/mgmtsystem_nonconformity_project.xml'
--- mgmtsystem_nonconformity_project/mgmtsystem_nonconformity_project.xml 1970-01-01 00:00:00 +0000
+++ mgmtsystem_nonconformity_project/mgmtsystem_nonconformity_project.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,33 @@
+<openerp>
+ <data>
+
+ <record id="view_mgmtsystem_nonconformity_form" model="ir.ui.view">
+ <field name="name">mgmtsystem.nonconformity.inherit</field>
+ <field name="model">mgmtsystem.nonconformity</field>
+ <field name="inherit_id" ref="mgmtsystem_nonconformity.view_mgmtsystem_nonconformity_form"/>
+ <field name="arch" type="xml">
+ <field name="corrective_action_id" position="replace">
+ <newline/>
+ <field name="corrective_type"/>
+ <group attrs="{'invisible' : [('corrective_type', '!=', 'task')]}">
+ <field name="corrective_action_id" nolabel="1"/>
+ </group>
+ <group attrs="{'invisible' : [('corrective_type', '!=', 'project')]}">
+ <field name="corrective_project_id" nolabel="1"/>
+ </group>
+ </field>
+ <field name="preventive_action_id" position="replace">
+ <newline/>
+ <field name="preventive_type"/>
+ <group attrs="{'invisible' : [('preventive_type', '!=', 'task')]}">
+ <field name="preventive_action_id" nolabel="1"/>
+ </group>
+ <group attrs="{'invisible' : [('preventive_type', '!=', 'project')]}">
+ <field name="preventive_project_id" nolabel="1"/>
+ </group>
+ </field>
+ </field>
+ </record>
+
+ </data>
+</openerp>
=== added directory 'mgmtsystem_quality'
=== added file 'mgmtsystem_quality/__init__.py'
--- mgmtsystem_quality/__init__.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_quality/__init__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,21 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'mgmtsystem_quality/__openerp__.py'
--- mgmtsystem_quality/__openerp__.py 1970-01-01 00:00:00 +0000
+++ mgmtsystem_quality/__openerp__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,44 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+{
+ "name" : " Quality Management System",
+ "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 your quality management system, including :
+ * Quality Manual
+ * Audits
+ * Procedures
+ * Nonconformities
+ * Actions
+ """,
+ "depends" : ['mgmtsystem_audit','wiki_quality_manual'],
+ "init_xml" : [],
+ "update_xml" : [],
+ "demo_xml" : [],
+ "installable" : True,
+ "certificate" : ''
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added directory 'wiki_environment_manual'
=== added file 'wiki_environment_manual/__init__.py'
--- wiki_environment_manual/__init__.py 1970-01-01 00:00:00 +0000
+++ wiki_environment_manual/__init__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,21 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'wiki_environment_manual/__openerp__.py'
--- wiki_environment_manual/__openerp__.py 1970-01-01 00:00:00 +0000
+++ wiki_environment_manual/__openerp__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,38 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+{
+ "name" : "Document Management - Wiki - Environment Manual",
+ "version" : "0.1",
+ "author" : "Savoir-faire Linux",
+ "website" : "http://www.savoirfairelinux.com",
+ "license" : "GPL-3",
+ "category" : "Generic Modules/Others",
+ "description": """Environment Manual Template
+ """,
+ "depends" : ['wiki'],
+ "init_xml" : [],
+ "update_xml" : ['wiki_environment_manual.xml'],
+ "demo_xml" : [],
+ "installable" : True,
+ "certificate" : ''
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'wiki_environment_manual/wiki_environment_manual.xml'
--- wiki_environment_manual/wiki_environment_manual.xml 1970-01-01 00:00:00 +0000
+++ wiki_environment_manual/wiki_environment_manual.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+ <data>
+ <record id="wiki_environment_manual" model="wiki.wiki">
+ <field name="name">Environment Manual</field>
+ <field name="tags">environment, faq, manual</field>
+ <field name="minor_edit">0</field>
+ <field name="toc">1</field>
+ <field name="review">1</field>
+ <field name="section">2</field>
+ <field name="summary">Base template</field>
+ <field name="text_area">
+=Application Domain=
+
+==General==
+
+==Application Perimeter==
+
+=Standards References=
+
+=Terms and Definitions=
+
+==Confidentiality==
+
+=Environment Management System=
+
+==General Requirements==
+
+==Environmental Policy==
+
+==Planning==
+
+===Environmental Aspects===
+
+===Legal and Other Requirements===
+
+===Objectives, Targets and Programs===
+
+==Implementation and Operation==
+
+===Resources, Roles, Responsibilities and Authority===
+
+===Training, Awareness and Competence===
+
+===Communication===
+
+===Documentation===
+
+===Documentation Control===
+
+===Operational Control===
+
+===Emergency Preparedness and Response===
+
+==Control==
+
+===Monitoring and Measurement===
+
+===Evaluation of Compliance===
+
+===NonÂconformity, Corrective Action and Preventive Action===
+
+===Control of Records===
+
+===Internal Audit===
+
+==Management Review==
+ </field>
+ </record>
+ <record id="wiki_group_environment_manual" model="wiki.groups">
+ <field name="name">Environment Manual</field>
+ <field name="section">2</field>
+ <field name="home" ref="wiki_environment_manual"/>
+ </record>
+ </data>
+ <data>
+ <record id="wiki_environment_manual" model="wiki.wiki">
+ <field name="group_id" ref="wiki_group_environment_manual"/>
+ </record>
+ </data>
+</openerp>
=== added directory 'wiki_procedure'
=== added file 'wiki_procedure/__init__.py'
--- wiki_procedure/__init__.py 1970-01-01 00:00:00 +0000
+++ wiki_procedure/__init__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,21 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'wiki_procedure/__openerp__.py'
--- wiki_procedure/__openerp__.py 1970-01-01 00:00:00 +0000
+++ wiki_procedure/__openerp__.py 2010-12-14 20:52:12 +0000
@@ -0,0 +1,38 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+{
+ "name" : "Document Management - Wiki - Procedures",
+ "version" : "0.1",
+ "author" : "Savoir-faire Linux",
+ "website" : "http://www.savoirfairelinux.com",
+ "license" : "GPL-3",
+ "category" : "Generic Modules/Others",
+ "description": """Procedure Template
+ """,
+ "depends" : ['wiki'],
+ "init_xml" : [],
+ "update_xml" : ['wiki_procedure.xml'],
+ "demo_xml" : [],
+ "installable" : True,
+ "certificate" : ''
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'wiki_procedure/wiki_procedure.xml'
--- wiki_procedure/wiki_procedure.xml 1970-01-01 00:00:00 +0000
+++ wiki_procedure/wiki_procedure.xml 2010-12-14 20:52:12 +0000
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+ <data>
+ <record id="wiki_procedure" model="wiki.wiki">
+ <field name="name">Procedure</field>
+ <field name="tags">procedure</field>
+ <field name="minor_edit">0</field>
+ <field name="toc">1</field>
+ <field name="review">1</field>
+ <field name="section">2</field>
+ <field name="summary">Procedure template</field>
+ <field name="text_area">
+=Objective=
+
+=Application Domain=
+
+=Terms and Definitions=
+
+=Responsibilities=
+
+=Process=
+ </field>
+ </record>
+ <record id="wiki_group_procedure" model="wiki.groups">
+ <field name="name">Procedure</field>
+ <field name="section">2</field>
+ <field name="home" ref="wiki_procedure"/>
+ </record>
+ </data>
+ <data>
+ <record id="wiki_procedure" model="wiki.wiki">
+ <field name="group_id" ref="wiki_group_procedure"/>
+ </record>
+ </data>
+</openerp>
Follow ups