From e6756107d8e4399d174a94afc9a6c2f2ef6a5444 Mon Sep 17 00:00:00 2001 From: "rpa (Open ERP)" Date: Wed, 28 Apr 2010 16:56:12 +0530 Subject: [PATCH] [REM]: crm: Moved helpdesk from crm [ADD]: crm_helpdesk: Added new module for helpdesk bzr revid: rpa@tinyerp.com-20100428112612-p3ehmvq54664984g --- addons/crm_helpdesk/__init__.py | 26 ++++++++++ addons/crm_helpdesk/__openerp__.py | 49 +++++++++++++++++++ addons/{crm => crm_helpdesk}/crm_helpdesk.py | 2 +- .../crm_helpdesk_data.xml | 0 .../crm_helpdesk_demo.xml | 0 .../crm_helpdesk_menu.xml | 2 +- .../crm_helpdesk_view.xml | 4 +- addons/crm_helpdesk/report/__init__.py | 25 ++++++++++ .../report/crm_helpdesk_report.py | 0 .../report/crm_helpdesk_report_view.xml | 2 +- .../crm_helpdesk/security/ir.model.access.csv | 3 ++ .../test/test_crm_helpdesk.yml | 0 12 files changed, 108 insertions(+), 5 deletions(-) create mode 100644 addons/crm_helpdesk/__init__.py create mode 100644 addons/crm_helpdesk/__openerp__.py rename addons/{crm => crm_helpdesk}/crm_helpdesk.py (99%) rename addons/{crm => crm_helpdesk}/crm_helpdesk_data.xml (100%) rename addons/{crm => crm_helpdesk}/crm_helpdesk_demo.xml (100%) rename addons/{crm => crm_helpdesk}/crm_helpdesk_menu.xml (95%) rename addons/{crm => crm_helpdesk}/crm_helpdesk_view.xml (98%) create mode 100644 addons/crm_helpdesk/report/__init__.py rename addons/{crm => crm_helpdesk}/report/crm_helpdesk_report.py (100%) rename addons/{crm => crm_helpdesk}/report/crm_helpdesk_report_view.xml (99%) create mode 100644 addons/crm_helpdesk/security/ir.model.access.csv rename addons/{crm => crm_helpdesk}/test/test_crm_helpdesk.yml (100%) diff --git a/addons/crm_helpdesk/__init__.py b/addons/crm_helpdesk/__init__.py new file mode 100644 index 00000000000..5d270dbebf8 --- /dev/null +++ b/addons/crm_helpdesk/__init__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + +import crm_helpdesk +import report + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: + diff --git a/addons/crm_helpdesk/__openerp__.py b/addons/crm_helpdesk/__openerp__.py new file mode 100644 index 00000000000..93bb5af70c9 --- /dev/null +++ b/addons/crm_helpdesk/__openerp__.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + + +{ + 'name': 'CRM Helpdesk', + 'version': '1.0', + 'category': 'Generic Modules/CRM & SRM', + 'description': """Helpdesk Management""", + 'author': 'Tiny', + 'website': 'http://www.openerp.com', + 'depends': ['crm'], + 'init_xml': [ + 'crm_helpdesk_data.xml', + ], + + 'update_xml': [ + 'crm_helpdesk_view.xml', + 'crm_helpdesk_menu.xml', + 'security/ir.model.access.csv', + 'report/crm_helpdesk_report_view.xml', + ], + 'demo_xml': [ + 'crm_helpdesk_demo.xml', + 'test/test_crm_helpdesk.yml' + ], + 'installable': True, + 'active': False, +} + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/crm/crm_helpdesk.py b/addons/crm_helpdesk/crm_helpdesk.py similarity index 99% rename from addons/crm/crm_helpdesk.py rename to addons/crm_helpdesk/crm_helpdesk.py index 9bb93d17e1a..fda251d16ac 100644 --- a/addons/crm/crm_helpdesk.py +++ b/addons/crm_helpdesk/crm_helpdesk.py @@ -22,7 +22,7 @@ from osv import fields from osv import orm from osv import osv -import crm +from crm import crm class crm_helpdesk(osv.osv): """ Helpdesk Cases """ diff --git a/addons/crm/crm_helpdesk_data.xml b/addons/crm_helpdesk/crm_helpdesk_data.xml similarity index 100% rename from addons/crm/crm_helpdesk_data.xml rename to addons/crm_helpdesk/crm_helpdesk_data.xml diff --git a/addons/crm/crm_helpdesk_demo.xml b/addons/crm_helpdesk/crm_helpdesk_demo.xml similarity index 100% rename from addons/crm/crm_helpdesk_demo.xml rename to addons/crm_helpdesk/crm_helpdesk_demo.xml diff --git a/addons/crm/crm_helpdesk_menu.xml b/addons/crm_helpdesk/crm_helpdesk_menu.xml similarity index 95% rename from addons/crm/crm_helpdesk_menu.xml rename to addons/crm_helpdesk/crm_helpdesk_menu.xml index bd3f0889bd1..5030fd65506 100644 --- a/addons/crm/crm_helpdesk_menu.xml +++ b/addons/crm_helpdesk/crm_helpdesk_menu.xml @@ -11,7 +11,7 @@ crm.helpdesk tree,calendar,form - + diff --git a/addons/crm/crm_helpdesk_view.xml b/addons/crm_helpdesk/crm_helpdesk_view.xml similarity index 98% rename from addons/crm/crm_helpdesk_view.xml rename to addons/crm_helpdesk/crm_helpdesk_view.xml index fa2071f950b..15f00e66cf5 100644 --- a/addons/crm/crm_helpdesk_view.xml +++ b/addons/crm_helpdesk/crm_helpdesk_view.xml @@ -127,7 +127,7 @@