[FIX] Improved language in notification for partner creation.
bzr revid: bth@tinyerp.com-20120312111538-2rkydsbl39f040gq
This commit is contained in:
parent
edba2af7a2
commit
746a4e202f
|
@ -347,7 +347,7 @@ class crm_lead(crm_case, osv.osv):
|
|||
|
||||
def _case_partner_notification(self, cr, uid, ids, context=None):
|
||||
for lead in self.browse(cr, uid, ids, context=context):
|
||||
message = _("Partner is <b>created</b> for this %s") % ('Opportunity' if lead.type == 'opportunity' else 'Lead')
|
||||
message = _("Partner has <b>created</b> for this %s") % ('Opportunity' if lead.type == 'opportunity' else 'Lead')
|
||||
lead.message_append_note('' ,message)
|
||||
return True
|
||||
|
||||
|
|
|
@ -127,7 +127,7 @@ class crm_phonecall(crm_base, osv.osv):
|
|||
|
||||
def _case_partner_notification(self, cr, uid, ids, context=None):
|
||||
for phonecall in self.browse(cr, uid, ids, context=context):
|
||||
message = _("Partner is <b>created</b>")
|
||||
message = _("Partner has been <b>created</b>")
|
||||
phonecall.message_append_note('' ,message)
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue