[IMP] improved code for prefix in string
bzr revid: tpa@tinyerp.com-20120430104320-prnyyct16eh2c0p8
This commit is contained in:
parent
a97e8d09c7
commit
09267cd091
|
@ -435,7 +435,7 @@ class crm_case(crm_base):
|
|||
return True
|
||||
|
||||
def case_get_note_msg_prefix(self, cr, uid, id, context=None):
|
||||
return 'Case'
|
||||
return ''
|
||||
|
||||
def case_open(self, cr, uid, ids, context=None):
|
||||
"""Opens Case"""
|
||||
|
|
|
@ -92,6 +92,9 @@ class crm_helpdesk(crm.crm_case, osv.osv):
|
|||
'priority': lambda *a: crm.AVAILABLE_PRIORITIES[2][0],
|
||||
}
|
||||
|
||||
def case_get_note_msg_prefix(self, cr, uid, id, context=None):
|
||||
return 'Case'
|
||||
|
||||
def message_new(self, cr, uid, msg_dict, custom_values=None, context=None):
|
||||
"""Automatically called when new email message arrives"""
|
||||
res_id = super(crm_helpdesk,self).message_new(cr, uid, msg_dict, custom_values=custom_values, context=context)
|
||||
|
|
Loading…
Reference in New Issue