[FIX] CRM : Corrected case_close() method in order to avoid variable reference Error. (Ref : Case 4389) NOte that the original problem comes due to web which allows ids=[] on the call of the method
bzr revid: jvo@tinyerp.com-20110303104025-dlp80uwnc0ukvos7
This commit is contained in:
@@ -110,6 +110,7 @@ class crm_phonecall(crm_case, osv.osv):
|
||||
@param ids: List of case Ids
|
||||
@param *args: Tuple Value for additional Params
|
||||
"""
|
||||
res = True
|
||||
for phone in self.browse(cr, uid, ids):
|
||||
phone_id= phone.id
|
||||
data = {'date_closed': time.strftime('%Y-%m-%d %H:%M:%S')}
|
||||
|
||||
Reference in New Issue
Block a user