diff --git a/addons/crm/crm.py b/addons/crm/crm.py index 9a1096b9d29..cdf2aabf07c 100644 --- a/addons/crm/crm.py +++ b/addons/crm/crm.py @@ -28,9 +28,11 @@ from openerp.osv import fields from openerp.osv import osv AVAILABLE_PRIORITIES = [ - ('0', 'Normal'), - ('1', 'High'), - ('2', 'Highest'), + ('0', 'Very Low'), + ('1', 'Low'), + ('2', 'Normal'), + ('3', 'High'), + ('4', 'Very High'), ] class crm_case_channel(osv.osv): diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index e806aa0c11a..1141335d5de 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -444,9 +444,6 @@ class crm_lead(format_address, osv.osv): self.write(cr, uid, [case.id], data, context=context) return True - def set_priority(self, cr, uid, ids, priority, context=None): - return self.write(cr, uid, ids, {'priority': str(priority)}, context=context) - def _merge_get_result_type(self, cr, uid, opps, context=None): """ Define the type of the result of the merge. If at least one of the diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml index f00fef23604..73d2a633bb2 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -305,7 +305,7 @@
- + @@ -401,7 +401,7 @@ name="action_makeMeeting" context="{'search_default_attendee_id': active_id, 'default_attendee_id' : active_id}"/> - +
- +