[REVERT]lead merge text contact back to , instead of line return

bzr revid: dle@openerp.com-20130206131234-9y73kgq6nqplt2lt
This commit is contained in:
dle@openerp.com
2013-02-06 14:12:34 +01:00
parent fb58f9290b
commit 808fb96ded
+1 -1
View File
@@ -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 = {}