[REVERT]lead merge text contact back to , instead of line return
bzr revid: dle@openerp.com-20130206131234-9y73kgq6nqplt2lt
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user