Merge lp:~openerp-community/openobject-addons/mgmtsystem into lp:openobject-addons/extra-trunk

Status: Merged
Merged at revision: 5099
Proposed branch: lp:~openerp-community/openobject-addons/mgmtsystem
Merge into: lp:openobject-addons/extra-trunk
Diff against target: 3267 lines (+2998/-0)
50 files modified
mgmtsystem/__init__.py (+22/-0)
mgmtsystem/__openerp__.py (+50/-0)
mgmtsystem/board_mgmtsystem_view.xml (+40/-0)
mgmtsystem/i18n/mgmtsystem.pot (+61/-0)
mgmtsystem/mgmtsystem.xml (+25/-0)
mgmtsystem/security/ir.model.access.csv (+5/-0)
mgmtsystem/security/mgmtsystem_security.xml (+14/-0)
mgmtsystem_action/__init__.py (+22/-0)
mgmtsystem_action/__openerp__.py (+48/-0)
mgmtsystem_action/board_mgmtsystem_action.xml (+26/-0)
mgmtsystem_action/demo_action.xml (+27/-0)
mgmtsystem_action/i18n/mgmtsystem_action.pot (+362/-0)
mgmtsystem_action/mgmtsystem_action.py (+35/-0)
mgmtsystem_action/mgmtsystem_action.xml (+126/-0)
mgmtsystem_audit/__init__.py (+23/-0)
mgmtsystem_audit/__openerp__.py (+49/-0)
mgmtsystem_audit/audit_sequence.xml (+19/-0)
mgmtsystem_audit/board_mgmtsystem_audit.xml (+26/-0)
mgmtsystem_audit/demo_audit.xml (+17/-0)
mgmtsystem_audit/i18n/mgmtsystem_audit.pot (+248/-0)
mgmtsystem_audit/mgmtsystem_audit.py (+76/-0)
mgmtsystem_audit/mgmtsystem_audit.xml (+160/-0)
mgmtsystem_audit/report/__init__.py (+23/-0)
mgmtsystem_audit/report/audit_report.py (+39/-0)
mgmtsystem_audit/report/audit_report.rml (+87/-0)
mgmtsystem_audit/report/audit_report.xml (+14/-0)
mgmtsystem_audit/report/verification_list.py (+39/-0)
mgmtsystem_audit/report/verification_list.rml (+135/-0)
mgmtsystem_audit/report/verification_list.xml (+14/-0)
mgmtsystem_environment/__init__.py (+21/-0)
mgmtsystem_environment/__openerp__.py (+44/-0)
mgmtsystem_nonconformity/__init__.py (+22/-0)
mgmtsystem_nonconformity/__openerp__.py (+48/-0)
mgmtsystem_nonconformity/board_mgmtsystem_nonconformity.xml (+26/-0)
mgmtsystem_nonconformity/demo_nonconformity.xml (+35/-0)
mgmtsystem_nonconformity/i18n/mgmtsystem_nonconformity.pot (+226/-0)
mgmtsystem_nonconformity/mgmtsystem_nonconformity.py (+91/-0)
mgmtsystem_nonconformity/mgmtsystem_nonconformity.xml (+222/-0)
mgmtsystem_nonconformity_project/__init__.py (+22/-0)
mgmtsystem_nonconformity_project/__openerp__.py (+41/-0)
mgmtsystem_nonconformity_project/mgmtsystem_nonconformity_project.py (+36/-0)
mgmtsystem_nonconformity_project/mgmtsystem_nonconformity_project.xml (+33/-0)
mgmtsystem_quality/__init__.py (+21/-0)
mgmtsystem_quality/__openerp__.py (+44/-0)
wiki_environment_manual/__init__.py (+21/-0)
wiki_environment_manual/__openerp__.py (+38/-0)
wiki_environment_manual/wiki_environment_manual.xml (+81/-0)
wiki_procedure/__init__.py (+21/-0)
wiki_procedure/__openerp__.py (+38/-0)
wiki_procedure/wiki_procedure.xml (+35/-0)
To merge this branch: bzr merge lp:~openerp-community/openobject-addons/mgmtsystem
Reviewer Review Type Date Requested Status
OpenERP Committers Pending
Review via email: mp+43702@code.launchpad.net

Description of the change

[ADD] Management System

To post a comment you must log in.
5094. By Maxime Chambreuil (http://www.savoirfairelinux.com)

[MERGE] l10n_ca_toponyms

5095. By Raphaël Valyi - http://www.akretion.com

[FIX] base_sale_multichannels: now depends on 'account_voucher' module (so perform an 'update module list') and generate "customer payments" vouchers now instead of bank statements, which is more correct functionnaly (great!)

5096. By Launchpad Translations on behalf of openerp-commiter

Launchpad automatic translations update.

5097. By Launchpad Translations on behalf of openerp-commiter

Launchpad automatic translations update.

5098. By Sébastien BEAU - http://www.akretion.com

[IMP] Kettle_connector : fix indentation and add the posibility of updating terminatooor

5099. By Maxime Chambreuil (http://www.savoirfairelinux.com)

[MERGE] mgmtsystem

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'mgmtsystem'
2=== added file 'mgmtsystem/__init__.py'
3--- mgmtsystem/__init__.py 1970-01-01 00:00:00 +0000
4+++ mgmtsystem/__init__.py 2010-12-14 20:53:21 +0000
5@@ -0,0 +1,22 @@
6+# -*- encoding: utf-8 -*-
7+##############################################################################
8+#
9+# OpenERP, Open Source Management Solution
10+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
11+#
12+# This program is free software: you can redistribute it and/or modify
13+# it under the terms of the GNU General Public License as
14+# published by the Free Software Foundation, either version 3 of the
15+# License, or (at your option) any later version.
16+#
17+# This program is distributed in the hope that it will be useful,
18+# but WITHOUT ANY WARRANTY; without even the implied warranty of
19+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20+# GNU General Public License for more details.
21+#
22+# You should have received a copy of the GNU General Public License
23+# along with this program. If not, see <http://www.gnu.org/licenses/>.
24+#
25+##############################################################################
26+
27+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
28
29=== added file 'mgmtsystem/__openerp__.py'
30--- mgmtsystem/__openerp__.py 1970-01-01 00:00:00 +0000
31+++ mgmtsystem/__openerp__.py 2010-12-14 20:53:21 +0000
32@@ -0,0 +1,50 @@
33+# -*- encoding: utf-8 -*-
34+##############################################################################
35+#
36+# OpenERP, Open Source Management Solution
37+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
38+#
39+# This program is free software: you can redistribute it and/or modify
40+# it under the terms of the GNU General Public License as
41+# published by the Free Software Foundation, either version 3 of the
42+# License, or (at your option) any later version.
43+#
44+# This program is distributed in the hope that it will be useful,
45+# but WITHOUT ANY WARRANTY; without even the implied warranty of
46+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47+# GNU General Public License for more details.
48+#
49+# You should have received a copy of the GNU General Public License
50+# along with this program. If not, see <http://www.gnu.org/licenses/>.
51+#
52+##############################################################################
53+{
54+ "name" : "Management System",
55+ "version" : "0.1",
56+ "author" : "Savoir-faire Linux",
57+ "website" : "http://www.savoirfairelinux.com",
58+ "license" : "GPL-3",
59+ "category" : "Management System",
60+ "description": """
61+ This module is the basis of any management system applications:
62+ * audit reports,
63+ * nonconformities,
64+ * immediate actions,
65+ * preventive actions,
66+ * corrective actions,
67+ * improvement opportunities.
68+ """,
69+ "depends" : [],
70+ "init_xml" : [],
71+ "update_xml" : [
72+ 'security/mgmtsystem_security.xml',
73+# 'security/ir.model.access.csv',
74+ 'mgmtsystem.xml',
75+ 'board_mgmtsystem_view.xml',
76+ ],
77+ "demo_xml" : [],
78+ "installable" : True,
79+ "certificate" : ''
80+}
81+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
82+
83
84=== added file 'mgmtsystem/board_mgmtsystem_view.xml'
85--- mgmtsystem/board_mgmtsystem_view.xml 1970-01-01 00:00:00 +0000
86+++ mgmtsystem/board_mgmtsystem_view.xml 2010-12-14 20:53:21 +0000
87@@ -0,0 +1,40 @@
88+<?xml version="1.0" encoding="utf-8"?>
89+<openerp>
90+ <data>
91+ <menuitem id="base.dashboard" name="Dashboard" sequence="2" parent="base.reporting_menu"/>
92+
93+ <!-- This board view will be complete by other mgmtsystem_* modules-->
94+ <record id="board_mgmtsystem_form" model="ir.ui.view">
95+ <field name="name">board.mgmtsystem.form</field>
96+ <field name="model">board.board</field>
97+ <field name="type">form</field>
98+ <field name="arch" type="xml">
99+ <form string="My Board">
100+ <hpaned>
101+ <child1>
102+ </child1>
103+ <child2>
104+ </child2>
105+ </hpaned>
106+ </form>
107+ </field>
108+ </record>
109+
110+ <record id="open_board_mgmtsystem" model="ir.actions.act_window">
111+ <field name="name">Management System Dashboard</field>
112+ <field name="res_model">board.board</field>
113+ <field name="view_type">form</field>
114+ <field name="view_mode">form</field>
115+ <field name="usage">menu</field>
116+ <field name="view_id" ref="board_mgmtsystem_form"/>
117+ </record>
118+ <menuitem
119+ id="menu_mgmtsystem_dashboard"
120+ name="Management System"
121+ parent="base.dashboard"
122+ action="open_board_mgmtsystem"/>
123+
124+ <menuitem id="menu_mgmtsystem_root" icon="terp-hr" name="Management System" sequence="15" action="open_board_mgmtsystem"/>
125+
126+ </data>
127+</openerp>
128
129=== added directory 'mgmtsystem/i18n'
130=== added file 'mgmtsystem/i18n/mgmtsystem.pot'
131--- mgmtsystem/i18n/mgmtsystem.pot 1970-01-01 00:00:00 +0000
132+++ mgmtsystem/i18n/mgmtsystem.pot 2010-12-14 20:53:21 +0000
133@@ -0,0 +1,61 @@
134+# Translation of OpenERP Server.
135+# This file contains the translation of the following modules:
136+# * mgmtsystem
137+#
138+msgid ""
139+msgstr ""
140+"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
141+"Report-Msgid-Bugs-To: support@openerp.com\n"
142+"POT-Creation-Date: 2010-12-02 23:46:44+0000\n"
143+"PO-Revision-Date: 2010-12-02 23:46:44+0000\n"
144+"Last-Translator: <>\n"
145+"Language-Team: \n"
146+"MIME-Version: 1.0\n"
147+"Content-Type: text/plain; charset=UTF-8\n"
148+"Content-Transfer-Encoding: \n"
149+"Plural-Forms: \n"
150+
151+#. module: mgmtsystem
152+#: model:ir.module.module,shortdesc:mgmtsystem.module_meta_information
153+#: model:ir.ui.menu,name:mgmtsystem.menu_mgmtsystem_dashboard
154+#: model:ir.ui.menu,name:mgmtsystem.menu_mgmtsystem_main
155+#: model:ir.ui.menu,name:mgmtsystem.menu_mgmtsystem_root
156+msgid "Management System"
157+msgstr "Management System"
158+
159+#. module: mgmtsystem
160+#: view:board.board:0
161+msgid "My Board"
162+msgstr "My Board"
163+
164+#. module: mgmtsystem
165+#: model:ir.ui.menu,name:mgmtsystem.menu_mgmtsystem_configuration
166+msgid "Configuration"
167+msgstr "Configuration"
168+
169+#. module: mgmtsystem
170+#: model:ir.module.module,description:mgmtsystem.module_meta_information
171+msgid "\n"
172+" This module is the basis of any management system applications:\n"
173+" * audit reports,\n"
174+" * nonconformities,\n"
175+" * immediate actions,\n"
176+" * preventive actions,\n"
177+" * corrective actions,\n"
178+" * improvement opportunities. \n"
179+" "
180+msgstr "\n"
181+" This module is the basis of any management system applications:\n"
182+" * audit reports,\n"
183+" * nonconformities,\n"
184+" * immediate actions,\n"
185+" * preventive actions,\n"
186+" * corrective actions,\n"
187+" * improvement opportunities. \n"
188+" "
189+
190+#. module: mgmtsystem
191+#: model:ir.actions.act_window,name:mgmtsystem.open_board_mgmtsystem
192+msgid "Management System Dashboard"
193+msgstr "Management System Dashboard"
194+
195
196=== added directory 'mgmtsystem/images'
197=== added file 'mgmtsystem/images/mgmtsystem-hover.png'
198Binary files mgmtsystem/images/mgmtsystem-hover.png 1970-01-01 00:00:00 +0000 and mgmtsystem/images/mgmtsystem-hover.png 2010-12-14 20:53:21 +0000 differ
199=== added file 'mgmtsystem/images/mgmtsystem.png'
200Binary files mgmtsystem/images/mgmtsystem.png 1970-01-01 00:00:00 +0000 and mgmtsystem/images/mgmtsystem.png 2010-12-14 20:53:21 +0000 differ
201=== added file 'mgmtsystem/mgmtsystem.xml'
202--- mgmtsystem/mgmtsystem.xml 1970-01-01 00:00:00 +0000
203+++ mgmtsystem/mgmtsystem.xml 2010-12-14 20:53:21 +0000
204@@ -0,0 +1,25 @@
205+<?xml version="1.0" encoding="utf-8"?>
206+<openerp>
207+ <data>
208+
209+ <menuitem id="menu_mgmtsystem_root"
210+ name="Management System"
211+ sequence="15"
212+ groups="base.group_mgmtsystem_manager,base.group_user"
213+ web_icon="images/mgmtsystem.png"
214+ web_icon_hover="images/mgmtsystem-hover.png"/>
215+
216+ <menuitem id="menu_mgmtsystem_main"
217+ name="Management System"
218+ parent="menu_mgmtsystem_root"
219+ sequence="0"
220+ groups="base.group_user"/>
221+
222+ <menuitem id="menu_mgmtsystem_configuration"
223+ name="Configuration"
224+ parent="mgmtsystem.menu_mgmtsystem_root"
225+ groups="base.group_mgmtsystem_manager"
226+ sequence="50"/>
227+
228+ </data>
229+</openerp>
230
231=== added directory 'mgmtsystem/security'
232=== added file 'mgmtsystem/security/ir.model.access.csv'
233--- mgmtsystem/security/ir.model.access.csv 1970-01-01 00:00:00 +0000
234+++ mgmtsystem/security/ir.model.access.csv 2010-12-14 20:53:21 +0000
235@@ -0,0 +1,5 @@
236+"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
237+"access_mgmtsystem_nonconformity","mgmtsystem.nonconformity","model_mgmtsystem_nonconformity","base.group_user",1,1,1,0
238+"access_mgmtsystem_nonconformity_origin","mgmtsystem.nonconformity.origin","model_mgmtsystem_nonconformity_origin","base.group_mgmtsystem_manager",1,1,1,1
239+"access_mgmtsystem_nonconformity_process","mgmtsystem.nonconformity.process","model_mgmtsystem_nonconformity_process","base.group_mgmtsystem_manager",1,1,1,1
240+"access_mgmtsystem_nonconformity_cause","mgmtsystem.nonconformity.cause","model_mgmtsystem_nonconformity_cause","base.group_mgmtsystem_manager",1,1,1,1
241
242=== added file 'mgmtsystem/security/mgmtsystem_security.xml'
243--- mgmtsystem/security/mgmtsystem_security.xml 1970-01-01 00:00:00 +0000
244+++ mgmtsystem/security/mgmtsystem_security.xml 2010-12-14 20:53:21 +0000
245@@ -0,0 +1,14 @@
246+<?xml version="1.0" encoding="utf-8"?>
247+<openerp>
248+<data noupdate="1">
249+
250+ <record id="base.group_mgmtsystem_manager" model="res.groups">
251+ <field name="name">Management System / Manager</field>
252+ </record>
253+
254+ <record id="base.group_mgmtsystem_auditor" model="res.groups">
255+ <field name="name">Management System / Auditor</field>
256+ </record>
257+
258+</data>
259+</openerp>
260
261=== added directory 'mgmtsystem_action'
262=== added file 'mgmtsystem_action/__init__.py'
263--- mgmtsystem_action/__init__.py 1970-01-01 00:00:00 +0000
264+++ mgmtsystem_action/__init__.py 2010-12-14 20:53:21 +0000
265@@ -0,0 +1,22 @@
266+# -*- encoding: utf-8 -*-
267+##############################################################################
268+#
269+# OpenERP, Open Source Management Solution
270+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
271+#
272+# This program is free software: you can redistribute it and/or modify
273+# it under the terms of the GNU General Public License as
274+# published by the Free Software Foundation, either version 3 of the
275+# License, or (at your option) any later version.
276+#
277+# This program is distributed in the hope that it will be useful,
278+# but WITHOUT ANY WARRANTY; without even the implied warranty of
279+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
280+# GNU General Public License for more details.
281+#
282+# You should have received a copy of the GNU General Public License
283+# along with this program. If not, see <http://www.gnu.org/licenses/>.
284+#
285+##############################################################################
286+import mgmtsystem_action
287+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
288
289=== added file 'mgmtsystem_action/__openerp__.py'
290--- mgmtsystem_action/__openerp__.py 1970-01-01 00:00:00 +0000
291+++ mgmtsystem_action/__openerp__.py 2010-12-14 20:53:21 +0000
292@@ -0,0 +1,48 @@
293+# -*- encoding: utf-8 -*-
294+##############################################################################
295+#
296+# OpenERP, Open Source Management Solution
297+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
298+#
299+# This program is free software: you can redistribute it and/or modify
300+# it under the terms of the GNU General Public License as
301+# published by the Free Software Foundation, either version 3 of the
302+# License, or (at your option) any later version.
303+#
304+# This program is distributed in the hope that it will be useful,
305+# but WITHOUT ANY WARRANTY; without even the implied warranty of
306+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
307+# GNU General Public License for more details.
308+#
309+# You should have received a copy of the GNU General Public License
310+# along with this program. If not, see <http://www.gnu.org/licenses/>.
311+#
312+##############################################################################
313+{
314+ "name" : "Management System - Action",
315+ "version" : "0.1",
316+ "author" : "Savoir-faire Linux",
317+ "website" : "http://www.savoirfairelinux.com",
318+ "license" : "GPL-3",
319+ "category" : "Management System",
320+ "description": """
321+ This module enables you to manage the different actions of your management
322+ system :
323+ * immediate actions
324+ * corrective actions
325+ * preventive actions.
326+ """,
327+ "depends" : ['mgmtsystem','crm_claim'],
328+ "init_xml" : [],
329+ "update_xml" : [
330+ 'mgmtsystem_action.xml',
331+ 'board_mgmtsystem_action.xml',
332+ ],
333+ "demo_xml" : [
334+ 'demo_action.xml',
335+ ],
336+ "installable" : True,
337+ "certificate" : ''
338+}
339+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
340+
341
342=== added file 'mgmtsystem_action/board_mgmtsystem_action.xml'
343--- mgmtsystem_action/board_mgmtsystem_action.xml 1970-01-01 00:00:00 +0000
344+++ mgmtsystem_action/board_mgmtsystem_action.xml 2010-12-14 20:53:21 +0000
345@@ -0,0 +1,26 @@
346+<?xml version="1.0" encoding="utf-8"?>
347+<openerp>
348+ <data>
349+
350+ <record model="ir.actions.act_window" id="action_mgmtsystem_action">
351+ <field name="res_model">mgmtsystem.action</field>
352+ <field name="view_type">form</field>
353+ <field name="view_mode">tree</field>
354+ <field name="view_id" ref="view_mgmtsystem_action_tree"/>
355+ <field name="domain">[('state', 'in', ('draft','open','pending'))]</field>
356+ </record>
357+
358+ <record id="board_mgmtsystem_action_form" model="ir.ui.view">
359+ <field name="name">board.mgmtsystem.action.form</field>
360+ <field name="model">board.board</field>
361+ <field name="inherit_id" ref="mgmtsystem.board_mgmtsystem_form"/>
362+ <field name="type">form</field>
363+ <field name="arch" type="xml">
364+ <xpath expr="/form/hpaned/child1" position="inside">
365+ <action name="%(action_mgmtsystem_action)d" string="Open Actions"/>
366+ </xpath>
367+ </field>
368+ </record>
369+
370+ </data>
371+</openerp>
372
373=== added file 'mgmtsystem_action/demo_action.xml'
374--- mgmtsystem_action/demo_action.xml 1970-01-01 00:00:00 +0000
375+++ mgmtsystem_action/demo_action.xml 2010-12-14 20:53:21 +0000
376@@ -0,0 +1,27 @@
377+<?xml version="1.0" encoding="utf-8"?>
378+<openerp>
379+ <data noupdate="1">
380+
381+ <!-- demo data mgmtsystem.action -->
382+ <record id="demo_immediate" model="mgmtsystem.action">
383+ <field name="name">Add a comment to the revision</field>
384+ <field name="type_action">immediate</field>
385+ </record>
386+
387+ <record id="demo_corrective" model="mgmtsystem.action">
388+ <field name="name">Explain Administrator to add comments to the procedure when making changes.</field>
389+ <field name="type_action">correction</field>
390+ </record>
391+
392+ <record id="demo_preventive" model="mgmtsystem.action">
393+ <field name="name">Explain in the new-employee training manual that they need to add comments to the procedure when making changes</field>
394+ <field name="type_action">prevention</field>
395+ </record>
396+
397+ <record id="demo_improvement" model="mgmtsystem.action">
398+ <field name="name">Manage your quality management system with OpenERP :o)</field>
399+ <field name="type_action">improvement</field>
400+ </record>
401+
402+ </data>
403+</openerp>
404
405=== added directory 'mgmtsystem_action/i18n'
406=== added file 'mgmtsystem_action/i18n/mgmtsystem_action.pot'
407--- mgmtsystem_action/i18n/mgmtsystem_action.pot 1970-01-01 00:00:00 +0000
408+++ mgmtsystem_action/i18n/mgmtsystem_action.pot 2010-12-14 20:53:21 +0000
409@@ -0,0 +1,362 @@
410+# Translation of OpenERP Server.
411+# This file contains the translation of the following modules:
412+# * mgmtsystem_action
413+#
414+msgid ""
415+msgstr ""
416+"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
417+"Report-Msgid-Bugs-To: support@openerp.com\n"
418+"POT-Creation-Date: 2010-12-02 23:47:57+0000\n"
419+"PO-Revision-Date: 2010-12-02 23:47:57+0000\n"
420+"Last-Translator: <>\n"
421+"Language-Team: \n"
422+"MIME-Version: 1.0\n"
423+"Content-Type: text/plain; charset=UTF-8\n"
424+"Content-Transfer-Encoding: \n"
425+"Plural-Forms: \n"
426+
427+#. module: mgmtsystem_action
428+#: field:mgmtsystem.action,categ_id:0
429+msgid "Category"
430+msgstr "Category"
431+
432+#. module: mgmtsystem_action
433+#: view:mgmtsystem.action:0
434+msgid "History"
435+msgstr "History"
436+
437+#. module: mgmtsystem_action
438+#: view:mgmtsystem.action:0
439+msgid "History Information"
440+msgstr "History Information"
441+
442+#. module: mgmtsystem_action
443+#: view:mgmtsystem.action:0
444+#: field:mgmtsystem.action,user_id:0
445+msgid "Responsible"
446+msgstr "Responsible"
447+
448+#. module: mgmtsystem_action
449+#: view:mgmtsystem.action:0
450+msgid "Date of Claim"
451+msgstr "Date of Claim"
452+
453+#. module: mgmtsystem_action
454+#: model:ir.module.module,shortdesc:mgmtsystem_action.module_meta_information
455+msgid "Management System - Action"
456+msgstr "Management System - Action"
457+
458+#. module: mgmtsystem_action
459+#: field:mgmtsystem.action,priority:0
460+msgid "Priority"
461+msgstr "Priority"
462+
463+#. module: mgmtsystem_action
464+#: model:ir.model,name:mgmtsystem_action.model_mgmtsystem_action
465+#: view:mgmtsystem.action:0
466+msgid "Action"
467+msgstr "Action"
468+
469+#. module: mgmtsystem_action
470+#: view:mgmtsystem.action:0
471+msgid "Send New Email"
472+msgstr "Send New Email"
473+
474+#. module: mgmtsystem_action
475+#: selection:mgmtsystem.action,state:0
476+msgid "Draft"
477+msgstr "Draft"
478+
479+#. module: mgmtsystem_action
480+#: view:mgmtsystem.action:0
481+msgid "Details"
482+msgstr "Details"
483+
484+#. module: mgmtsystem_action
485+#: view:mgmtsystem.action:0
486+#: field:mgmtsystem.action,date_closed:0
487+#: selection:mgmtsystem.action,state:0
488+msgid "Closed"
489+msgstr "Closed"
490+
491+#. module: mgmtsystem_action
492+#: view:mgmtsystem.action:0
493+msgid "Reply"
494+msgstr "Reply"
495+
496+#. module: mgmtsystem_action
497+#: field:mgmtsystem.action,cause:0
498+msgid "Root Cause"
499+msgstr "Root Cause"
500+
501+#. module: mgmtsystem_action
502+#: view:mgmtsystem.action:0
503+msgid "Type"
504+msgstr "Type"
505+
506+#. module: mgmtsystem_action
507+#: field:mgmtsystem.action,email_from:0
508+msgid "Email"
509+msgstr "Email"
510+
511+#. module: mgmtsystem_action
512+#: selection:mgmtsystem.action,state:0
513+msgid "Pending"
514+msgstr "Pending"
515+
516+#. module: mgmtsystem_action
517+#: view:mgmtsystem.action:0
518+msgid "Claim/Action Description"
519+msgstr "Claim/Action Description"
520+
521+#. module: mgmtsystem_action
522+#: selection:mgmtsystem.action,priority:0
523+msgid "Lowest"
524+msgstr "Lowest"
525+
526+#. module: mgmtsystem_action
527+#: field:mgmtsystem.action,action_next:0
528+msgid "Next Action"
529+msgstr "Next Action"
530+
531+#. module: mgmtsystem_action
532+#: field:mgmtsystem.action,description:0
533+msgid "Description"
534+msgstr "Description"
535+
536+#. module: mgmtsystem_action
537+#: selection:mgmtsystem.action,priority:0
538+msgid "Normal"
539+msgstr "Normal"
540+
541+#. module: mgmtsystem_action
542+#: field:mgmtsystem.action,create_date:0
543+msgid "Creation Date"
544+msgstr "Creation Date"
545+
546+#. module: mgmtsystem_action
547+#: field:mgmtsystem.action,name:0
548+msgid "Claim Subject"
549+msgstr "Claim Subject"
550+
551+#. module: mgmtsystem_action
552+#: field:mgmtsystem.action,company_id:0
553+msgid "Company"
554+msgstr "Company"
555+
556+#. module: mgmtsystem_action
557+#: field:mgmtsystem.action,email_cc:0
558+msgid "Watchers Emails"
559+msgstr "Watchers Emails"
560+
561+#. module: mgmtsystem_action
562+#: field:mgmtsystem.action,date_action_next:0
563+msgid "Next Action Date"
564+msgstr "Next Action Date"
565+
566+#. module: mgmtsystem_action
567+#: field:mgmtsystem.action,partner_phone:0
568+msgid "Phone"
569+msgstr "Phone"
570+
571+#. module: mgmtsystem_action
572+#: view:board.board:0
573+msgid "Open Actions"
574+msgstr "Open Actions"
575+
576+#. module: mgmtsystem_action
577+#: view:mgmtsystem.action:0
578+msgid "User"
579+msgstr "User"
580+
581+#. module: mgmtsystem_action
582+#: view:mgmtsystem.action:0
583+msgid "Done"
584+msgstr "Done"
585+
586+#. module: mgmtsystem_action
587+#: selection:mgmtsystem.action,priority:0
588+msgid "Highest"
589+msgstr "Highest"
590+
591+#. module: mgmtsystem_action
592+#: field:mgmtsystem.action,stage_id:0
593+msgid "Stage"
594+msgstr "Stage"
595+
596+#. module: mgmtsystem_action
597+#: help:mgmtsystem.action,state:0
598+msgid "The state is set to 'Draft', when a case is created. \n"
599+"If the case is in progress the state is set to 'Open'. \n"
600+"When the case is over, the state is set to 'Done'. \n"
601+"If the case needs to be reviewed then the state is set to 'Pending'."
602+msgstr "The state is set to 'Draft', when a case is created. \n"
603+"If the case is in progress the state is set to 'Open'. \n"
604+"When the case is over, the state is set to 'Done'. \n"
605+"If the case needs to be reviewed then the state is set to 'Pending'."
606+
607+#. module: mgmtsystem_action
608+#: view:mgmtsystem.action:0
609+msgid "Add Internal Note"
610+msgstr "Add Internal Note"
611+
612+#. module: mgmtsystem_action
613+#: field:mgmtsystem.action,user_fault:0
614+msgid "Trouble Responsible"
615+msgstr "Trouble Responsible"
616+
617+#. module: mgmtsystem_action
618+#: field:mgmtsystem.action,section_id:0
619+msgid "Sales Team"
620+msgstr "Sales Team"
621+
622+#. module: mgmtsystem_action
623+#: model:ir.module.module,description:mgmtsystem_action.module_meta_information
624+msgid "\n"
625+" This module enables you to manage the different actions of your management \n"
626+" system :\n"
627+" * immediate actions\n"
628+" * corrective actions\n"
629+" * preventive actions.\n"
630+" "
631+msgstr "\n"
632+" This module enables you to manage the different actions of your management \n"
633+" system :\n"
634+" * immediate actions\n"
635+" * corrective actions\n"
636+" * preventive actions.\n"
637+" "
638+
639+#. module: mgmtsystem_action
640+#: selection:mgmtsystem.action,type_action:0
641+msgid "Immediate Action"
642+msgstr "Immediate Action"
643+
644+#. module: mgmtsystem_action
645+#: field:mgmtsystem.action,message_ids:0
646+msgid "Messages"
647+msgstr "Messages"
648+
649+#. module: mgmtsystem_action
650+#: field:mgmtsystem.action,date:0
651+msgid "Claim Date"
652+msgstr "Claim Date"
653+
654+#. module: mgmtsystem_action
655+#: selection:mgmtsystem.action,type_action:0
656+msgid "Improvement Opportunity"
657+msgstr "Improvement Opportunity"
658+
659+#. module: mgmtsystem_action
660+#: help:mgmtsystem.action,email_from:0
661+msgid "These people will receive email."
662+msgstr "These people will receive email."
663+
664+#. module: mgmtsystem_action
665+#: selection:mgmtsystem.action,type_action:0
666+msgid "Preventive Action"
667+msgstr "Preventive Action"
668+
669+#. module: mgmtsystem_action
670+#: field:mgmtsystem.action,partner_address_id:0
671+msgid "Partner Contact"
672+msgstr "Partner Contact"
673+
674+#. module: mgmtsystem_action
675+#: selection:mgmtsystem.action,state:0
676+msgid "Cancelled"
677+msgstr "Cancelled"
678+
679+#. module: mgmtsystem_action
680+#: selection:mgmtsystem.action,type_action:0
681+msgid "Corrective Action"
682+msgstr "Corrective Action"
683+
684+#. module: mgmtsystem_action
685+#: field:mgmtsystem.action,resolution:0
686+msgid "Resolution"
687+msgstr "Resolution"
688+
689+#. module: mgmtsystem_action
690+#: field:mgmtsystem.action,id:0
691+msgid "ID"
692+msgstr "ID"
693+
694+#. module: mgmtsystem_action
695+#: help:mgmtsystem.action,section_id:0
696+msgid "Sales team to which Case belongs to.Define Responsible user and Email account for mail gateway."
697+msgstr "Sales team to which Case belongs to.Define Responsible user and Email account for mail gateway."
698+
699+#. module: mgmtsystem_action
700+#: view:mgmtsystem.action:0
701+msgid "Global CC"
702+msgstr "Global CC"
703+
704+#. module: mgmtsystem_action
705+#: help:mgmtsystem.action,email_cc:0
706+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"
707+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"
708+
709+#. module: mgmtsystem_action
710+#: view:mgmtsystem.action:0
711+msgid "Attachments"
712+msgstr "Attachments"
713+
714+#. module: mgmtsystem_action
715+#: field:mgmtsystem.action,ref:0
716+msgid "Reference"
717+msgstr "Reference"
718+
719+#. module: mgmtsystem_action
720+#: view:mgmtsystem.action:0
721+msgid "Group By..."
722+msgstr "Group By..."
723+
724+#. module: mgmtsystem_action
725+#: field:mgmtsystem.action,state:0
726+msgid "State"
727+msgstr "State"
728+
729+#. module: mgmtsystem_action
730+#: model:ir.actions.act_window,name:mgmtsystem_action.open_mgmtsystem_action_list
731+#: model:ir.ui.menu,name:mgmtsystem_action.menu_open_action
732+msgid "Actions"
733+msgstr "Actions"
734+
735+#. module: mgmtsystem_action
736+#: selection:mgmtsystem.action,priority:0
737+msgid "High"
738+msgstr "High"
739+
740+#. module: mgmtsystem_action
741+#: field:mgmtsystem.action,type_action:0
742+msgid "Action Type"
743+msgstr "Action Type"
744+
745+#. module: mgmtsystem_action
746+#: view:mgmtsystem.action:0
747+#: field:mgmtsystem.action,date_deadline:0
748+msgid "Deadline"
749+msgstr "Deadline"
750+
751+#. module: mgmtsystem_action
752+#: field:mgmtsystem.action,write_date:0
753+msgid "Update Date"
754+msgstr "Update Date"
755+
756+#. module: mgmtsystem_action
757+#: field:mgmtsystem.action,partner_id:0
758+msgid "Partner"
759+msgstr "Partner"
760+
761+#. module: mgmtsystem_action
762+#: view:mgmtsystem.action:0
763+#: selection:mgmtsystem.action,state:0
764+msgid "Open"
765+msgstr "Open"
766+
767+#. module: mgmtsystem_action
768+#: selection:mgmtsystem.action,priority:0
769+msgid "Low"
770+msgstr "Low"
771+
772
773=== added file 'mgmtsystem_action/mgmtsystem_action.py'
774--- mgmtsystem_action/mgmtsystem_action.py 1970-01-01 00:00:00 +0000
775+++ mgmtsystem_action/mgmtsystem_action.py 2010-12-14 20:53:21 +0000
776@@ -0,0 +1,35 @@
777+# -*- encoding: utf-8 -*-
778+##############################################################################
779+#
780+# OpenERP, Open Source Management Solution
781+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
782+#
783+# This program is free software: you can redistribute it and/or modify
784+# it under the terms of the GNU General Public License as
785+# published by the Free Software Foundation, either version 3 of the
786+# License, or (at your option) any later version.
787+#
788+# This program is distributed in the hope that it will be useful,
789+# but WITHOUT ANY WARRANTY; without even the implied warranty of
790+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
791+# GNU General Public License for more details.
792+#
793+# You should have received a copy of the GNU General Public License
794+# along with this program. If not, see <http://www.gnu.org/licenses/>.
795+#
796+##############################################################################
797+
798+from osv import fields, osv
799+from crm import crm
800+
801+class mgmtsystem_action(osv.osv):
802+ _name = "mgmtsystem.action"
803+ _description = "Action"
804+ _inherit = "crm.claim"
805+ _columns = {
806+ 'type_action': fields.selection([('immediate','Immediate Action'),('correction','Corrective Action'),('prevention','Preventive Action'),('improvement','Improvement Opportunity')], 'Action Type'),
807+ }
808+
809+mgmtsystem_action()
810+
811+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
812
813=== added file 'mgmtsystem_action/mgmtsystem_action.xml'
814--- mgmtsystem_action/mgmtsystem_action.xml 1970-01-01 00:00:00 +0000
815+++ mgmtsystem_action/mgmtsystem_action.xml 2010-12-14 20:53:21 +0000
816@@ -0,0 +1,126 @@
817+<openerp>
818+ <data>
819+
820+ <record id="view_mgmtsystem_action_tree" model="ir.ui.view">
821+ <field name="name">mgmtsystem.action.tree</field>
822+ <field name="model">mgmtsystem.action</field>
823+ <field name="type">tree</field>
824+ <field name="arch" type="xml">
825+ <tree string="Action">
826+ <field name="name"/>
827+ <field name="description"/>
828+ <field name="user_id"/>
829+ <field name="type_action"/>
830+ </tree>
831+ </field>
832+ </record>
833+
834+ <record id="view_mgmtsystem_action_filter" model="ir.ui.view">
835+ <field name="name">mgmtsystem.action.filter</field>
836+ <field name="model">mgmtsystem.action</field>
837+ <field name="type">search</field>
838+ <field name="arch" type="xml">
839+ <search string="Action">
840+ <group>
841+ <filter icon="terp-document-new" domain="[('state','in',('draft','open','pending'))]" string="Open" help="Open Actions"/>
842+ <filter icon="terp-camera_test" domain="[('state','in',('cancelled','closed'))]" string="Closed" help="Closed Actions"/>
843+ <separator orientation="vertical"/>
844+ <field name="date" select='1'/>
845+ </group>
846+ <newline />
847+ <group expand="0" string="Group By...">
848+ <filter string="User" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
849+ <separator orientation="vertical"/>
850+ <filter string="Type" icon="terp-personal" domain="[]" context="{'group_by':'type_action'}"/>
851+ </group>
852+ </search>
853+ </field>
854+ </record>
855+
856+ <record id="view_mgmtsystem_action_form" model="ir.ui.view">
857+ <field name="name">mgmtsystem.action.form</field>
858+ <field name="type">form</field>
859+ <field name="model">mgmtsystem.action</field>
860+ <field name="arch" type="xml">
861+ <form string="Action">
862+ <group colspan="4" col="4">
863+ <group colspan="1" col="2">
864+ <field name="name"/>
865+ <field name="user_id" string="Responsible"/>
866+ </group>
867+ <group colspan="1" col="2">
868+ <field name="date" string="Date of Claim"/>
869+ <field name="type_action" required="True"/>
870+ </group>
871+ <group colspan="1" col="2">
872+ <field name="date_deadline" string="Deadline"/>
873+ </group>
874+ <separator colspan="4" string="Claim/Action Description"/>
875+ <field name="description" colspan="4" nolabel="1"/>
876+ </group>
877+ <group colspan="4" col="4">
878+
879+ <notebook>
880+ <page string="History" groups="base.group_extended">
881+ <group colspan="4">
882+ <field colspan="4" name="email_cc" string="Global CC" widget="char"/>
883+ </group>
884+ <field name="message_ids" colspan="4" nolabel="1" mode="tree,form">
885+ <tree string="History">
886+ <field name="display_text" string="History Information"/>
887+ <button string="Reply" name="306" context="{'mail':'reply', 'model': 'crm.claim', 'include_original' : True}" icon="terp-mail-replied" type="action" attrs="{'invisible': [('history', '!=', True)]}"/>
888+ </tree>
889+ <form string="History">
890+ <group col="4" colspan="4">
891+ <field name="email_from"/>
892+ <field name="date"/>
893+ <field name="email_to" widget="char" size="512"/>
894+ <field name="email_cc" widget="char" size="512"/>
895+ <field name="name" colspan="4" widget="char" size="512"/>
896+ <field name="history" invisible="1"/>
897+ </group>
898+ <notebook colspan="4">
899+ <page string="Details">
900+ <group attrs="{'invisible': [('history', '!=', True)]}">
901+ <field name="description" colspan="4" nolabel="1" height="250"/>
902+ <button colspan="4" string="Reply" name="306" context="{'mail':'reply', 'model': 'crm.claim', 'include_original' : True}" icon="terp-mail-replied" type="action"/>
903+ </group>
904+ <group attrs="{'invisible': [('history', '=', True)]}">
905+ <field name="display_text" colspan="4" nolabel="1" height="250"/>
906+ </group>
907+ </page>
908+ <page string="Attachments">
909+ <field name="attachment_ids" colspan="4" readonly="1" nolabel="1"/>
910+ </page>
911+ </notebook>
912+ </form>
913+ </field>
914+ <button string="Add Internal Note" name="308" context="{'model': 'crm.lead' }" icon="terp-document-new" type="action"/>
915+ <button string="Send New Email" name="306" context="{'mail':'new', 'model': 'crm.claim'}" icon="terp-mail-message-new" type="action"/>
916+ </page>
917+ </notebook>
918+ </group>
919+ <group col="8" colspan="4">
920+ <field name="state" select="1"/>
921+ <button name="case_open" string="Open" states="draft,pending" type="object" icon="gtk-go-forward"/>
922+ <button name="case_close" string="Done" states="open,draft,pending" type="object" icon="gtk-jump-to"/>
923+ </group>
924+ </form>
925+ </field>
926+ </record>
927+
928+ <record id="open_mgmtsystem_action_list" model="ir.actions.act_window">
929+ <field name="name">Actions</field>
930+ <field name="res_model">mgmtsystem.action</field>
931+ <field name="view_type">form</field>
932+ <field name="view_mode">tree,form</field>
933+ </record>
934+
935+ <menuitem id="menu_open_action"
936+ action="open_mgmtsystem_action_list"
937+ parent="mgmtsystem.menu_mgmtsystem_main"
938+ sequence="30"
939+ groups="base.group_mgmtsystem_manager,base.group_mgmtsystem_auditor,base.group_user"/>
940+
941+ </data>
942+</openerp>
943
944=== added directory 'mgmtsystem_audit'
945=== added file 'mgmtsystem_audit/__init__.py'
946--- mgmtsystem_audit/__init__.py 1970-01-01 00:00:00 +0000
947+++ mgmtsystem_audit/__init__.py 2010-12-14 20:53:21 +0000
948@@ -0,0 +1,23 @@
949+# -*- encoding: utf-8 -*-
950+##############################################################################
951+#
952+# OpenERP, Open Source Management Solution
953+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
954+#
955+# This program is free software: you can redistribute it and/or modify
956+# it under the terms of the GNU General Public License as
957+# published by the Free Software Foundation, either version 3 of the
958+# License, or (at your option) any later version.
959+#
960+# This program is distributed in the hope that it will be useful,
961+# but WITHOUT ANY WARRANTY; without even the implied warranty of
962+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
963+# GNU General Public License for more details.
964+#
965+# You should have received a copy of the GNU General Public License
966+# along with this program. If not, see <http://www.gnu.org/licenses/>.
967+#
968+##############################################################################
969+import mgmtsystem_audit
970+import report
971+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
972
973=== added file 'mgmtsystem_audit/__openerp__.py'
974--- mgmtsystem_audit/__openerp__.py 1970-01-01 00:00:00 +0000
975+++ mgmtsystem_audit/__openerp__.py 2010-12-14 20:53:21 +0000
976@@ -0,0 +1,49 @@
977+# -*- encoding: utf-8 -*-
978+##############################################################################
979+#
980+# OpenERP, Open Source Management Solution
981+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
982+#
983+# This program is free software: you can redistribute it and/or modify
984+# it under the terms of the GNU General Public License as
985+# published by the Free Software Foundation, either version 3 of the
986+# License, or (at your option) any later version.
987+#
988+# This program is distributed in the hope that it will be useful,
989+# but WITHOUT ANY WARRANTY; without even the implied warranty of
990+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
991+# GNU General Public License for more details.
992+#
993+# You should have received a copy of the GNU General Public License
994+# along with this program. If not, see <http://www.gnu.org/licenses/>.
995+#
996+##############################################################################
997+{
998+ "name" : "Management System - Audit",
999+ "version" : "0.1",
1000+ "author" : "Savoir-faire Linux",
1001+ "website" : "http://www.savoirfairelinux.com",
1002+ "license" : "GPL-3",
1003+ "category" : "Management System",
1004+ "description": """
1005+ This module enables you to manage audits and verifications lists of
1006+ your management system.
1007+ """,
1008+ "depends" : ['mgmtsystem_nonconformity'],
1009+ "init_xml" : [
1010+ 'audit_sequence.xml',
1011+ ],
1012+ "update_xml" : [
1013+ 'mgmtsystem_audit.xml',
1014+ 'report/audit_report.xml',
1015+ 'report/verification_list.xml',
1016+ 'board_mgmtsystem_audit.xml',
1017+ ],
1018+ "demo_xml" : [
1019+ 'demo_audit.xml',
1020+ ],
1021+ "installable" : True,
1022+ "certificate" : ''
1023+}
1024+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
1025+
1026
1027=== added file 'mgmtsystem_audit/audit_sequence.xml'
1028--- mgmtsystem_audit/audit_sequence.xml 1970-01-01 00:00:00 +0000
1029+++ mgmtsystem_audit/audit_sequence.xml 2010-12-14 20:53:21 +0000
1030@@ -0,0 +1,19 @@
1031+<?xml version="1.0" encoding="utf-8"?>
1032+<openerp>
1033+ <data noupdate="1">
1034+
1035+ <!-- Sequences for mgmtsystem.audit -->
1036+ <record id="seq_type_mgmtsystem_audit" model="ir.sequence.type">
1037+ <field name="name">Management System Audit</field>
1038+ <field name="code">mgmtsystem.audit</field>
1039+ </record>
1040+
1041+ <record id="seq_mgmtsystem_audit" model="ir.sequence">
1042+ <field name="name">Management System Audit</field>
1043+ <field name="code">mgmtsystem.audit</field>
1044+ <field name="prefix">MSA</field>
1045+ <field name="padding">3</field>
1046+ </record>
1047+
1048+ </data>
1049+</openerp>
1050
1051=== added file 'mgmtsystem_audit/board_mgmtsystem_audit.xml'
1052--- mgmtsystem_audit/board_mgmtsystem_audit.xml 1970-01-01 00:00:00 +0000
1053+++ mgmtsystem_audit/board_mgmtsystem_audit.xml 2010-12-14 20:53:21 +0000
1054@@ -0,0 +1,26 @@
1055+<?xml version="1.0" encoding="utf-8"?>
1056+<openerp>
1057+ <data>
1058+
1059+ <record id="action_mgmtsystem_audit" model="ir.actions.act_window">
1060+ <field name="res_model">mgmtsystem.audit</field>
1061+ <field name="view_type">form</field>
1062+ <field name="view_mode">tree</field>
1063+ <field name="view_id" ref="view_mgmtsystem_audit_tree"/>
1064+ <field name="domain">[('state','=','o')]</field>
1065+ </record>
1066+
1067+ <record id="board_mgmtsystem_audit_form" model="ir.ui.view">
1068+ <field name="name">board.mgmtsystem.audit.form</field>
1069+ <field name="model">board.board</field>
1070+ <field name="inherit_id" ref="mgmtsystem.board_mgmtsystem_form"/>
1071+ <field name="type">form</field>
1072+ <field name="arch" type="xml">
1073+ <xpath expr="/form/hpaned/child2" position="inside">
1074+ <action name="%(action_mgmtsystem_audit)d" string="Open Audits"/>
1075+ </xpath>
1076+ </field>
1077+ </record>
1078+
1079+ </data>
1080+</openerp>
1081
1082=== added file 'mgmtsystem_audit/demo_audit.xml'
1083--- mgmtsystem_audit/demo_audit.xml 1970-01-01 00:00:00 +0000
1084+++ mgmtsystem_audit/demo_audit.xml 2010-12-14 20:53:21 +0000
1085@@ -0,0 +1,17 @@
1086+<?xml version="1.0" encoding="utf-8"?>
1087+<openerp>
1088+ <data noupdate="1">
1089+
1090+ <record id="mgmtsystem_audit_demo" model="mgmtsystem.audit">
1091+ <field name="name">Quality</field>
1092+ <field name="date">2010-12-03</field>
1093+ <field name="strong_points">* Good documentation</field>
1094+ <field name="to_improve_points">* Procedure respect</field>
1095+ <field name="auditor_user_ids" eval="[(6,0,[ref('base.user_demo')])]"/>
1096+ <field name="auditee_user_ids" eval="[(6,0,[ref('base.user_root')])]"/>
1097+ <field name="imp_opp_ids" eval="[(6,0,[ref('mgmtsystem_action.demo_improvement')])]"/>
1098+ <field name="nonconformity_ids" eval="[(6,0,[ref('mgmtsystem_nonconformity.demo_nonconformity')])]"/>
1099+ </record>
1100+
1101+ </data>
1102+</openerp>
1103
1104=== added directory 'mgmtsystem_audit/i18n'
1105=== added file 'mgmtsystem_audit/i18n/mgmtsystem_audit.pot'
1106--- mgmtsystem_audit/i18n/mgmtsystem_audit.pot 1970-01-01 00:00:00 +0000
1107+++ mgmtsystem_audit/i18n/mgmtsystem_audit.pot 2010-12-14 20:53:21 +0000
1108@@ -0,0 +1,248 @@
1109+# Translation of OpenERP Server.
1110+# This file contains the translation of the following modules:
1111+# * mgmtsystem_audit
1112+#
1113+msgid ""
1114+msgstr ""
1115+"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
1116+"Report-Msgid-Bugs-To: support@openerp.com\n"
1117+"POT-Creation-Date: 2010-12-02 23:48:51+0000\n"
1118+"PO-Revision-Date: 2010-12-02 23:48:51+0000\n"
1119+"Last-Translator: <>\n"
1120+"Language-Team: \n"
1121+"MIME-Version: 1.0\n"
1122+"Content-Type: text/plain; charset=UTF-8\n"
1123+"Content-Transfer-Encoding: \n"
1124+"Plural-Forms: \n"
1125+
1126+#. module: mgmtsystem_audit
1127+#: view:mgmtsystem.audit:0
1128+#: selection:mgmtsystem.audit,state:0
1129+msgid "Closed"
1130+msgstr "Closed"
1131+
1132+#. module: mgmtsystem_audit
1133+#: report:mgmtsystem.audit.report:0
1134+#: report:mgmtsystem.audit.verificationlist:0
1135+msgid "Date:"
1136+msgstr "Date:"
1137+
1138+#. module: mgmtsystem_audit
1139+#: view:mgmtsystem.audit:0
1140+#: field:mgmtsystem.audit,nonconformity_ids:0
1141+#: report:mgmtsystem.audit.report:0
1142+msgid "Nonconformities"
1143+msgstr "Nonconformities"
1144+
1145+#. module: mgmtsystem_audit
1146+#: view:mgmtsystem.audit:0
1147+#: field:mgmtsystem.audit,auditor_user_ids:0
1148+msgid "Auditors"
1149+msgstr "Auditors"
1150+
1151+#. module: mgmtsystem_audit
1152+#: report:mgmtsystem.audit.verificationlist:0
1153+#: field:mgmtsystem.verification.line,comments:0
1154+msgid "Comments"
1155+msgstr "Comments"
1156+
1157+#. module: mgmtsystem_audit
1158+#: field:mgmtsystem.audit,state:0
1159+msgid "State"
1160+msgstr "State"
1161+
1162+#. module: mgmtsystem_audit
1163+#: model:ir.actions.report.xml,name:mgmtsystem_audit.mgmtsystem_audit_report
1164+msgid "Print Report"
1165+msgstr "Print Report"
1166+
1167+#. module: mgmtsystem_audit
1168+#: report:mgmtsystem.audit.verificationlist:0
1169+msgid "Conformed?"
1170+msgstr "Conformed?"
1171+
1172+#. module: mgmtsystem_audit
1173+#: model:ir.actions.act_window,name:mgmtsystem_audit.open_mgmtsystem_verification_line_list
1174+#: view:mgmtsystem.verification.line:0
1175+msgid "Verification Lines"
1176+msgstr "Verification Lines"
1177+
1178+#. module: mgmtsystem_audit
1179+#: view:mgmtsystem.audit:0
1180+#: field:mgmtsystem.audit,strong_points:0
1181+msgid "Strong Points"
1182+msgstr "Strong Points"
1183+
1184+#. module: mgmtsystem_audit
1185+#: field:mgmtsystem.verification.line,is_conformed:0
1186+msgid "Is conformed"
1187+msgstr "Is conformed"
1188+
1189+#. module: mgmtsystem_audit
1190+#: model:ir.actions.report.xml,name:mgmtsystem_audit.mgmtsystem_audit_verification_list
1191+msgid "Print Verification List"
1192+msgstr "Print Verification List"
1193+
1194+#. module: mgmtsystem_audit
1195+#: view:mgmtsystem.audit:0
1196+#: field:mgmtsystem.audit,imp_opp_ids:0
1197+msgid "Improvement Opportunities"
1198+msgstr "Improvement Opportunities"
1199+
1200+#. module: mgmtsystem_audit
1201+#: view:mgmtsystem.audit:0
1202+#: field:mgmtsystem.audit,auditee_user_ids:0
1203+msgid "Auditees"
1204+msgstr "Auditees"
1205+
1206+#. module: mgmtsystem_audit
1207+#: report:mgmtsystem.audit.report:0
1208+#: report:mgmtsystem.audit.verificationlist:0
1209+msgid "-"
1210+msgstr "-"
1211+
1212+#. module: mgmtsystem_audit
1213+#: report:mgmtsystem.audit.report:0
1214+msgid "."
1215+msgstr "."
1216+
1217+#. module: mgmtsystem_audit
1218+#: field:mgmtsystem.audit,date:0
1219+msgid "Date"
1220+msgstr "Date"
1221+
1222+#. module: mgmtsystem_audit
1223+#: report:mgmtsystem.audit.report:0
1224+#: report:mgmtsystem.audit.verificationlist:0
1225+msgid "Reference:"
1226+msgstr "Reference:"
1227+
1228+#. module: mgmtsystem_audit
1229+#: view:board.board:0
1230+msgid "Open Audits"
1231+msgstr "Open Audits"
1232+
1233+#. module: mgmtsystem_audit
1234+#: model:ir.model,name:mgmtsystem_audit.model_mgmtsystem_audit
1235+#: view:mgmtsystem.audit:0
1236+#: field:mgmtsystem.verification.line,audit_id:0
1237+msgid "Audit"
1238+msgstr "Audit"
1239+
1240+#. module: mgmtsystem_audit
1241+#: field:mgmtsystem.audit,name:0
1242+msgid "Name"
1243+msgstr "Name"
1244+
1245+#. module: mgmtsystem_audit
1246+#: report:mgmtsystem.audit.report:0
1247+msgid "Improvement opportunities"
1248+msgstr "Improvement opportunities"
1249+
1250+#. module: mgmtsystem_audit
1251+#: report:mgmtsystem.audit.verificationlist:0
1252+#: field:mgmtsystem.verification.line,name:0
1253+msgid "Question"
1254+msgstr "Question"
1255+
1256+#. module: mgmtsystem_audit
1257+#: field:mgmtsystem.audit,to_improve_points:0
1258+#: report:mgmtsystem.audit.report:0
1259+msgid "Points To Improve"
1260+msgstr "Points To Improve"
1261+
1262+#. module: mgmtsystem_audit
1263+#: report:mgmtsystem.audit.verificationlist:0
1264+msgid "Auditees:"
1265+msgstr "Auditees:"
1266+
1267+#. module: mgmtsystem_audit
1268+#: report:mgmtsystem.audit.verificationlist:0
1269+msgid "Yes / No"
1270+msgstr "Yes / No"
1271+
1272+#. module: mgmtsystem_audit
1273+#: report:mgmtsystem.audit.report:0
1274+msgid "Strong points"
1275+msgstr "Strong points"
1276+
1277+#. module: mgmtsystem_audit
1278+#: field:mgmtsystem.audit,id:0
1279+#: field:mgmtsystem.verification.line,id:0
1280+msgid "ID"
1281+msgstr "ID"
1282+
1283+#. module: mgmtsystem_audit
1284+#: model:ir.module.module,shortdesc:mgmtsystem_audit.module_meta_information
1285+msgid "Management System - Audit"
1286+msgstr "Management System - Audit"
1287+
1288+#. module: mgmtsystem_audit
1289+#: field:mgmtsystem.audit,reference:0
1290+msgid "Reference"
1291+msgstr "Reference"
1292+
1293+#. module: mgmtsystem_audit
1294+#: report:mgmtsystem.audit.report:0
1295+#: report:mgmtsystem.audit.verificationlist:0
1296+msgid "Confidentiality: Internal"
1297+msgstr "Confidentiality: Internal"
1298+
1299+#. module: mgmtsystem_audit
1300+#: view:mgmtsystem.audit:0
1301+#: selection:mgmtsystem.audit,state:0
1302+msgid "Open"
1303+msgstr "Open"
1304+
1305+#. module: mgmtsystem_audit
1306+#: report:mgmtsystem.audit.report:0
1307+msgid "Audit Report"
1308+msgstr "Audit Report"
1309+
1310+#. module: mgmtsystem_audit
1311+#: view:mgmtsystem.audit:0
1312+#: field:mgmtsystem.audit,line_ids:0
1313+#: report:mgmtsystem.audit.verificationlist:0
1314+msgid "Verification List"
1315+msgstr "Verification List"
1316+
1317+#. module: mgmtsystem_audit
1318+#: view:mgmtsystem.audit:0
1319+msgid "To Improve Points"
1320+msgstr "To Improve Points"
1321+
1322+#. module: mgmtsystem_audit
1323+#: model:ir.module.module,description:mgmtsystem_audit.module_meta_information
1324+msgid "\n"
1325+" This module enables you to manage audits and verifications lists of \n"
1326+" your management system.\n"
1327+" "
1328+msgstr "\n"
1329+" This module enables you to manage audits and verifications lists of \n"
1330+" your management system.\n"
1331+" "
1332+
1333+#. module: mgmtsystem_audit
1334+#: model:ir.model,name:mgmtsystem_audit.model_mgmtsystem_verification_line
1335+#: view:mgmtsystem.verification.line:0
1336+msgid "Verification Line"
1337+msgstr "Verification Line"
1338+
1339+#. module: mgmtsystem_audit
1340+#: view:mgmtsystem.audit:0
1341+msgid "Close"
1342+msgstr "Close"
1343+
1344+#. module: mgmtsystem_audit
1345+#: model:ir.actions.act_window,name:mgmtsystem_audit.open_mgmtsystem_audit_list
1346+#: model:ir.ui.menu,name:mgmtsystem_audit.menu_open_audit
1347+#: view:mgmtsystem.audit:0
1348+msgid "Audits"
1349+msgstr "Audits"
1350+
1351+#. module: mgmtsystem_audit
1352+#: report:mgmtsystem.audit.report:0
1353+#: report:mgmtsystem.audit.verificationlist:0
1354+msgid "Auditors:"
1355+msgstr "Auditors:"
1356+
1357
1358=== added file 'mgmtsystem_audit/mgmtsystem_audit.py'
1359--- mgmtsystem_audit/mgmtsystem_audit.py 1970-01-01 00:00:00 +0000
1360+++ mgmtsystem_audit/mgmtsystem_audit.py 2010-12-14 20:53:21 +0000
1361@@ -0,0 +1,76 @@
1362+# -*- encoding: utf-8 -*-
1363+##############################################################################
1364+#
1365+# OpenERP, Open Source Management Solution
1366+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
1367+#
1368+# This program is free software: you can redistribute it and/or modify
1369+# it under the terms of the GNU General Public License as
1370+# published by the Free Software Foundation, either version 3 of the
1371+# License, or (at your option) any later version.
1372+#
1373+# This program is distributed in the hope that it will be useful,
1374+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1375+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1376+# GNU General Public License for more details.
1377+#
1378+# You should have received a copy of the GNU General Public License
1379+# along with this program. If not, see <http://www.gnu.org/licenses/>.
1380+#
1381+##############################################################################
1382+
1383+from osv import fields, osv
1384+from tools.translate import _
1385+
1386+class mgmtsystem_audit(osv.osv):
1387+ _name = "mgmtsystem.audit"
1388+ _description = "Audit"
1389+ _columns = {
1390+ 'id': fields.integer('ID', readonly=True),
1391+ 'name': fields.char('Name', size=50),
1392+ 'reference': fields.char('Reference', size=64, required=True, readonly=True),
1393+ 'date': fields.date('Date'),
1394+ 'line_ids': fields.one2many('mgmtsystem.verification.line','audit_id','Verification List'),
1395+ 'auditor_user_ids': fields.many2many('res.users','mgmtsystem_auditor_user_rel','user_id','mgmtsystem_audit_id','Auditors'),
1396+ 'auditee_user_ids': fields.many2many('res.users','mgmtsystem_auditee_user_rel','user_id','mgmtsystem_audit_id','Auditees'),
1397+ 'strong_points': fields.text('Strong Points'),
1398+ 'to_improve_points': fields.text('Points To Improve'),
1399+ 'imp_opp_ids': fields.many2many('mgmtsystem.action','mgmtsystem_audit_imp_opp_rel','mgmtsystem_action_id','mgmtsystem_audit_id','Improvement Opportunities'),
1400+ 'nonconformity_ids': fields.many2many('mgmtsystem.nonconformity','mgmtsystem_audit_nonconformity_rel','mgmtsystem_action_id','mgmtsystem_audit_id','Nonconformities'),
1401+ 'state': fields.selection([('o','Open'),('c','Closed')], 'State')
1402+ }
1403+
1404+ _defaults = {
1405+ 'reference': 'NEW',
1406+ 'state': 'o'
1407+ }
1408+
1409+ def create(self, cr, uid, vals, context=None):
1410+ vals.update({
1411+ 'reference': self.pool.get('ir.sequence').get(cr, uid, 'mgmtsystem.audit')
1412+ })
1413+ return super(mgmtsystem_audit, self).create(cr, uid, vals, context)
1414+
1415+ def button_close(self, cr, uid, ids, context=None):
1416+ return self.write(cr, uid, ids, {'state': 'c'})
1417+
1418+mgmtsystem_audit()
1419+
1420+class mgmtsystem_verification_line(osv.osv):
1421+ _name = "mgmtsystem.verification.line"
1422+ _description = "Verification Line"
1423+ _columns = {
1424+ 'id': fields.integer('ID', readonly=True),
1425+ 'name': fields.char('Question',size=300, required=True),
1426+ 'audit_id': fields.many2one('mgmtsystem.audit', 'Audit', ondelete='cascade', select=True),
1427+ 'is_conformed': fields.boolean('Is conformed'),
1428+ 'comments': fields.text('Comments'),
1429+ }
1430+
1431+ _defaults = {
1432+ 'is_conformed': False
1433+ }
1434+
1435+mgmtsystem_verification_line()
1436+
1437+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
1438
1439=== added file 'mgmtsystem_audit/mgmtsystem_audit.xml'
1440--- mgmtsystem_audit/mgmtsystem_audit.xml 1970-01-01 00:00:00 +0000
1441+++ mgmtsystem_audit/mgmtsystem_audit.xml 2010-12-14 20:53:21 +0000
1442@@ -0,0 +1,160 @@
1443+<openerp>
1444+ <data>
1445+
1446+ <!-- Verification Lines -->
1447+
1448+ <record id="view_mgmtsystem_verification_line_tree" model="ir.ui.view">
1449+ <field name="name">mgmtsystem.verification.line.tree</field>
1450+ <field name="model">mgmtsystem.verification.line</field>
1451+ <field name="type">tree</field>
1452+ <field name="arch" type="xml">
1453+ <tree string="Verification Lines">
1454+ <field name="name"/>
1455+ <field name="is_conformed"/>
1456+ <field name="comments"/>
1457+ </tree>
1458+ </field>
1459+ </record>
1460+
1461+ <record id="view_mgmtsystem_verification_line_filter" model="ir.ui.view">
1462+ <field name="name">mgmtsystem.verification.line.filter</field>
1463+ <field name="model">mgmtsystem.verification.line</field>
1464+ <field name="type">search</field>
1465+ <field name="arch" type="xml">
1466+ <search string="Verification Lines">
1467+ <group>
1468+ <field name="name"/>
1469+ <field name="is_conformed"/>
1470+ <field name="comments"/>
1471+ </group>
1472+ </search>
1473+ </field>
1474+ </record>
1475+
1476+ <record id="view_mgmtsystem_verification_line_form" model="ir.ui.view">
1477+ <field name="name">mgmtsystem.verification.line.form</field>
1478+ <field name="type">form</field>
1479+ <field name="model">mgmtsystem.verification.line</field>
1480+ <field name="arch" type="xml">
1481+ <form string="Verification Line">
1482+ <group colspan="4" col="4">
1483+ <field name="name"/>
1484+ <field name="is_conformed"/>
1485+ <newline/>
1486+ <field name="comments"/>
1487+ </group>
1488+ </form>
1489+ </field>
1490+ </record>
1491+
1492+ <record id="open_mgmtsystem_verification_line_list" model="ir.actions.act_window">
1493+ <field name="name">Verification Lines</field>
1494+ <field name="res_model">mgmtsystem.verification.line</field>
1495+ <field name="view_type">form</field>
1496+ <field name="view_mode">tree,form</field>
1497+ </record>
1498+
1499+ <!-- Audits -->
1500+
1501+ <record id="view_mgmtsystem_audit_tree" model="ir.ui.view">
1502+ <field name="name">mgmtsystem.audit.tree</field>
1503+ <field name="model">mgmtsystem.audit</field>
1504+ <field name="type">tree</field>
1505+ <field name="arch" type="xml">
1506+ <tree string="Audits">
1507+ <field name="name" attrs="{'readonly':[('state','=','c')]}"/>
1508+ <field name="date" attrs="{'readonly':[('state','=','c')]}"/>
1509+ <field name="reference"/>
1510+ </tree>
1511+ </field>
1512+ </record>
1513+
1514+ <record id="view_mgmtsystem_audit_filter" model="ir.ui.view">
1515+ <field name="name">mgmtsystem.audit.filter</field>
1516+ <field name="model">mgmtsystem.audit</field>
1517+ <field name="type">search</field>
1518+ <field name="arch" type="xml">
1519+ <search string="Audits">
1520+ <group>
1521+ <filter icon="terp-document-new" domain="[('state','=','o')]" string="Open" help="Open Audits"/>
1522+ <filter icon="terp-camera_test" domain="[('state','=','c')]" string="Closed" help="Closed Audits"/>
1523+ <separator orientation="vertical"/>
1524+ <field name="name"/>
1525+ <field name="date"/>
1526+ <field name="reference"/>
1527+ </group>
1528+ </search>
1529+ </field>
1530+ </record>
1531+
1532+ <record id="view_mgmtsystem_audit_form" model="ir.ui.view">
1533+ <field name="name">mgmtsystem.audit.form</field>
1534+ <field name="type">form</field>
1535+ <field name="model">mgmtsystem.audit</field>
1536+ <field name="arch" type="xml">
1537+ <form string="Audit">
1538+ <group col="6" colspan="6">
1539+ <field name="name" attrs="{'readonly':[('state','=','c')]}"/>
1540+ <field name="reference"/>
1541+ <field name="date" attrs="{'readonly':[('state','=','c')]}"/>
1542+ </group>
1543+ <notebook colspan="4">
1544+ <page string="Auditors">
1545+ <field name="auditor_user_ids" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
1546+ </page>
1547+ <page string="Auditees">
1548+ <field name="auditee_user_ids" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
1549+ </page>
1550+ <page string="Verification List">
1551+ <field name="line_ids" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
1552+ </page>
1553+ <page string="Strong Points">
1554+ <field name="strong_points" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
1555+ </page>
1556+ <page string="To Improve Points">
1557+ <field name="to_improve_points" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
1558+ </page>
1559+ <page string="Improvement Opportunities">
1560+ <field name="imp_opp_ids" domain="[('type_action','=','improvement')]" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
1561+ </page>
1562+ <page string="Nonconformities">
1563+ <field name="nonconformity_ids" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
1564+ </page>
1565+ </notebook>
1566+ <group colspan="4">
1567+ <field name="state" select="1" readonly="1"/>
1568+ <button name="button_close" string="Close" states="o" type="object" icon="gtk-jump-to"/>
1569+ </group>
1570+ </form>
1571+ </field>
1572+ </record>
1573+
1574+ <record id="view_audit_calendar" model="ir.ui.view">
1575+ <field name="name">mgmtsystem.audit.calendar</field>
1576+ <field name="model">mgmtsystem.audit</field>
1577+ <field name="type">calendar</field>
1578+ <field eval="2" name="priority"/>
1579+ <field name="arch" type="xml">
1580+ <calendar color="name" date_start="date" string="Audits">
1581+ <field name="name"/>
1582+ <field name="auditor_user_ids"/>
1583+ </calendar>
1584+ </field>
1585+ </record>
1586+
1587+ <record id="open_mgmtsystem_audit_list" model="ir.actions.act_window">
1588+ <field name="name">Audits</field>
1589+ <field name="res_model">mgmtsystem.audit</field>
1590+ <field name="view_type">form</field>
1591+ <field name="view_mode">tree,form,calendar</field>
1592+ <field name="search_view_id" ref="view_mgmtsystem_audit_filter"/>
1593+ </record>
1594+
1595+ <menuitem id="menu_open_audit"
1596+ action="open_mgmtsystem_audit_list"
1597+ parent="mgmtsystem.menu_mgmtsystem_main"
1598+ sequence="10"
1599+ groups="base.group_mgmtsystem_manager,base.group_mgmtsystem_auditor"/>
1600+
1601+ </data>
1602+</openerp>
1603
1604=== added directory 'mgmtsystem_audit/report'
1605=== added file 'mgmtsystem_audit/report/__init__.py'
1606--- mgmtsystem_audit/report/__init__.py 1970-01-01 00:00:00 +0000
1607+++ mgmtsystem_audit/report/__init__.py 2010-12-14 20:53:21 +0000
1608@@ -0,0 +1,23 @@
1609+# -*- encoding: utf-8 -*-
1610+##############################################################################
1611+#
1612+# OpenERP, Open Source Management Solution
1613+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
1614+#
1615+# This program is free software: you can redistribute it and/or modify
1616+# it under the terms of the GNU General Public License as
1617+# published by the Free Software Foundation, either version 3 of the
1618+# License, or (at your option) any later version.
1619+#
1620+# This program is distributed in the hope that it will be useful,
1621+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1622+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1623+# GNU General Public License for more details.
1624+#
1625+# You should have received a copy of the GNU General Public License
1626+# along with this program. If not, see <http://www.gnu.org/licenses/>.
1627+#
1628+##############################################################################
1629+import audit_report
1630+import verification_list
1631+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
1632
1633=== added file 'mgmtsystem_audit/report/audit_report.py'
1634--- mgmtsystem_audit/report/audit_report.py 1970-01-01 00:00:00 +0000
1635+++ mgmtsystem_audit/report/audit_report.py 2010-12-14 20:53:21 +0000
1636@@ -0,0 +1,39 @@
1637+# -*- encoding: utf-8 -*-
1638+##############################################################################
1639+#
1640+# OpenERP, Open Source Management Solution
1641+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
1642+#
1643+# This program is free software: you can redistribute it and/or modify
1644+# it under the terms of the GNU General Public License as
1645+# published by the Free Software Foundation, either version 3 of the
1646+# License, or (at your option) any later version.
1647+#
1648+# This program is distributed in the hope that it will be useful,
1649+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1650+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1651+# GNU General Public License for more details.
1652+#
1653+# You should have received a copy of the GNU General Public License
1654+# along with this program. If not, see <http://www.gnu.org/licenses/>.
1655+#
1656+##############################################################################
1657+
1658+import time
1659+from report import report_sxw
1660+
1661+class mgmtsystem_audit_report(report_sxw.rml_parse):
1662+ def __init__(self, cr, uid, name, context):
1663+ super(mgmtsystem_audit_report, self).__init__(cr, uid, name, context)
1664+ self.localcontext.update({
1665+ 'time': time,
1666+ })
1667+
1668+report_sxw.report_sxw(
1669+ 'report.mgmtsystem.audit.report',
1670+ 'mgmtsystem.audit',
1671+ 'addons/mgmtsystem_audit/report/audit_report.rml',
1672+ parser=mgmtsystem_audit_report
1673+)
1674+
1675+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
1676
1677=== added file 'mgmtsystem_audit/report/audit_report.rml'
1678--- mgmtsystem_audit/report/audit_report.rml 1970-01-01 00:00:00 +0000
1679+++ mgmtsystem_audit/report/audit_report.rml 2010-12-14 20:53:21 +0000
1680@@ -0,0 +1,87 @@
1681+<?xml version="1.0"?>
1682+<document filename="Audit Report.pdf">
1683+ <template pageSize="(595.0,842.0)" title="Audit Report" author="Savoir-faire Linux" allowSplitting="20">
1684+ <pageTemplate id="first">
1685+ <frame id="first" x1="15.0" y1="42.0" width="539" height="758"/>
1686+ </pageTemplate>
1687+ </template>
1688+ <stylesheet>
1689+ <blockTableStyle id="Standard_Outline">
1690+ <blockAlignment value="LEFT"/>
1691+ <blockValign value="TOP"/>
1692+ </blockTableStyle>
1693+ <initialize>
1694+ <paraStyle name="all" alignment="justify"/>
1695+ </initialize>
1696+ <paraStyle name="Standard" fontName="Helvetica"/>
1697+ <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
1698+ <paraStyle name="Heading" fontName="Helvetica" fontSize="8.0" leading="10" spaceBefore="12.0" spaceAfter="6.0"/>
1699+ <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
1700+ <paraStyle name="Table Contents" fontName="Helvetica"/>
1701+ <paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER"/>
1702+ <paraStyle name="Caption" fontName="Helvetica" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
1703+ <paraStyle name="Index" fontName="Helvetica"/>
1704+ <paraStyle name="terp_header" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
1705+ <paraStyle name="terp_default_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
1706+ <paraStyle name="terp_default_Bold_8" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
1707+ <paraStyle name="terp_default_Bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
1708+ <paraStyle name="terp_default_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
1709+ <paraStyle name="terp_tblheader_General" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
1710+ <paraStyle name="terp_tblheader_General_Centre" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
1711+ <paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
1712+ <paraStyle name="terp_tblheader_Details" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
1713+ <paraStyle name="Footer" fontName="Helvetica"/>
1714+ <paraStyle name="Horizontal Line" fontName="Helvetica" fontSize="6.0" leading="8" spaceBefore="0.0" spaceAfter="14.0"/>
1715+ <paraStyle name="Heading 9" fontName="Helvetica-Bold" fontSize="75%" leading="NaN" spaceBefore="12.0" spaceAfter="6.0"/>
1716+ <paraStyle name="terp_tblheader_General_Right" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
1717+ <paraStyle name="terp_tblheader_Details_Centre" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
1718+ <paraStyle name="terp_tblheader_Details_Right" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
1719+ <paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
1720+ <paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
1721+ <paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
1722+ <paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
1723+ <paraStyle name="terp_default_Centre_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
1724+ <paraStyle name="terp_default_Right_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
1725+ <paraStyle name="terp_default_1" fontName="Helvetica" fontSize="2.0" leading="3" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
1726+ <paraStyle name="terp_default_Right_9_Bold" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
1727+ <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"/>
1728+ <paraStyle name="Preformatted Text" fontName="Helvetica" fontSize="10.0" leading="13" spaceBefore="0.0" spaceAfter="0.0"/>
1729+ <paraStyle name="terp_default_Centre_9_Bold" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
1730+ <images/>
1731+ </stylesheet>
1732+ <story>
1733+ <pto>
1734+ <para style="terp_default_8">[[repeatIn(objects,'o')]]</para>
1735+ <para style="terp_default_8">
1736+ <font color="white"> </font>
1737+ </para>
1738+ <para style="terp_header_Centre">Audit Report</para>
1739+ <para style="terp_header_Centre">[[ o.name ]]</para>
1740+ <para style="terp_default_8">
1741+ <font color="white"> </font>
1742+ </para>
1743+ <para>Confidentiality: Internal</para>
1744+ <para>Reference: [[ o.reference ]]</para>
1745+ <para>Date: [[ o.date ]]</para>
1746+ <para>Auditors:</para>
1747+ <section>
1748+ <para>[[repeatIn(o.auditor_user_ids,'auditor')]]</para>
1749+ <para>- [[ auditor.name ]] </para>
1750+ </section>
1751+ <para style="terp_header">Strong points</para>
1752+ <para>[[ o.strong_points ]]</para>
1753+ <para style="terp_header">Points To Improve</para>
1754+ <para>[[ o.to_improve_points ]]</para>
1755+ <para style="terp_header">Improvement opportunities</para>
1756+ <section>
1757+ <para>[[ repeatIn(o.imp_opp_ids,'improvement') ]]</para>
1758+ <para leftIndent="15" bulletIndent="20"><bullet size="20">.</bullet>[[ improvement.name ]]</para>
1759+ </section>
1760+ <para style="terp_header">Nonconformities</para>
1761+ <section>
1762+ <para>[[ repeatIn(o.nonconformity_ids,'nonconformity') ]]</para>
1763+ <para leftIndent="15" bulletIndent="20"><bullet size="20">.</bullet>[[ nonconformity.description ]]</para>
1764+ </section>
1765+ </pto>
1766+ </story>
1767+</document>
1768
1769=== added file 'mgmtsystem_audit/report/audit_report.xml'
1770--- mgmtsystem_audit/report/audit_report.xml 1970-01-01 00:00:00 +0000
1771+++ mgmtsystem_audit/report/audit_report.xml 2010-12-14 20:53:21 +0000
1772@@ -0,0 +1,14 @@
1773+<?xml version="1.0"?>
1774+<openerp>
1775+ <data>
1776+
1777+ <report id="mgmtsystem_audit_report"
1778+ string="Print Report"
1779+ model="mgmtsystem.audit"
1780+ name="mgmtsystem.audit.report"
1781+ rml="mgmtsystem_audit/report/audit_report.rml"
1782+ auto="False"
1783+ menu="True"/>
1784+
1785+ </data>
1786+</openerp>
1787
1788=== added file 'mgmtsystem_audit/report/verification_list.py'
1789--- mgmtsystem_audit/report/verification_list.py 1970-01-01 00:00:00 +0000
1790+++ mgmtsystem_audit/report/verification_list.py 2010-12-14 20:53:21 +0000
1791@@ -0,0 +1,39 @@
1792+# -*- encoding: utf-8 -*-
1793+##############################################################################
1794+#
1795+# OpenERP, Open Source Management Solution
1796+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
1797+#
1798+# This program is free software: you can redistribute it and/or modify
1799+# it under the terms of the GNU General Public License as
1800+# published by the Free Software Foundation, either version 3 of the
1801+# License, or (at your option) any later version.
1802+#
1803+# This program is distributed in the hope that it will be useful,
1804+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1805+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1806+# GNU General Public License for more details.
1807+#
1808+# You should have received a copy of the GNU General Public License
1809+# along with this program. If not, see <http://www.gnu.org/licenses/>.
1810+#
1811+##############################################################################
1812+
1813+import time
1814+from report import report_sxw
1815+
1816+class mgmtsystem_audit_verification_list(report_sxw.rml_parse):
1817+ def __init__(self, cr, uid, name, context):
1818+ super(mgmtsystem_audit_verification_list, self).__init__(cr, uid, name, context)
1819+ self.localcontext.update({
1820+ 'time': time,
1821+ })
1822+
1823+report_sxw.report_sxw(
1824+ 'report.mgmtsystem.audit.verificationlist',
1825+ 'mgmtsystem.audit',
1826+ 'addons/mgmtsystem_audit/report/verification_list.rml',
1827+ parser=mgmtsystem_audit_verification_list
1828+)
1829+
1830+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
1831
1832=== added file 'mgmtsystem_audit/report/verification_list.rml'
1833--- mgmtsystem_audit/report/verification_list.rml 1970-01-01 00:00:00 +0000
1834+++ mgmtsystem_audit/report/verification_list.rml 2010-12-14 20:53:21 +0000
1835@@ -0,0 +1,135 @@
1836+<?xml version="1.0"?>
1837+<document filename="Verification List.pdf">
1838+ <template pageSize="(595.0,842.0)" title="Verification List" author="Savoir-faire Linux" allowSplitting="20">
1839+ <pageTemplate id="first">
1840+ <frame id="first" x1="15.0" y1="42.0" width="539" height="758"/>
1841+ </pageTemplate>
1842+ </template>
1843+ <stylesheet>
1844+ <blockTableStyle id="Standard_Outline">
1845+ <blockAlignment value="LEFT"/>
1846+ <blockValign value="TOP"/>
1847+ </blockTableStyle>
1848+ <blockTableStyle id="Table1">
1849+ <blockAlignment value="LEFT"/>
1850+ <blockValign value="TOP"/>
1851+ <lineStyle kind="GRID" colorName="#e6e6e6"/>
1852+ </blockTableStyle>
1853+ <initialize>
1854+ <paraStyle name="all" alignment="justify"/>
1855+ </initialize>
1856+ <paraStyle name="Standard" fontName="Helvetica"/>
1857+ <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
1858+ <paraStyle name="Heading" fontName="Helvetica" fontSize="8.0" leading="10" spaceBefore="12.0" spaceAfter="6.0"/>
1859+ <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
1860+ <paraStyle name="Table Contents" fontName="Helvetica"/>
1861+ <paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER"/>
1862+ <paraStyle name="Caption" fontName="Helvetica" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
1863+ <paraStyle name="Index" fontName="Helvetica"/>
1864+ <paraStyle name="terp_header" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
1865+ <paraStyle name="terp_default_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
1866+ <paraStyle name="terp_default_Bold_8" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
1867+ <paraStyle name="terp_default_Bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
1868+ <paraStyle name="terp_default_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
1869+ <paraStyle name="terp_tblheader_General" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
1870+ <paraStyle name="terp_tblheader_General_Centre" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
1871+ <paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
1872+ <paraStyle name="terp_tblheader_Details" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
1873+ <paraStyle name="Footer" fontName="Helvetica"/>
1874+ <paraStyle name="Horizontal Line" fontName="Helvetica" fontSize="6.0" leading="8" spaceBefore="0.0" spaceAfter="14.0"/>
1875+ <paraStyle name="Heading 9" fontName="Helvetica-Bold" fontSize="75%" leading="NaN" spaceBefore="12.0" spaceAfter="6.0"/>
1876+ <paraStyle name="terp_tblheader_General_Right" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
1877+ <paraStyle name="terp_tblheader_Details_Centre" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
1878+ <paraStyle name="terp_tblheader_Details_Right" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
1879+ <paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
1880+ <paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
1881+ <paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
1882+ <paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
1883+ <paraStyle name="terp_default_Centre_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
1884+ <paraStyle name="terp_default_Right_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
1885+ <paraStyle name="terp_default_1" fontName="Helvetica" fontSize="2.0" leading="3" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
1886+ <paraStyle name="terp_default_Right_9_Bold" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
1887+ <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"/>
1888+ <paraStyle name="Preformatted Text" fontName="Helvetica" fontSize="10.0" leading="13" spaceBefore="0.0" spaceAfter="0.0"/>
1889+ <paraStyle name="terp_default_Centre_9_Bold" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
1890+ <images/>
1891+ </stylesheet>
1892+ <story>
1893+ <pto>
1894+ <pto_header>
1895+ <blockTable colWidths="11cm,2cm,5cm" repeatRows="1" style="Table1">
1896+ <tr>
1897+ <td>
1898+ <para style="terp_tblheader_General_Centre">Question</para>
1899+ </td>
1900+ <td>
1901+ <para style="terp_tblheader_General_Centre">Conformed?</para>
1902+ </td>
1903+ <td>
1904+ <para style="terp_tblheader_General_Centre">Comments</para>
1905+ </td>
1906+ </tr>
1907+ </blockTable>
1908+ </pto_header>
1909+ <para style="terp_default_8">[[repeatIn(objects,'o')]]</para>
1910+ <para style="terp_default_8">
1911+ <font color="white"> </font>
1912+ </para>
1913+ <para style="terp_header_Centre">Verification List</para>
1914+ <para style="terp_header_Centre">[[ o.name ]]</para>
1915+ <para style="terp_default_8">
1916+ <font color="white"> </font>
1917+ </para>
1918+ <para>Confidentiality: Internal</para>
1919+ <para>Reference: [[ o.reference ]]</para>
1920+ <para>Date: [[ o.date ]]</para>
1921+ <blockTable>
1922+ <tr>
1923+ <td>
1924+ <para>Auditors:</para>
1925+ <section>
1926+ <para>[[repeatIn(o.auditor_user_ids,'auditor')]]</para>
1927+ <para>- [[ auditor.name ]] </para>
1928+ </section>
1929+ </td>
1930+ <td>
1931+ <para>Auditees:</para>
1932+ <section>
1933+ <para>[[repeatIn(o.auditee_user_ids,'auditee')]]</para>
1934+ <para>- [[ auditee.name ]] </para>
1935+ </section>
1936+ </td>
1937+ </tr>
1938+ </blockTable>
1939+ <blockTable colWidths="11cm,2cm,5cm" repeatRows="1" style="Table1">
1940+ <tr>
1941+ <td>
1942+ <para style="terp_tblheader_General_Centre">Question</para>
1943+ </td>
1944+ <td>
1945+ <para style="terp_tblheader_General_Centre">Conformed?</para>
1946+ </td>
1947+ <td>
1948+ <para style="terp_tblheader_General_Centre">Comments</para>
1949+ </td>
1950+ </tr>
1951+ </blockTable>
1952+ <section>
1953+ <blockTable colWidths="11cm,2cm,5cm" repeatRows="1" style="Table1">
1954+ <para>[[ repeatIn(o.line_ids,'line') ]]</para>
1955+ <tr>
1956+ <td>
1957+ <para>[[ line.name ]]</para>
1958+ </td>
1959+ <td>
1960+ <para style="terp_default_Centre_9">Yes / No</para>
1961+ </td>
1962+ <td>
1963+ <para></para>
1964+ </td>
1965+ </tr>
1966+ </blockTable>
1967+ </section>
1968+ </pto>
1969+ </story>
1970+</document>
1971
1972=== added file 'mgmtsystem_audit/report/verification_list.xml'
1973--- mgmtsystem_audit/report/verification_list.xml 1970-01-01 00:00:00 +0000
1974+++ mgmtsystem_audit/report/verification_list.xml 2010-12-14 20:53:21 +0000
1975@@ -0,0 +1,14 @@
1976+<?xml version="1.0"?>
1977+<openerp>
1978+ <data>
1979+
1980+ <report id="mgmtsystem_audit_verification_list"
1981+ string="Print Verification List"
1982+ model="mgmtsystem.audit"
1983+ name="mgmtsystem.audit.verificationlist"
1984+ rml="mgmtsystem_audit/report/verification_list.rml"
1985+ auto="False"
1986+ menu="True"/>
1987+
1988+ </data>
1989+</openerp>
1990
1991=== added directory 'mgmtsystem_environment'
1992=== added file 'mgmtsystem_environment/__init__.py'
1993--- mgmtsystem_environment/__init__.py 1970-01-01 00:00:00 +0000
1994+++ mgmtsystem_environment/__init__.py 2010-12-14 20:53:21 +0000
1995@@ -0,0 +1,21 @@
1996+# -*- encoding: utf-8 -*-
1997+##############################################################################
1998+#
1999+# OpenERP, Open Source Management Solution
2000+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
2001+#
2002+# This program is free software: you can redistribute it and/or modify
2003+# it under the terms of the GNU General Public License as
2004+# published by the Free Software Foundation, either version 3 of the
2005+# License, or (at your option) any later version.
2006+#
2007+# This program is distributed in the hope that it will be useful,
2008+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2009+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2010+# GNU General Public License for more details.
2011+#
2012+# You should have received a copy of the GNU General Public License
2013+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2014+#
2015+##############################################################################
2016+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2017
2018=== added file 'mgmtsystem_environment/__openerp__.py'
2019--- mgmtsystem_environment/__openerp__.py 1970-01-01 00:00:00 +0000
2020+++ mgmtsystem_environment/__openerp__.py 2010-12-14 20:53:21 +0000
2021@@ -0,0 +1,44 @@
2022+# -*- encoding: utf-8 -*-
2023+##############################################################################
2024+#
2025+# OpenERP, Open Source Management Solution
2026+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
2027+#
2028+# This program is free software: you can redistribute it and/or modify
2029+# it under the terms of the GNU General Public License as
2030+# published by the Free Software Foundation, either version 3 of the
2031+# License, or (at your option) any later version.
2032+#
2033+# This program is distributed in the hope that it will be useful,
2034+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2035+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2036+# GNU General Public License for more details.
2037+#
2038+# You should have received a copy of the GNU General Public License
2039+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2040+#
2041+##############################################################################
2042+{
2043+ "name" : "Environment Management System",
2044+ "version" : "0.1",
2045+ "author" : "Savoir-faire Linux",
2046+ "website" : "http://www.savoirfairelinux.com",
2047+ "license" : "GPL-3",
2048+ "category" : "Management System",
2049+ "description": """
2050+ This module enables you to manage your environment management system, including :
2051+ * Environment Manual
2052+ * Audits
2053+ * Procedures
2054+ * Nonconformities
2055+ * Actions
2056+ """,
2057+ "depends" : ['mgmtsystem_audit','wiki_environment_manual'],
2058+ "init_xml" : [],
2059+ "update_xml" : [],
2060+ "demo_xml" : [],
2061+ "installable" : True,
2062+ "certificate" : ''
2063+}
2064+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2065+
2066
2067=== added directory 'mgmtsystem_nonconformity'
2068=== added file 'mgmtsystem_nonconformity/__init__.py'
2069--- mgmtsystem_nonconformity/__init__.py 1970-01-01 00:00:00 +0000
2070+++ mgmtsystem_nonconformity/__init__.py 2010-12-14 20:53:21 +0000
2071@@ -0,0 +1,22 @@
2072+# -*- encoding: utf-8 -*-
2073+##############################################################################
2074+#
2075+# OpenERP, Open Source Management Solution
2076+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
2077+#
2078+# This program is free software: you can redistribute it and/or modify
2079+# it under the terms of the GNU General Public License as
2080+# published by the Free Software Foundation, either version 3 of the
2081+# License, or (at your option) any later version.
2082+#
2083+# This program is distributed in the hope that it will be useful,
2084+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2085+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2086+# GNU General Public License for more details.
2087+#
2088+# You should have received a copy of the GNU General Public License
2089+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2090+#
2091+##############################################################################
2092+import mgmtsystem_nonconformity
2093+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2094
2095=== added file 'mgmtsystem_nonconformity/__openerp__.py'
2096--- mgmtsystem_nonconformity/__openerp__.py 1970-01-01 00:00:00 +0000
2097+++ mgmtsystem_nonconformity/__openerp__.py 2010-12-14 20:53:21 +0000
2098@@ -0,0 +1,48 @@
2099+# -*- encoding: utf-8 -*-
2100+##############################################################################
2101+#
2102+# OpenERP, Open Source Management Solution
2103+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
2104+#
2105+# This program is free software: you can redistribute it and/or modify
2106+# it under the terms of the GNU General Public License as
2107+# published by the Free Software Foundation, either version 3 of the
2108+# License, or (at your option) any later version.
2109+#
2110+# This program is distributed in the hope that it will be useful,
2111+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2112+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2113+# GNU General Public License for more details.
2114+#
2115+# You should have received a copy of the GNU General Public License
2116+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2117+#
2118+##############################################################################
2119+{
2120+ "name" : "Management System - Nonconformity",
2121+ "version" : "0.1",
2122+ "author" : "Savoir-faire Linux",
2123+ "website" : "http://www.savoirfairelinux.com",
2124+ "license" : "GPL-3",
2125+ "category" : "Management System",
2126+ "description": """
2127+ This module enables you to manage the nonconformities of your management
2128+ system : quality (ISO9001), environment (ISO14001) or security (ISO27001).
2129+ """,
2130+ "depends" : [
2131+ 'mgmtsystem_action',
2132+ 'wiki_procedure',
2133+ ],
2134+ "init_xml" : [],
2135+ "update_xml" : [
2136+ 'mgmtsystem_nonconformity.xml',
2137+ 'board_mgmtsystem_nonconformity.xml',
2138+ ],
2139+ "demo_xml" : [
2140+ 'demo_nonconformity.xml',
2141+ ],
2142+ "installable" : True,
2143+ "certificate" : ''
2144+}
2145+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2146+
2147
2148=== added file 'mgmtsystem_nonconformity/board_mgmtsystem_nonconformity.xml'
2149--- mgmtsystem_nonconformity/board_mgmtsystem_nonconformity.xml 1970-01-01 00:00:00 +0000
2150+++ mgmtsystem_nonconformity/board_mgmtsystem_nonconformity.xml 2010-12-14 20:53:21 +0000
2151@@ -0,0 +1,26 @@
2152+<?xml version="1.0" encoding="utf-8"?>
2153+<openerp>
2154+ <data>
2155+
2156+ <record id="action_mgmtsystem_nonconformity" model="ir.actions.act_window">
2157+ <field name="res_model">mgmtsystem.nonconformity</field>
2158+ <field name="view_type">form</field>
2159+ <field name="view_mode">tree</field>
2160+ <field name="view_id" ref="view_mgmtsystem_nonconformity_tree"/>
2161+ <field name="domain">[('state','=','o')]</field>
2162+ </record>
2163+
2164+ <record id="board_mgmtsystem_nonconformity_form" model="ir.ui.view">
2165+ <field name="name">board.mgmtsystem.nonconformity.form</field>
2166+ <field name="model">board.board</field>
2167+ <field name="inherit_id" ref="mgmtsystem.board_mgmtsystem_form"/>
2168+ <field name="type">form</field>
2169+ <field name="arch" type="xml">
2170+ <xpath expr="/form/hpaned/child1" position="inside">
2171+ <action name="%(action_mgmtsystem_nonconformity)d" string="Open Nonconformities"/>
2172+ </xpath>
2173+ </field>
2174+ </record>
2175+
2176+ </data>
2177+</openerp>
2178
2179=== added file 'mgmtsystem_nonconformity/demo_nonconformity.xml'
2180--- mgmtsystem_nonconformity/demo_nonconformity.xml 1970-01-01 00:00:00 +0000
2181+++ mgmtsystem_nonconformity/demo_nonconformity.xml 2010-12-14 20:53:21 +0000
2182@@ -0,0 +1,35 @@
2183+<?xml version="1.0" encoding="utf-8"?>
2184+<openerp>
2185+ <data noupdate="1">
2186+
2187+ <!-- demo data mgmtsystem.nonconformity.origin -->
2188+ <record id="demo_origin" model="mgmtsystem.nonconformity.origin">
2189+ <field name="name">Internal Audit</field>
2190+ <field name="description">The nonconformity was discovered during an internal audit.</field>
2191+ </record>
2192+
2193+ <!-- demo data mgmtsystem.nonconformity.cause -->
2194+ <record id="demo_cause" model="mgmtsystem.nonconformity.cause">
2195+ <field name="name">Lack of expertise</field>
2196+ <field name="description">The cause of the nonconformity is a lack of expertise of the person.</field>
2197+ </record>
2198+
2199+ <!-- demo data mgmtsystem.nonconformity -->
2200+ <record id="demo_nonconformity" model="mgmtsystem.nonconformity">
2201+ <field name="partner_id" ref="base.res_partner_3"/>
2202+ <field name="date">2010-12-03</field>
2203+ <field name="responsible_user_id" ref="base.user_demo"/>
2204+ <field name="manager_user_id" ref="base.user_root"/>
2205+ <field name="author_user_id" ref="base.user_demo"/>
2206+ <field name="description">The procedure has changed with no comments on the revision.</field>
2207+ <field name="analysis">Administrator didn't know he had to add a comment when changing the procedure.</field>
2208+ <field name="origin_ids" eval="[(6,0,[ref('demo_origin')])]"/>
2209+ <field name="procedure_ids" eval="[(6,0,[ref('wiki_procedure.wiki_procedure')])]"/>
2210+ <field name="cause_ids" eval="[(6,0,[ref('demo_cause')])]"/>
2211+ <field name="immediate_action_id" ref="mgmtsystem_action.demo_immediate"/>
2212+ <field name="corrective_action_id" ref="mgmtsystem_action.demo_corrective"/>
2213+ <field name="preventive_action_id" ref="mgmtsystem_action.demo_preventive"/>
2214+ </record>
2215+
2216+ </data>
2217+</openerp>
2218
2219=== added directory 'mgmtsystem_nonconformity/i18n'
2220=== added file 'mgmtsystem_nonconformity/i18n/mgmtsystem_nonconformity.pot'
2221--- mgmtsystem_nonconformity/i18n/mgmtsystem_nonconformity.pot 1970-01-01 00:00:00 +0000
2222+++ mgmtsystem_nonconformity/i18n/mgmtsystem_nonconformity.pot 2010-12-14 20:53:21 +0000
2223@@ -0,0 +1,226 @@
2224+# Translation of OpenERP Server.
2225+# This file contains the translation of the following modules:
2226+# * mgmtsystem_nonconformity
2227+#
2228+msgid ""
2229+msgstr ""
2230+"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
2231+"Report-Msgid-Bugs-To: support@openerp.com\n"
2232+"POT-Creation-Date: 2010-12-02 23:49:52+0000\n"
2233+"PO-Revision-Date: 2010-12-02 23:49:52+0000\n"
2234+"Last-Translator: <>\n"
2235+"Language-Team: \n"
2236+"MIME-Version: 1.0\n"
2237+"Content-Type: text/plain; charset=UTF-8\n"
2238+"Content-Transfer-Encoding: \n"
2239+"Plural-Forms: \n"
2240+
2241+#. module: mgmtsystem_nonconformity
2242+#: model:ir.module.module,description:mgmtsystem_nonconformity.module_meta_information
2243+msgid "\n"
2244+" This module enables you to manage the nonconformities of your management \n"
2245+" system : quality (ISO9001), environment (ISO14001) or security (ISO27001). \n"
2246+" "
2247+msgstr "\n"
2248+" This module enables you to manage the nonconformities of your management \n"
2249+" system : quality (ISO9001), environment (ISO14001) or security (ISO27001). \n"
2250+" "
2251+
2252+#. module: mgmtsystem_nonconformity
2253+#: view:mgmtsystem.nonconformity:0
2254+msgid "Author"
2255+msgstr "Author"
2256+
2257+#. module: mgmtsystem_nonconformity
2258+#: field:mgmtsystem.nonconformity,responsible_user_id:0
2259+msgid "Responsible"
2260+msgstr "Responsible"
2261+
2262+#. module: mgmtsystem_nonconformity
2263+#: model:ir.actions.act_window,name:mgmtsystem_nonconformity.open_mgmtsystem_nonconformity_list
2264+#: model:ir.ui.menu,name:mgmtsystem_nonconformity.menu_mgmtsystem_configuration_nonconformities
2265+#: model:ir.ui.menu,name:mgmtsystem_nonconformity.menu_open_nonconformity
2266+msgid "Nonconformities"
2267+msgstr "Nonconformities"
2268+
2269+#. module: mgmtsystem_nonconformity
2270+#: model:ir.model,name:mgmtsystem_nonconformity.model_mgmtsystem_nonconformity_origin
2271+msgid "Origin of nonconformity of the management system"
2272+msgstr "Origin of nonconformity of the management system"
2273+
2274+#. module: mgmtsystem_nonconformity
2275+#: view:mgmtsystem.nonconformity:0
2276+msgid "Group By..."
2277+msgstr "Group By..."
2278+
2279+#. module: mgmtsystem_nonconformity
2280+#: field:mgmtsystem.nonconformity,state:0
2281+msgid "State"
2282+msgstr "State"
2283+
2284+#. module: mgmtsystem_nonconformity
2285+#: model:ir.model,name:mgmtsystem_nonconformity.model_mgmtsystem_nonconformity_procedure
2286+msgid "Procedure involved in the nonconformity of the management system"
2287+msgstr "Procedure involved in the nonconformity of the management system"
2288+
2289+#. module: mgmtsystem_nonconformity
2290+#: view:mgmtsystem.nonconformity:0
2291+#: selection:mgmtsystem.nonconformity,state:0
2292+msgid "Closed"
2293+msgstr "Closed"
2294+
2295+#. module: mgmtsystem_nonconformity
2296+#: field:mgmtsystem.nonconformity,cause_ids:0
2297+#: field:mgmtsystem.nonconformity.cause,name:0
2298+msgid "Cause"
2299+msgstr "Cause"
2300+
2301+#. module: mgmtsystem_nonconformity
2302+#: view:board.board:0
2303+msgid "Open Nonconformities"
2304+msgstr "Open Nonconformities"
2305+
2306+#. module: mgmtsystem_nonconformity
2307+#: field:mgmtsystem.nonconformity,description:0
2308+#: field:mgmtsystem.nonconformity.cause,description:0
2309+#: field:mgmtsystem.nonconformity.origin,description:0
2310+#: field:mgmtsystem.nonconformity.procedure,description:0
2311+msgid "Description"
2312+msgstr "Description"
2313+
2314+#. module: mgmtsystem_nonconformity
2315+#: field:mgmtsystem.nonconformity,immediate_action_id:0
2316+msgid "Immediate action"
2317+msgstr "Immediate action"
2318+
2319+#. module: mgmtsystem_nonconformity
2320+#: model:ir.module.module,shortdesc:mgmtsystem_nonconformity.module_meta_information
2321+msgid "Management System - Nonconformity"
2322+msgstr "Management System - Nonconformity"
2323+
2324+#. module: mgmtsystem_nonconformity
2325+#: field:mgmtsystem.nonconformity,date:0
2326+msgid "Date"
2327+msgstr "Date"
2328+
2329+#. module: mgmtsystem_nonconformity
2330+#: view:mgmtsystem.nonconformity:0
2331+msgid "Nonconformity"
2332+msgstr "Nonconformity"
2333+
2334+#. module: mgmtsystem_nonconformity
2335+#: field:mgmtsystem.nonconformity,corrective_action_id:0
2336+msgid "Corrective action"
2337+msgstr "Corrective action"
2338+
2339+#. module: mgmtsystem_nonconformity
2340+#: model:ir.actions.act_window,name:mgmtsystem_nonconformity.open_mgmtsystem_nonconformity_procedure_list
2341+#: model:ir.ui.menu,name:mgmtsystem_nonconformity.menu_open_nonconformity_procedure
2342+#: view:mgmtsystem.nonconformity:0
2343+#: view:mgmtsystem.nonconformity.procedure:0
2344+msgid "Procedures"
2345+msgstr "Procedures"
2346+
2347+#. module: mgmtsystem_nonconformity
2348+#: field:mgmtsystem.nonconformity,preventive_action_id:0
2349+msgid "Preventive action"
2350+msgstr "Preventive action"
2351+
2352+#. module: mgmtsystem_nonconformity
2353+#: field:mgmtsystem.nonconformity,partner_id:0
2354+msgid "Customer"
2355+msgstr "Customer"
2356+
2357+#. module: mgmtsystem_nonconformity
2358+#: field:mgmtsystem.nonconformity,origin_ids:0
2359+#: field:mgmtsystem.nonconformity.origin,name:0
2360+msgid "Origin"
2361+msgstr "Origin"
2362+
2363+#. module: mgmtsystem_nonconformity
2364+#: model:ir.actions.act_window,name:mgmtsystem_nonconformity.open_mgmtsystem_nonconformity_origin_list
2365+#: model:ir.ui.menu,name:mgmtsystem_nonconformity.menu_open_nonconformity_origin
2366+#: view:mgmtsystem.nonconformity:0
2367+#: view:mgmtsystem.nonconformity.origin:0
2368+msgid "Origins"
2369+msgstr "Origins"
2370+
2371+#. module: mgmtsystem_nonconformity
2372+#: view:mgmtsystem.nonconformity.origin:0
2373+msgid "Origins of nonconformity"
2374+msgstr "Origins of nonconformity"
2375+
2376+#. module: mgmtsystem_nonconformity
2377+#: field:mgmtsystem.nonconformity,analysis:0
2378+msgid "Analysis"
2379+msgstr "Analysis"
2380+
2381+#. module: mgmtsystem_nonconformity
2382+#: view:mgmtsystem.nonconformity.procedure:0
2383+msgid "Procedures of nonconformity"
2384+msgstr "Procedures of nonconformity"
2385+
2386+#. module: mgmtsystem_nonconformity
2387+#: view:mgmtsystem.nonconformity.cause:0
2388+msgid "Causes of nonconformity"
2389+msgstr "Causes of nonconformity"
2390+
2391+#. module: mgmtsystem_nonconformity
2392+#: field:mgmtsystem.nonconformity,id:0
2393+#: field:mgmtsystem.nonconformity.cause,id:0
2394+#: field:mgmtsystem.nonconformity.origin,id:0
2395+#: field:mgmtsystem.nonconformity.procedure,id:0
2396+msgid "ID"
2397+msgstr "ID"
2398+
2399+#. module: mgmtsystem_nonconformity
2400+#: view:mgmtsystem.nonconformity:0
2401+#: field:mgmtsystem.nonconformity,procedure_ids:0
2402+#: field:mgmtsystem.nonconformity.procedure,name:0
2403+msgid "Procedure"
2404+msgstr "Procedure"
2405+
2406+#. module: mgmtsystem_nonconformity
2407+#: field:mgmtsystem.nonconformity,author_user_id:0
2408+msgid "Filled in by"
2409+msgstr "Filled in by"
2410+
2411+#. module: mgmtsystem_nonconformity
2412+#: field:mgmtsystem.nonconformity,reference:0
2413+msgid "Reference"
2414+msgstr "Reference"
2415+
2416+#. module: mgmtsystem_nonconformity
2417+#: model:ir.model,name:mgmtsystem_nonconformity.model_mgmtsystem_nonconformity
2418+msgid "Nonconformity of the management system"
2419+msgstr "Nonconformity of the management system"
2420+
2421+#. module: mgmtsystem_nonconformity
2422+#: model:ir.model,name:mgmtsystem_nonconformity.model_mgmtsystem_nonconformity_cause
2423+msgid "Cause of the nonconformity of the management system"
2424+msgstr "Cause of the nonconformity of the management system"
2425+
2426+#. module: mgmtsystem_nonconformity
2427+#: field:mgmtsystem.nonconformity,manager_user_id:0
2428+msgid "Manager"
2429+msgstr "Manager"
2430+
2431+#. module: mgmtsystem_nonconformity
2432+#: view:mgmtsystem.nonconformity:0
2433+msgid "Close"
2434+msgstr "Close"
2435+
2436+#. module: mgmtsystem_nonconformity
2437+#: view:mgmtsystem.nonconformity:0
2438+#: selection:mgmtsystem.nonconformity,state:0
2439+msgid "Open"
2440+msgstr "Open"
2441+
2442+#. module: mgmtsystem_nonconformity
2443+#: model:ir.actions.act_window,name:mgmtsystem_nonconformity.open_mgmtsystem_nonconformity_cause_list
2444+#: model:ir.ui.menu,name:mgmtsystem_nonconformity.menu_open_nonconformity_cause
2445+#: view:mgmtsystem.nonconformity:0
2446+#: view:mgmtsystem.nonconformity.cause:0
2447+msgid "Causes"
2448+msgstr "Causes"
2449+
2450
2451=== added file 'mgmtsystem_nonconformity/mgmtsystem_nonconformity.py'
2452--- mgmtsystem_nonconformity/mgmtsystem_nonconformity.py 1970-01-01 00:00:00 +0000
2453+++ mgmtsystem_nonconformity/mgmtsystem_nonconformity.py 2010-12-14 20:53:21 +0000
2454@@ -0,0 +1,91 @@
2455+# -*- encoding: utf-8 -*-
2456+##############################################################################
2457+#
2458+# OpenERP, Open Source Management Solution
2459+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
2460+#
2461+# This program is free software: you can redistribute it and/or modify
2462+# it under the terms of the GNU General Public License as
2463+# published by the Free Software Foundation, either version 3 of the
2464+# License, or (at your option) any later version.
2465+#
2466+# This program is distributed in the hope that it will be useful,
2467+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2468+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2469+# GNU General Public License for more details.
2470+#
2471+# You should have received a copy of the GNU General Public License
2472+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2473+#
2474+##############################################################################
2475+
2476+from osv import fields, osv
2477+import time
2478+
2479+class mgmtsystem_nonconformity_cause(osv.osv):
2480+ """
2481+ Cause of the nonconformity of the management system
2482+ """
2483+ _name = "mgmtsystem.nonconformity.cause"
2484+ _description = "Cause of the nonconformity of the management system"
2485+ _columns = {
2486+ 'id': fields.integer('ID', readonly=True),
2487+ 'name': fields.char('Cause', size=50, required=True),
2488+ 'description': fields.text('Description')
2489+ }
2490+
2491+mgmtsystem_nonconformity_cause()
2492+
2493+class mgmtsystem_nonconformity_origin(osv.osv):
2494+ """
2495+ Origin of nonconformity of the management system
2496+ """
2497+ _name = "mgmtsystem.nonconformity.origin"
2498+ _description = "Origin of nonconformity of the management system"
2499+ _columns = {
2500+ 'id': fields.integer('ID', readonly=True),
2501+ 'name': fields.char('Origin', size=50, required=True),
2502+ 'description': fields.text('Description')
2503+ }
2504+
2505+mgmtsystem_nonconformity_origin()
2506+
2507+class mgmtsystem_nonconformity(osv.osv):
2508+ """
2509+ Management System - Nonconformity
2510+ """
2511+ _name = "mgmtsystem.nonconformity"
2512+ _description = "Nonconformity of the management system"
2513+ _rec_name = "description"
2514+ _order = "date desc"
2515+
2516+ _columns = {
2517+ 'id': fields.integer('ID', readonly=True),
2518+ 'date': fields.date('Date', required=True),
2519+ 'partner_id': fields.many2one('res.partner', 'Partner', required=True),
2520+ 'reference': fields.char('Reference', size=50),
2521+ 'responsible_user_id': fields.many2one('res.users','Responsible', required=True),
2522+ 'manager_user_id': fields.many2one('res.users','Manager', required=True),
2523+ 'author_user_id': fields.many2one('res.users','Filled in by', required=True),
2524+ 'origin_ids': fields.many2many('mgmtsystem.nonconformity.origin','mgmtsystem_nonconformity_origin_rel', 'nonconformity_id', 'origin_id', 'Origin', required=True),
2525+ 'procedure_ids': fields.many2many('wiki.wiki','mgmtsystem_nonconformity_procedure_rel', 'nonconformity_id', 'procedure_id', 'Procedure'),
2526+ 'description': fields.text('Description', required=True),
2527+ 'cause_ids': fields.many2many('mgmtsystem.nonconformity.cause','mgmtsystem_nonconformity_cause_rel', 'nonconformity_id', 'cause_id', 'Cause'),
2528+ 'analysis': fields.text('Analysis'),
2529+ 'immediate_action_id': fields.many2one('mgmtsystem.action', 'Immediate action'),
2530+ 'corrective_action_id': fields.many2one('mgmtsystem.action', 'Corrective action'),
2531+ 'preventive_action_id': fields.many2one('mgmtsystem.action', 'Preventive action'),
2532+ 'state': fields.selection((('o','Open'),('c','Closed')), 'State', size=16, readonly=True),
2533+ }
2534+ _defaults = {
2535+ 'date': lambda *a: time.strftime('%Y-%m-%d'),
2536+ 'state': 'o',
2537+ 'author_user_id': lambda cr, uid, id, c={}: id,
2538+ }
2539+
2540+ def button_close(self, cr, uid, ids, context=None):
2541+ return self.write(cr, uid, ids, {'state': 'c'})
2542+
2543+mgmtsystem_nonconformity()
2544+
2545+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2546
2547=== added file 'mgmtsystem_nonconformity/mgmtsystem_nonconformity.xml'
2548--- mgmtsystem_nonconformity/mgmtsystem_nonconformity.xml 1970-01-01 00:00:00 +0000
2549+++ mgmtsystem_nonconformity/mgmtsystem_nonconformity.xml 2010-12-14 20:53:21 +0000
2550@@ -0,0 +1,222 @@
2551+<openerp>
2552+ <data>
2553+
2554+ <menuitem id="menu_mgmtsystem_configuration_nonconformities"
2555+ name="Nonconformities"
2556+ parent="mgmtsystem.menu_mgmtsystem_configuration"
2557+ groups="base.group_mgmtsystem_manager"
2558+ sequence="10"/>
2559+
2560+ <record id="view_mgmtsystem_nonconformity_tree" model="ir.ui.view">
2561+ <field name="name">mgmtsystem.nonconformity.tree</field>
2562+ <field name="model">mgmtsystem.nonconformity</field>
2563+ <field name="type">tree</field>
2564+ <field name="arch" type="xml">
2565+ <tree string="Nonconformity">
2566+ <field name="date" attrs="{'readonly':[('state','=','c')]}"/>
2567+ <field name="partner_id" attrs="{'readonly':[('state','=','c')]}"/>
2568+ <field name="description" attrs="{'readonly':[('state','=','c')]}"/>
2569+ <field name="responsible_user_id" attrs="{'readonly':[('state','=','c')]}"/>
2570+ <field name="author_user_id" attrs="{'readonly':[('state','=','c')]}"/>
2571+ </tree>
2572+ </field>
2573+ </record>
2574+
2575+ <record id="view_mgmtsystem_nonconformity_filter" model="ir.ui.view">
2576+ <field name="name">mgmtsystem.nonconformity.filter</field>
2577+ <field name="model">mgmtsystem.nonconformity</field>
2578+ <field name="type">search</field>
2579+ <field name="arch" type="xml">
2580+ <search string="Nonconformity">
2581+ <group>
2582+ <filter icon="terp-document-new" domain="[('state','=','o')]" string="Open" help="Open Nonconformities"/>
2583+ <filter icon="terp-camera_test" domain="[('state','=','c')]" string="Closed" help="Closed Nonconformities"/>
2584+ <separator orientation="vertical"/>
2585+ <field name="date" select='1'/>
2586+ </group>
2587+ <newline />
2588+ <group expand="0" string="Group By...">
2589+ <filter string="Author" icon="terp-personal" domain="[]" context="{'group_by':'author_user_id'}"/>
2590+ <separator orientation="vertical"/>
2591+ <filter string="Procedure" icon="terp-personal+" domain="[]" context="{'group_by':'procedure_ids'}"/>
2592+ </group>
2593+ </search>
2594+ </field>
2595+ </record>
2596+
2597+ <record id="view_mgmtsystem_nonconformity_form" model="ir.ui.view">
2598+ <field name="name">mgmtsystem.nonconformity.form</field>
2599+ <field name="type">form</field>
2600+ <field name="model">mgmtsystem.nonconformity</field>
2601+ <field name="arch" type="xml">
2602+ <form string="Nonconformity">
2603+ <group colspan="2" col="2">
2604+ <field name="date" attrs="{'readonly':[('state','=','c')]}"/>
2605+ <field name="partner_id" attrs="{'readonly':[('state','=','c')]}"/>
2606+ <field name="reference" attrs="{'readonly':[('state','=','c')]}"/>
2607+ </group>
2608+ <group colspan="2" col="2">
2609+ <field name="responsible_user_id" attrs="{'readonly':[('state','=','c')]}"/>
2610+ <field name="manager_user_id" attrs="{'readonly':[('state','=','c')]}"/>
2611+ <field name="author_user_id" attrs="{'readonly':[('state','=','c')]}"/>
2612+ </group>
2613+ <notebook colspan="4">
2614+ <page string="Origins">
2615+ <field name="origin_ids" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
2616+ </page>
2617+ <page string="Procedures">
2618+ <field name="procedure_ids" nolabel="1" attrs="{'readonly':[('state','=','c')]}" domain="[('group_id','=','Procedure')]"/>
2619+ </page>
2620+ <page string="Description">
2621+ <field name="description" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
2622+ </page>
2623+ <page string="Causes">
2624+ <field name="cause_ids" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
2625+ </page>
2626+ <page string="Analysis">
2627+ <field name="analysis" nolabel="1" attrs="{'readonly':[('state','=','c')]}"/>
2628+ </page>
2629+ <page string="Actions">
2630+ <group colspan="4">
2631+ <field name="immediate_action_id" domain="[('type_action','=','immediate')]" attrs="{'readonly':[('state','=','c')]}"/>
2632+ <newline/>
2633+ <field name="corrective_action_id" domain="[('type_action','=','correction')]" attrs="{'readonly':[('state','=','c')]}"/>
2634+ <newline/>
2635+ <field name="preventive_action_id" domain="[('type_action','=','prevention')]" attrs="{'readonly':[('state','=','c')]}"/>
2636+ </group>
2637+ </page>
2638+ </notebook>
2639+ <group colspan="4">
2640+ <field name="state" select="1" readonly="1"/>
2641+ <button name="button_close" string="Close" states="o" type="object" icon="gtk-jump-to"/>
2642+ </group>
2643+ </form>
2644+ </field>
2645+ </record>
2646+
2647+ <record model="ir.actions.act_window" id="open_mgmtsystem_nonconformity_list">
2648+ <field name="name">Nonconformities</field>
2649+ <field name="res_model">mgmtsystem.nonconformity</field>
2650+ <field name="view_type">form</field>
2651+ <field name="view_mode">tree,form</field>
2652+ <field name="search_view_id" ref="view_mgmtsystem_nonconformity_filter"/>
2653+ </record>
2654+
2655+ <menuitem id="menu_open_nonconformity"
2656+ action="open_mgmtsystem_nonconformity_list"
2657+ parent="mgmtsystem.menu_mgmtsystem_main"
2658+ sequence="20"
2659+ groups="base.group_mgmtsystem_manager,base.group_mgmtsystem_auditor,base.group_user"/>
2660+
2661+ <!-- Origin -->
2662+
2663+ <record id="view_mgmtsystem_nonconformity_origin_form" model="ir.ui.view">
2664+ <field name="name">mgmtsystem.nonconformity.origin.form</field>
2665+ <field name="type">form</field>
2666+ <field name="model">mgmtsystem.nonconformity.origin</field>
2667+ <field name="arch" type="xml">
2668+ <form string="Origins of nonconformity">
2669+ <group colspan="4" col="6">
2670+ <field name="name"/>
2671+ <newline/>
2672+ <field name="description"/>
2673+ </group>
2674+ </form>
2675+ </field>
2676+ </record>
2677+
2678+ <record id="view_mgmtsystem_nonconformity_origin_tree" model="ir.ui.view">
2679+ <field name="name">mgmtsystem.nonconformity.origin.tree</field>
2680+ <field name="model">mgmtsystem.nonconformity.origin</field>
2681+ <field name="type">tree</field>
2682+ <field name="arch" type="xml">
2683+ <tree string="Origins">
2684+ <field name="name"/>
2685+ <field name="description"/>
2686+ </tree>
2687+ </field>
2688+ </record>
2689+
2690+ <record id="view_mgmtsystem_nonconformity_origin_filter" model="ir.ui.view">
2691+ <field name="name">Origins</field>
2692+ <field name="model">mgmtsystem.nonconformity.origin</field>
2693+ <field name="type">search</field>
2694+ <field name="arch" type="xml">
2695+ <search string="Origins">
2696+ <field name="name"/>
2697+ </search>
2698+ </field>
2699+ </record>
2700+
2701+ <record id="open_mgmtsystem_nonconformity_origin_list" model="ir.actions.act_window">
2702+ <field name="name">Origins</field>
2703+ <field name="res_model">mgmtsystem.nonconformity.origin</field>
2704+ <field name="view_type">form</field>
2705+ <field name="view_mode">tree,form</field>
2706+ <field name="view_id" eval="False"/>
2707+ <field name="search_view_id" ref="view_mgmtsystem_nonconformity_origin_filter"/>
2708+ </record>
2709+
2710+ <menuitem id="menu_open_nonconformity_origin"
2711+ action="open_mgmtsystem_nonconformity_origin_list"
2712+ parent="menu_mgmtsystem_configuration_nonconformities"
2713+ sequence="20"
2714+ groups="base.group_mgmtsystem_manager"/>
2715+
2716+ <!-- Cause -->
2717+
2718+ <record id="view_mgmtsystem_nonconformity_cause_form" model="ir.ui.view">
2719+ <field name="name">mgmtsystem.nonconformity.cause.form</field>
2720+ <field name="type">form</field>
2721+ <field name="model">mgmtsystem.nonconformity.cause</field>
2722+ <field name="arch" type="xml">
2723+ <form string="Causes of nonconformity">
2724+ <group colspan="4" col="6">
2725+ <field name="name"/>
2726+ <newline/>
2727+ <field name="description"/>
2728+ </group>
2729+ </form>
2730+ </field>
2731+ </record>
2732+
2733+ <record id="view_mgmtsystem_nonconformity_cause_tree" model="ir.ui.view">
2734+ <field name="name">mgmtsystem.nonconformity.cause.tree</field>
2735+ <field name="model">mgmtsystem.nonconformity.cause</field>
2736+ <field name="type">tree</field>
2737+ <field name="arch" type="xml">
2738+ <tree string="Causes">
2739+ <field name="name"/>
2740+ <field name="description"/>
2741+ </tree>
2742+ </field>
2743+ </record>
2744+
2745+ <record id="view_mgmtsystem_nonconformity_cause_filter" model="ir.ui.view">
2746+ <field name="name">Causes</field>
2747+ <field name="model">mgmtsystem.nonconformity.cause</field>
2748+ <field name="type">search</field>
2749+ <field name="arch" type="xml">
2750+ <search string="Causes">
2751+ <field name="name"/>
2752+ </search>
2753+ </field>
2754+ </record>
2755+
2756+ <record id="open_mgmtsystem_nonconformity_cause_list" model="ir.actions.act_window">
2757+ <field name="name">Causes</field>
2758+ <field name="res_model">mgmtsystem.nonconformity.cause</field>
2759+ <field name="view_type">form</field>
2760+ <field name="view_mode">tree,form</field>
2761+ <field name="view_id" eval="False"/>
2762+ <field name="search_view_id" ref="view_mgmtsystem_nonconformity_cause_filter"/>
2763+ </record>
2764+
2765+ <menuitem id="menu_open_nonconformity_cause"
2766+ action="open_mgmtsystem_nonconformity_cause_list"
2767+ parent="menu_mgmtsystem_configuration_nonconformities"
2768+ sequence="30"
2769+ groups="base.group_mgmtsystem_manager"/>
2770+
2771+ </data>
2772+</openerp>
2773
2774=== added directory 'mgmtsystem_nonconformity_project'
2775=== added file 'mgmtsystem_nonconformity_project/__init__.py'
2776--- mgmtsystem_nonconformity_project/__init__.py 1970-01-01 00:00:00 +0000
2777+++ mgmtsystem_nonconformity_project/__init__.py 2010-12-14 20:53:21 +0000
2778@@ -0,0 +1,22 @@
2779+# -*- encoding: utf-8 -*-
2780+##############################################################################
2781+#
2782+# OpenERP, Open Source Management Solution
2783+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
2784+#
2785+# This program is free software: you can redistribute it and/or modify
2786+# it under the terms of the GNU General Public License as
2787+# published by the Free Software Foundation, either version 3 of the
2788+# License, or (at your option) any later version.
2789+#
2790+# This program is distributed in the hope that it will be useful,
2791+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2792+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2793+# GNU General Public License for more details.
2794+#
2795+# You should have received a copy of the GNU General Public License
2796+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2797+#
2798+##############################################################################
2799+import mgmtsystem_nonconformity_project
2800+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2801
2802=== added file 'mgmtsystem_nonconformity_project/__openerp__.py'
2803--- mgmtsystem_nonconformity_project/__openerp__.py 1970-01-01 00:00:00 +0000
2804+++ mgmtsystem_nonconformity_project/__openerp__.py 2010-12-14 20:53:21 +0000
2805@@ -0,0 +1,41 @@
2806+# -*- encoding: utf-8 -*-
2807+##############################################################################
2808+#
2809+# OpenERP, Open Source Management Solution
2810+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
2811+#
2812+# This program is free software: you can redistribute it and/or modify
2813+# it under the terms of the GNU General Public License as
2814+# published by the Free Software Foundation, either version 3 of the
2815+# License, or (at your option) any later version.
2816+#
2817+# This program is distributed in the hope that it will be useful,
2818+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2819+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2820+# GNU General Public License for more details.
2821+#
2822+# You should have received a copy of the GNU General Public License
2823+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2824+#
2825+##############################################################################
2826+{
2827+ "name" : "Management System - Project",
2828+ "version" : "0.1",
2829+ "author" : "Savoir-faire Linux",
2830+ "website" : "http://www.savoirfairelinux.com",
2831+ "license" : "GPL-3",
2832+ "category" : "Management System",
2833+ "description": """
2834+ This module enables you to set a project as an action in the nonconformity.
2835+ """,
2836+ "depends" : ['mgmtsystem_nonconformity','project'],
2837+ "init_xml" : [],
2838+ "update_xml" : [
2839+ 'mgmtsystem_nonconformity_project.xml',
2840+ ],
2841+ "demo_xml" : [],
2842+ "installable" : True,
2843+ "certificate" : ''
2844+}
2845+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2846+
2847
2848=== added file 'mgmtsystem_nonconformity_project/mgmtsystem_nonconformity_project.py'
2849--- mgmtsystem_nonconformity_project/mgmtsystem_nonconformity_project.py 1970-01-01 00:00:00 +0000
2850+++ mgmtsystem_nonconformity_project/mgmtsystem_nonconformity_project.py 2010-12-14 20:53:21 +0000
2851@@ -0,0 +1,36 @@
2852+# -*- encoding: utf-8 -*-
2853+##############################################################################
2854+#
2855+# OpenERP, Open Source Management Solution
2856+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
2857+#
2858+# This program is free software: you can redistribute it and/or modify
2859+# it under the terms of the GNU General Public License as
2860+# published by the Free Software Foundation, either version 3 of the
2861+# License, or (at your option) any later version.
2862+#
2863+# This program is distributed in the hope that it will be useful,
2864+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2865+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2866+# GNU General Public License for more details.
2867+#
2868+# You should have received a copy of the GNU General Public License
2869+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2870+#
2871+##############################################################################
2872+
2873+from osv import fields, osv
2874+from project.project import project
2875+
2876+class mgmtsystem_nonconformity_project(osv.osv):
2877+ _inherit = "mgmtsystem.nonconformity"
2878+ _columns = {
2879+ 'corrective_type': fields.selection((('task','Task'), ('project','Project')),'Corrective Action Type'),
2880+ 'corrective_project_id': fields.many2one('project.project', 'Corrective Project'),
2881+ 'preventive_type': fields.selection((('task','Task'), ('project','Project')),'Preventive Action Type'),
2882+ 'preventive_project_id': fields.many2one('project.project', 'Preventive Project'),
2883+ }
2884+
2885+mgmtsystem_nonconformity_project()
2886+
2887+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2888
2889=== added file 'mgmtsystem_nonconformity_project/mgmtsystem_nonconformity_project.xml'
2890--- mgmtsystem_nonconformity_project/mgmtsystem_nonconformity_project.xml 1970-01-01 00:00:00 +0000
2891+++ mgmtsystem_nonconformity_project/mgmtsystem_nonconformity_project.xml 2010-12-14 20:53:21 +0000
2892@@ -0,0 +1,33 @@
2893+<openerp>
2894+ <data>
2895+
2896+ <record id="view_mgmtsystem_nonconformity_form" model="ir.ui.view">
2897+ <field name="name">mgmtsystem.nonconformity.inherit</field>
2898+ <field name="model">mgmtsystem.nonconformity</field>
2899+ <field name="inherit_id" ref="mgmtsystem_nonconformity.view_mgmtsystem_nonconformity_form"/>
2900+ <field name="arch" type="xml">
2901+ <field name="corrective_action_id" position="replace">
2902+ <newline/>
2903+ <field name="corrective_type"/>
2904+ <group attrs="{'invisible' : [('corrective_type', '!=', 'task')]}">
2905+ <field name="corrective_action_id" nolabel="1"/>
2906+ </group>
2907+ <group attrs="{'invisible' : [('corrective_type', '!=', 'project')]}">
2908+ <field name="corrective_project_id" nolabel="1"/>
2909+ </group>
2910+ </field>
2911+ <field name="preventive_action_id" position="replace">
2912+ <newline/>
2913+ <field name="preventive_type"/>
2914+ <group attrs="{'invisible' : [('preventive_type', '!=', 'task')]}">
2915+ <field name="preventive_action_id" nolabel="1"/>
2916+ </group>
2917+ <group attrs="{'invisible' : [('preventive_type', '!=', 'project')]}">
2918+ <field name="preventive_project_id" nolabel="1"/>
2919+ </group>
2920+ </field>
2921+ </field>
2922+ </record>
2923+
2924+ </data>
2925+</openerp>
2926
2927=== added directory 'mgmtsystem_quality'
2928=== added file 'mgmtsystem_quality/__init__.py'
2929--- mgmtsystem_quality/__init__.py 1970-01-01 00:00:00 +0000
2930+++ mgmtsystem_quality/__init__.py 2010-12-14 20:53:21 +0000
2931@@ -0,0 +1,21 @@
2932+# -*- encoding: utf-8 -*-
2933+##############################################################################
2934+#
2935+# OpenERP, Open Source Management Solution
2936+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
2937+#
2938+# This program is free software: you can redistribute it and/or modify
2939+# it under the terms of the GNU General Public License as
2940+# published by the Free Software Foundation, either version 3 of the
2941+# License, or (at your option) any later version.
2942+#
2943+# This program is distributed in the hope that it will be useful,
2944+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2945+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2946+# GNU General Public License for more details.
2947+#
2948+# You should have received a copy of the GNU General Public License
2949+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2950+#
2951+##############################################################################
2952+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2953
2954=== added file 'mgmtsystem_quality/__openerp__.py'
2955--- mgmtsystem_quality/__openerp__.py 1970-01-01 00:00:00 +0000
2956+++ mgmtsystem_quality/__openerp__.py 2010-12-14 20:53:21 +0000
2957@@ -0,0 +1,44 @@
2958+# -*- encoding: utf-8 -*-
2959+##############################################################################
2960+#
2961+# OpenERP, Open Source Management Solution
2962+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
2963+#
2964+# This program is free software: you can redistribute it and/or modify
2965+# it under the terms of the GNU General Public License as
2966+# published by the Free Software Foundation, either version 3 of the
2967+# License, or (at your option) any later version.
2968+#
2969+# This program is distributed in the hope that it will be useful,
2970+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2971+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2972+# GNU General Public License for more details.
2973+#
2974+# You should have received a copy of the GNU General Public License
2975+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2976+#
2977+##############################################################################
2978+{
2979+ "name" : " Quality Management System",
2980+ "version" : "0.1",
2981+ "author" : "Savoir-faire Linux",
2982+ "website" : "http://www.savoirfairelinux.com",
2983+ "license" : "GPL-3",
2984+ "category" : "Management System",
2985+ "description": """
2986+ This module enables you to manage your quality management system, including :
2987+ * Quality Manual
2988+ * Audits
2989+ * Procedures
2990+ * Nonconformities
2991+ * Actions
2992+ """,
2993+ "depends" : ['mgmtsystem_audit','wiki_quality_manual'],
2994+ "init_xml" : [],
2995+ "update_xml" : [],
2996+ "demo_xml" : [],
2997+ "installable" : True,
2998+ "certificate" : ''
2999+}
3000+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
3001+
3002
3003=== added directory 'wiki_environment_manual'
3004=== added file 'wiki_environment_manual/__init__.py'
3005--- wiki_environment_manual/__init__.py 1970-01-01 00:00:00 +0000
3006+++ wiki_environment_manual/__init__.py 2010-12-14 20:53:21 +0000
3007@@ -0,0 +1,21 @@
3008+# -*- encoding: utf-8 -*-
3009+##############################################################################
3010+#
3011+# OpenERP, Open Source Management Solution
3012+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
3013+#
3014+# This program is free software: you can redistribute it and/or modify
3015+# it under the terms of the GNU General Public License as
3016+# published by the Free Software Foundation, either version 3 of the
3017+# License, or (at your option) any later version.
3018+#
3019+# This program is distributed in the hope that it will be useful,
3020+# but WITHOUT ANY WARRANTY; without even the implied warranty of
3021+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3022+# GNU General Public License for more details.
3023+#
3024+# You should have received a copy of the GNU General Public License
3025+# along with this program. If not, see <http://www.gnu.org/licenses/>.
3026+#
3027+##############################################################################
3028+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
3029
3030=== added file 'wiki_environment_manual/__openerp__.py'
3031--- wiki_environment_manual/__openerp__.py 1970-01-01 00:00:00 +0000
3032+++ wiki_environment_manual/__openerp__.py 2010-12-14 20:53:21 +0000
3033@@ -0,0 +1,38 @@
3034+# -*- encoding: utf-8 -*-
3035+##############################################################################
3036+#
3037+# OpenERP, Open Source Management Solution
3038+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
3039+#
3040+# This program is free software: you can redistribute it and/or modify
3041+# it under the terms of the GNU General Public License as
3042+# published by the Free Software Foundation, either version 3 of the
3043+# License, or (at your option) any later version.
3044+#
3045+# This program is distributed in the hope that it will be useful,
3046+# but WITHOUT ANY WARRANTY; without even the implied warranty of
3047+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3048+# GNU General Public License for more details.
3049+#
3050+# You should have received a copy of the GNU General Public License
3051+# along with this program. If not, see <http://www.gnu.org/licenses/>.
3052+#
3053+##############################################################################
3054+{
3055+ "name" : "Document Management - Wiki - Environment Manual",
3056+ "version" : "0.1",
3057+ "author" : "Savoir-faire Linux",
3058+ "website" : "http://www.savoirfairelinux.com",
3059+ "license" : "GPL-3",
3060+ "category" : "Generic Modules/Others",
3061+ "description": """Environment Manual Template
3062+ """,
3063+ "depends" : ['wiki'],
3064+ "init_xml" : [],
3065+ "update_xml" : ['wiki_environment_manual.xml'],
3066+ "demo_xml" : [],
3067+ "installable" : True,
3068+ "certificate" : ''
3069+}
3070+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
3071+
3072
3073=== added file 'wiki_environment_manual/wiki_environment_manual.xml'
3074--- wiki_environment_manual/wiki_environment_manual.xml 1970-01-01 00:00:00 +0000
3075+++ wiki_environment_manual/wiki_environment_manual.xml 2010-12-14 20:53:21 +0000
3076@@ -0,0 +1,81 @@
3077+<?xml version="1.0" encoding="UTF-8"?>
3078+<openerp>
3079+ <data>
3080+ <record id="wiki_environment_manual" model="wiki.wiki">
3081+ <field name="name">Environment Manual</field>
3082+ <field name="tags">environment, faq, manual</field>
3083+ <field name="minor_edit">0</field>
3084+ <field name="toc">1</field>
3085+ <field name="review">1</field>
3086+ <field name="section">2</field>
3087+ <field name="summary">Base template</field>
3088+ <field name="text_area">
3089+=Application Domain=
3090+
3091+==General==
3092+
3093+==Application Perimeter==
3094+
3095+=Standards References=
3096+
3097+=Terms and Definitions=
3098+
3099+==Confidentiality==
3100+
3101+=Environment Management System=
3102+
3103+==General Requirements==
3104+
3105+==Environmental Policy==
3106+
3107+==Planning==
3108+
3109+===Environmental Aspects===
3110+
3111+===Legal and Other Requirements===
3112+
3113+===Objectives, Targets and Programs===
3114+
3115+==Implementation and Operation==
3116+
3117+===Resources, Roles, Responsibilities and Authority===
3118+
3119+===Training, Awareness and Competence===
3120+
3121+===Communication===
3122+
3123+===Documentation===
3124+
3125+===Documentation Control===
3126+
3127+===Operational Control===
3128+
3129+===Emergency Preparedness and Response===
3130+
3131+==Control==
3132+
3133+===Monitoring and Measurement===
3134+
3135+===Evaluation of Compliance===
3136+
3137+===Non­conformity, Corrective Action and Preventive Action===
3138+
3139+===Control of Records===
3140+
3141+===Internal Audit===
3142+
3143+==Management Review==
3144+ </field>
3145+ </record>
3146+ <record id="wiki_group_environment_manual" model="wiki.groups">
3147+ <field name="name">Environment Manual</field>
3148+ <field name="section">2</field>
3149+ <field name="home" ref="wiki_environment_manual"/>
3150+ </record>
3151+ </data>
3152+ <data>
3153+ <record id="wiki_environment_manual" model="wiki.wiki">
3154+ <field name="group_id" ref="wiki_group_environment_manual"/>
3155+ </record>
3156+ </data>
3157+</openerp>
3158
3159=== added directory 'wiki_procedure'
3160=== added file 'wiki_procedure/__init__.py'
3161--- wiki_procedure/__init__.py 1970-01-01 00:00:00 +0000
3162+++ wiki_procedure/__init__.py 2010-12-14 20:53:21 +0000
3163@@ -0,0 +1,21 @@
3164+# -*- encoding: utf-8 -*-
3165+##############################################################################
3166+#
3167+# OpenERP, Open Source Management Solution
3168+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
3169+#
3170+# This program is free software: you can redistribute it and/or modify
3171+# it under the terms of the GNU General Public License as
3172+# published by the Free Software Foundation, either version 3 of the
3173+# License, or (at your option) any later version.
3174+#
3175+# This program is distributed in the hope that it will be useful,
3176+# but WITHOUT ANY WARRANTY; without even the implied warranty of
3177+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3178+# GNU General Public License for more details.
3179+#
3180+# You should have received a copy of the GNU General Public License
3181+# along with this program. If not, see <http://www.gnu.org/licenses/>.
3182+#
3183+##############################################################################
3184+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
3185
3186=== added file 'wiki_procedure/__openerp__.py'
3187--- wiki_procedure/__openerp__.py 1970-01-01 00:00:00 +0000
3188+++ wiki_procedure/__openerp__.py 2010-12-14 20:53:21 +0000
3189@@ -0,0 +1,38 @@
3190+# -*- encoding: utf-8 -*-
3191+##############################################################################
3192+#
3193+# OpenERP, Open Source Management Solution
3194+# Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
3195+#
3196+# This program is free software: you can redistribute it and/or modify
3197+# it under the terms of the GNU General Public License as
3198+# published by the Free Software Foundation, either version 3 of the
3199+# License, or (at your option) any later version.
3200+#
3201+# This program is distributed in the hope that it will be useful,
3202+# but WITHOUT ANY WARRANTY; without even the implied warranty of
3203+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3204+# GNU General Public License for more details.
3205+#
3206+# You should have received a copy of the GNU General Public License
3207+# along with this program. If not, see <http://www.gnu.org/licenses/>.
3208+#
3209+##############################################################################
3210+{
3211+ "name" : "Document Management - Wiki - Procedures",
3212+ "version" : "0.1",
3213+ "author" : "Savoir-faire Linux",
3214+ "website" : "http://www.savoirfairelinux.com",
3215+ "license" : "GPL-3",
3216+ "category" : "Generic Modules/Others",
3217+ "description": """Procedure Template
3218+ """,
3219+ "depends" : ['wiki'],
3220+ "init_xml" : [],
3221+ "update_xml" : ['wiki_procedure.xml'],
3222+ "demo_xml" : [],
3223+ "installable" : True,
3224+ "certificate" : ''
3225+}
3226+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
3227+
3228
3229=== added file 'wiki_procedure/wiki_procedure.xml'
3230--- wiki_procedure/wiki_procedure.xml 1970-01-01 00:00:00 +0000
3231+++ wiki_procedure/wiki_procedure.xml 2010-12-14 20:53:21 +0000
3232@@ -0,0 +1,35 @@
3233+<?xml version="1.0" encoding="UTF-8"?>
3234+<openerp>
3235+ <data>
3236+ <record id="wiki_procedure" model="wiki.wiki">
3237+ <field name="name">Procedure</field>
3238+ <field name="tags">procedure</field>
3239+ <field name="minor_edit">0</field>
3240+ <field name="toc">1</field>
3241+ <field name="review">1</field>
3242+ <field name="section">2</field>
3243+ <field name="summary">Procedure template</field>
3244+ <field name="text_area">
3245+=Objective=
3246+
3247+=Application Domain=
3248+
3249+=Terms and Definitions=
3250+
3251+=Responsibilities=
3252+
3253+=Process=
3254+ </field>
3255+ </record>
3256+ <record id="wiki_group_procedure" model="wiki.groups">
3257+ <field name="name">Procedure</field>
3258+ <field name="section">2</field>
3259+ <field name="home" ref="wiki_procedure"/>
3260+ </record>
3261+ </data>
3262+ <data>
3263+ <record id="wiki_procedure" model="wiki.wiki">
3264+ <field name="group_id" ref="wiki_group_procedure"/>
3265+ </record>
3266+ </data>
3267+</openerp>

Subscribers

People subscribed via source and target branches