diff --git a/addons/crm_project/crm_feature_menu.xml b/addons/crm_project/crm_feature_menu.xml
deleted file mode 100644
index 1e3e8a5a915..00000000000
--- a/addons/crm_project/crm_feature_menu.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
- ######################## Future Request (menu) ###########################
-
-
- Future Requests
- crm.project.bug
- form
- tree,calendar
-
-
-
-
-
-
- tree
-
-
-
-
-
- calendar
-
-
-
-
-
- form
-
-
-
-
-
-
-
diff --git a/addons/crm_project/report_crm_project_bug_view.xml b/addons/crm_project/report_crm_project_bug_view.xml
deleted file mode 100644
index 50b9145bad7..00000000000
--- a/addons/crm_project/report_crm_project_bug_view.xml
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
- report.crm.project.bug.tree
- report.crm.project.bug
- tree
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- report.crm.project.bug.form
- report.crm.project.bug
-
- form
-
-
-
-
-
-
-
-
-
-
-
-
- report.crm.project.bug.graph
- report.crm.project.bug
- graph
-
-
-
-
-
-
-
-
-
-
- report.crm.project.bug.select
- report.crm.project.bug
-
- search
-
-
-
-
-
-
-
-
- Project Bug
- report.crm.project.bug
- form
- graph,tree
-
-
-
-
-
-
-
- tree
-
-
-
-
-
- graph
-
-
-
-
-
-
-
-
diff --git a/addons/crm_project/security/crm_project_security.xml b/addons/crm_project/security/crm_project_security.xml
deleted file mode 100644
index 5789be5d41d..00000000000
--- a/addons/crm_project/security/crm_project_security.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
- crm.project.bug.rule.group
-
-
-
-
- ['|',('project_id','=',False),('project_id','=',user.context_project_id)]
-
-
-
-
-
diff --git a/addons/crm_project/security/ir.model.access.csv b/addons/crm_project/security/ir.model.access.csv
deleted file mode 100644
index e483f2ccc20..00000000000
--- a/addons/crm_project/security/ir.model.access.csv
+++ /dev/null
@@ -1,3 +0,0 @@
-"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
-"access_crm_project_bug","crm.project.bug","model_crm_project_bug","crm.group_crm_manager",1,1,1,1
-"access_report_crm_project_bug","report.crm.project.bug","model_report_crm_project_bug","crm.group_crm_manager",1,0,0,0
diff --git a/addons/crm_project/__init__.py b/addons/project_issue/__init__.py
similarity index 97%
rename from addons/crm_project/__init__.py
rename to addons/project_issue/__init__.py
index fd6e45fcf00..4ee524bb479 100644
--- a/addons/crm_project/__init__.py
+++ b/addons/project_issue/__init__.py
@@ -21,7 +21,7 @@
##############################################################################
-import crm_project_bug
+import project_issue
import report
import wizard
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/crm_project/__terp__.py b/addons/project_issue/__terp__.py
similarity index 76%
rename from addons/crm_project/__terp__.py
rename to addons/project_issue/__terp__.py
index cbaf06871d3..05a94ba809b 100644
--- a/addons/crm_project/__terp__.py
+++ b/addons/project_issue/__terp__.py
@@ -22,28 +22,28 @@
{
- 'name': 'Bug Reporting in Project Management',
+ 'name': 'Issue Management in Project Management',
'version': '1.0',
'category': 'Generic Modules/CRM & SRM',
'description': """
- This module provide Store the project bugs with cases
+ This module provide Issues/Bugs Management in Project
""",
'author': 'Tiny',
'website': 'http://www.openerp.com',
'depends': ['crm','project'],
'init_xml': [
- 'crm_bugs_data.xml'
+ 'project_issue_data.xml'
],
'update_xml': [
- 'crm_bug_wizard.xml',
- 'crm_bugs_view.xml',
- 'crm_bugs_menu.xml',
- 'crm_feature_menu.xml',
- 'report_crm_project_bug_view.xml',
- 'security/crm_project_security.xml',
+ 'project_issue_wizard.xml',
+ 'project_issue_view.xml',
+ 'project_issue_menu.xml',
+ 'project_feature_menu.xml',
+ 'report/project_issue_report_view.xml',
+ 'security/project_issue_security.xml',
'security/ir.model.access.csv',
],
- 'demo_xml': ['crm_bugs_demo.xml'],
+ 'demo_xml': ['project_issue_demo.xml'],
'installable': True,
'active': False,
}
diff --git a/addons/project_issue/project_feature_menu.xml b/addons/project_issue/project_feature_menu.xml
new file mode 100644
index 00000000000..933a3a6112e
--- /dev/null
+++ b/addons/project_issue/project_feature_menu.xml
@@ -0,0 +1,38 @@
+
+
+
+
+
+ ######################## Future Request (menu) ###########################
+
+
+ Future Requests
+ project.issue
+ form
+ tree,calendar
+
+
+
+
+
+
+ tree
+
+
+
+
+
+ calendar
+
+
+
+
+
+ form
+
+
+
+
+
+
+
diff --git a/addons/crm_project/crm_project_bug.py b/addons/project_issue/project_issue.py
similarity index 92%
rename from addons/crm_project/crm_project_bug.py
rename to addons/project_issue/project_issue.py
index 0085ce193be..f0441c0263c 100644
--- a/addons/crm_project/crm_project_bug.py
+++ b/addons/project_issue/project_issue.py
@@ -22,8 +22,6 @@
import time
import re
import os
-
-import mx.DateTime
import base64
from tools.translate import _
@@ -35,9 +33,9 @@ from osv.orm import except_orm
from crm import crm
-class crm_project_bug(osv.osv):
- _name = "crm.project.bug"
- _description = "Project Bug Cases"
+class project_issue(osv.osv):
+ _name = "project.issue"
+ _description = "Project Issue"
_order = "priority, id desc"
_inherit = 'crm.case'
_columns = {
@@ -54,12 +52,12 @@ class crm_project_bug(osv.osv):
"to be created with a factor for each level from 0 (Very dissatisfied) to 10 (Extremely satisfied)."),
'categ_id': fields.many2one('crm.case.categ','Category', domain="[('object_id.model', '=', 'crm.project.bug')]"),
'priority': fields.selection(crm.AVAILABLE_PRIORITIES, 'Priority'),
- 'type_id': fields.many2one('crm.case.resource.type', 'Bug Type', domain="[('object_id.model', '=', 'crm.project.bug')]"),
+ 'type_id': fields.many2one('crm.case.resource.type', 'Bug Type', domain="[('object_id.model', '=', 'project.issue')]"),
'partner_name': fields.char("Employee's Name", size=64),
'partner_mobile': fields.char('Mobile', size=32),
'partner_phone': fields.char('Phone', size=32),
- 'stage_id': fields.many2one ('crm.case.stage', 'Stage', domain="[('object_id.model', '=', 'crm.project.bug')]"),
+ 'stage_id': fields.many2one ('crm.case.stage', 'Stage', domain="[('object_id.model', '=', 'project.issue')]"),
'project_id':fields.many2one('project.project', 'Project'),
'duration': fields.float('Duration'),
'probability': fields.float('Probability (%)'),
@@ -74,7 +72,7 @@ class crm_project_bug(osv.osv):
def _convert(self, cr, uid, ids, xml_id, context=None):
data_obj = self.pool.get('ir.model.data')
- id2 = data_obj._get_id(cr, uid, 'crm_project', xml_id)
+ id2 = data_obj._get_id(cr, uid, 'project_issue', xml_id)
categ_id = False
if id2:
categ_id = data_obj.browse(cr, uid, id2, context=context).res_id
@@ -97,11 +95,11 @@ class crm_project_bug(osv.osv):
return {'value':{'probability':stage.probability}}
_defaults = {
- 'project_id':_get_project,
+ 'project_id':_get_project,
'probability':lambda *a:0.0,
'planned_cost':lambda *a:0.0,
'planned_revenue':lambda *a:0.0,
}
-crm_project_bug()
+project_issue()
diff --git a/addons/crm_project/crm_bugs_data.xml b/addons/project_issue/project_issue_data.xml
similarity index 68%
rename from addons/crm_project/crm_bugs_data.xml
rename to addons/project_issue/project_issue_data.xml
index 2a8729e49c2..a87039274f3 100644
--- a/addons/crm_project/crm_bugs_data.xml
+++ b/addons/project_issue/project_issue_data.xml
@@ -9,12 +9,12 @@
Bugs
-
+
Feature Requests
-
+
-
-
+
+
@@ -30,7 +30,7 @@
-
+
@@ -47,7 +47,7 @@
-
+
@@ -64,7 +64,7 @@
-
+
@@ -81,7 +81,7 @@
-
+
@@ -97,7 +97,7 @@
-
+
@@ -114,7 +114,7 @@
-
+
@@ -131,7 +131,7 @@
-
+
@@ -148,7 +148,7 @@
-
+
@@ -164,7 +164,7 @@
-
+
@@ -181,7 +181,7 @@
-
+
@@ -198,7 +198,7 @@
-