From 808fb96dede1c240772784869479ff473dccc3e8 Mon Sep 17 00:00:00 2001 From: "dle@openerp.com" <> Date: Wed, 6 Feb 2013 14:12:34 +0100 Subject: [PATCH] [REVERT]lead merge text contact back to , instead of line return bzr revid: dle@openerp.com-20130206131234-9y73kgq6nqplt2lt --- addons/crm/crm_lead.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index d5f90d8a653..5755174b7b7 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -498,7 +498,7 @@ class crm_lead(base_stage, format_address, osv.osv): return res and res.id or False def _concat_all(attr): - return '\n\n'.join(filter(lambda x: x, [getattr(opp, attr) or '' for opp in opportunities if hasattr(opp, attr)])) + return ','.join(filter(lambda x: x, [getattr(opp, attr) or '' for opp in opportunities if hasattr(opp, attr)])) # Process the fields' values data = {}