bzr revid: fp@tinyerp.com-20101016154628-vkrhn309haxqhbpu
This commit is contained in:
Fabien Pinckaers 2010-10-16 17:46:28 +02:00
parent af51827c9c
commit ab30c4663c
1 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ class crm_lead(crm_case, osv.osv):
'opportunity': _('The opportunity')
}.get(case.type, _('The case'))
message = n +" '" + case.name + "' "+ _("has been opened.")
self.log(cr, uid, id, message)
self.log(cr, uid, case.id, message)
return res
def case_close(self, cr, uid, ids, *args):
@ -222,7 +222,7 @@ class crm_lead(crm_case, osv.osv):
'opportunity': _('The opportunity')
}.get(case.type, _('The case'))
message = n +" '" + case.name + "' "+ _("has been closed.")
self.log(cr, uid, id, message)
self.log(cr, uid, case.id, message)
return res
def convert_opportunity(self, cr, uid, ids, context=None):