diff --git a/addons/crm/crm.py b/addons/crm/crm.py index e118767b43b..b1d1804a389 100644 --- a/addons/crm/crm.py +++ b/addons/crm/crm.py @@ -287,7 +287,6 @@ class crm_case(object): if part: addr = self.pool.get('res.partner').address_get(cr, uid, [part], ['contact']) data = {'partner_address_id': addr['contact']} - data.update(self.onchange_partner_address_id(cr, uid, ids, addr['contact'])['value']) return {'value': data} def onchange_partner_address_id(self, cr, uid, ids, add, email=False): diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index 1b0121cb278..7248c9f684c 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -279,7 +279,7 @@ class crm_lead(crm_case, osv.osv): if 'stage_id' in vals and vals['stage_id']: stage_obj = self.pool.get('crm.case.stage').browse(cr, uid, vals['stage_id'], context=context) - self.history(cr, uid, ids, _('Stage'), details=stage_obj.name) + self.history(cr, uid, ids, _("Changed Stage to: ") + stage_obj.name, details=_("Changed Stage to: ") + stage_obj.name) message='' for case in self.browse(cr, uid, ids, context=context): if case.type == 'lead' or context.get('stage_type',False)=='lead': diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml index f74bad42108..776cb970321 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -89,7 +89,7 @@ - + @@ -99,7 +99,7 @@ - +