[IMP] crm: allow to put case description in action mail
authorChristophe Simonis <christophe@tinyerp.com>
Wed, 29 Jul 2009 11:59:08 +0000 (13:59 +0200)
committerChristophe Simonis <christophe@tinyerp.com>
Wed, 29 Jul 2009 11:59:08 +0000 (13:59 +0200)
bzr revid: christophe@tinyerp.com-20090729115908-q4m5t1y7f5m99m1w

addons/crm/crm.py
addons/crm/crm_view.xml

index 959420d..e42c0a4 100644 (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 '/',
index 964abe1..3b425ba 100644 (file)
                             <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"/>