diff --git a/addons/project/project.py b/addons/project/project.py
index c25db314389..f0d29843809 100644
--- a/addons/project/project.py
+++ b/addons/project/project.py
@@ -27,7 +27,7 @@ from openerp.addons.resource.faces import task as Task
import time
from tools.translate import _
-_TASK_STATE = [('draft', 'New'),('open', 'In Progress'),('pending', 'Pending'), ('done', 'Done'), ('cancel', 'Cancelled')]
+_TASK_STATE = [('draft', 'New'),('open', 'In Progress'),('pending', 'Pending'), ('done', 'Done'), ('cancelled', 'Cancelled')]
class project_task_type(osv.osv):
_name = 'project.task.type'
@@ -981,7 +981,7 @@ class task(crm_case, osv.osv):
'ref_doc2': 'project.project,%d' % project.id,
}, context=context)
# cancel task
- self.case_set(cr, uid, [task.id], 'cancel', {'remaining_hours': 0.0}, context=context)
+ self.case_set(cr, uid, [task.id], 'cancelled', {'remaining_hours': 0.0}, context=context)
self.case_cancel_send_note(cr, uid, [task.id], context=context)
return True
diff --git a/addons/project/project_data.xml b/addons/project/project_data.xml
index 42d497b517a..d2a6a7ff399 100644
--- a/addons/project/project_data.xml
+++ b/addons/project/project_data.xml
@@ -28,37 +28,37 @@
1
Design
draft
-
+
2
Development
open
-
+
3
Testing
open
-
+
4
Pending
pending
-
+
5
Deployment
done
-
+
6
Cancelled
- cancel
-
+ cancelled
+
diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml
index 8427024a143..e403a2c1943 100644
--- a/addons/project/project_view.xml
+++ b/addons/project/project_view.xml
@@ -659,7 +659,7 @@
-
+
@@ -675,7 +675,7 @@