diff --git a/addons/crm/crm.py b/addons/crm/crm.py
index a98fcadb959..700047768ba 100644
--- a/addons/crm/crm.py
+++ b/addons/crm/crm.py
@@ -28,11 +28,11 @@ from openerp.osv import fields
from openerp.osv import osv
AVAILABLE_PRIORITIES = [
- ('1', 'Highest'),
- ('2', 'High'),
- ('3', 'Normal'),
- ('4', 'Low'),
- ('5', 'Lowest'),
+ ('0', 'Lowest'),
+ ('1', 'Low'),
+ ('2', 'Normal'),
+ ('3', 'High'),
+ ('4', 'Highest'),
]
class crm_case_channel(osv.osv):
diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py
index eaf51293355..c13e5703897 100644
--- a/addons/crm/crm_lead.py
+++ b/addons/crm/crm_lead.py
@@ -445,19 +445,7 @@ class crm_lead(format_address, osv.osv):
return True
def set_priority(self, cr, uid, ids, priority, context=None):
- """ Set lead priority
- """
- return self.write(cr, uid, ids, {'priority': priority}, context=context)
-
- def set_high_priority(self, cr, uid, ids, context=None):
- """ Set lead priority to high
- """
- return self.set_priority(cr, uid, ids, '1', context=context)
-
- def set_normal_priority(self, cr, uid, ids, context=None):
- """ Set lead priority to normal
- """
- return self.set_priority(cr, uid, ids, '3', context=context)
+ return self.write(cr, uid, ids, {'priority': str(priority)}, context=context)
def _merge_get_result_type(self, cr, uid, opps, context=None):
"""
diff --git a/addons/crm/crm_lead_demo.xml b/addons/crm/crm_lead_demo.xml
index dab17888d7a..c3785081d4f 100644
--- a/addons/crm/crm_lead_demo.xml
+++ b/addons/crm/crm_lead_demo.xml
@@ -174,7 +174,7 @@ Contact: +1 813 494 5005