crm non translatable string
bzr revid: al@openerp.com-20121208083038-9hm7uausdmbgclc2
This commit is contained in:
parent
3fa8c94859
commit
0cc0dda679
|
@ -562,7 +562,10 @@ class crm_lead(base_stage, format_address, osv.osv):
|
||||||
#TOFIX: mail template should be used instead of fix body, subject text
|
#TOFIX: mail template should be used instead of fix body, subject text
|
||||||
details = []
|
details = []
|
||||||
result_type = self._merge_get_result_type(cr, uid, opportunities, context)
|
result_type = self._merge_get_result_type(cr, uid, opportunities, context)
|
||||||
merge_message = _('Merged %s') % ('leads' if (result_type == 'lead') else 'opportunities')
|
if result_type == 'lead':
|
||||||
|
merge_message = _('Merged leads')
|
||||||
|
else:
|
||||||
|
merge_message = _('Merged opportunities')
|
||||||
subject = [merge_message]
|
subject = [merge_message]
|
||||||
for opportunity in opportunities:
|
for opportunity in opportunities:
|
||||||
subject.append(opportunity.name)
|
subject.append(opportunity.name)
|
||||||
|
|
Loading…
Reference in New Issue