[IMP] crm: allow to put case description in action mail

bzr revid: christophe@tinyerp.com-20090729115908-q4m5t1y7f5m99m1w
This commit is contained in:
Christophe Simonis 2009-07-29 13:59:08 +02:00
parent 6aaf719681
commit 2fc2285a2a
2 changed files with 2 additions and 0 deletions

View File

@ -520,6 +520,7 @@ class crm_case(osv.osv):
'case_id': case.id,
'case_subject': case.name,
'case_date': case.date,
'case_description': case.description,
'case_user': (case.user_id and case.user_id.name) or '/',
'case_user_email': (case.user_id and case.user_id.address_id and case.user_id.address_id.email) or '/',

View File

@ -172,6 +172,7 @@
<separator colspan="4" string="Special Keywords to Be Used in The Body"/>
<label align="0.0" string="%%(case_id)s = Case ID" colspan="2"/>
<label align="0.0" string="%%(case_subject)s = Case subject" colspan="2"/>
<label align="0.0" string="%%(case_description)s = Case description" colspan="2"/>
<label align="0.0" string="%%(case_date)s = Creation date" colspan="2"/>
<label align="0.0" string="%%(email_from)s = Partner email" colspan="2"/>
<label align="0.0" string="%%(partner)s = Partner name" colspan="2"/>