From 5da2329d0342773bbaf4051478940010f896000f Mon Sep 17 00:00:00 2001 From: "Bhumika (OpenERP)" Date: Wed, 13 Apr 2011 11:39:15 +0530 Subject: [PATCH] [Fix] crm: fix the buildbot warning bzr revid: sbh@tinyerp.com-20110413060915-g4yyry312tvtoc6e --- addons/crm/wizard/crm_merge_opportunities.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/crm/wizard/crm_merge_opportunities.py b/addons/crm/wizard/crm_merge_opportunities.py index e42c4bbbbd1..d8a97e13b15 100644 --- a/addons/crm/wizard/crm_merge_opportunities.py +++ b/addons/crm/wizard/crm_merge_opportunities.py @@ -137,8 +137,7 @@ class crm_merge_opportunity(osv.osv_memory): attach_ids = self.get_attachments(cr, uid, opp, context=context) self.set_attachements_res_id(cr, uid, first_opportunity.id, attach_ids) for history in opp.message_ids: - - new_history = message_obj.write(cr, uid, history.id, {'res_id': first_opportunity.id, 'name' : _("From %s : %s") % (opp.name, history.name) }, context=context) + message_obj.write(cr, uid, history.id, {'res_id': first_opportunity.id, 'name' : _("From %s : %s") % (opp.name, history.name) }, context=context) #Notification about loss of information details = []