diff --git a/addons/caldav/caldav.py b/addons/caldav/caldav.py
index 4bd0e496303..38a2dcacd78 100644
--- a/addons/caldav/caldav.py
+++ b/addons/caldav/caldav.py
@@ -79,7 +79,7 @@ html_invitation = """
Hello, |
- | You are invited for OpenERP Event. |
+ You are invited for %(company)s Event. |
| Below are the details of event : |
@@ -102,44 +102,48 @@ html_invitation = """
Start Date
|
- : %(start_date)s |
+ : |
+ %(start_date)s |
End Date
|
- : %(end_date)s |
+ : |
+ %(end_date)s |
-
+
| Description |
- : %(description)s |
+ : |
+ %(description)s |
-
+
|
Location
|
- : %(location)s |
+ : |
+ %(location)s |
-
+
|
Event Attendees
|
+ : |
- : %(attendees)s
+ %(attendees)s
|
- Are you coming? |
-
-
- -
- YES
-
-
- NO
-
-
- MAYBE
-
- |
-
+
+ | Are you coming? |
+ : |
+
+
+ |
+
@@ -1203,11 +1207,12 @@ class invite_attendee_wizard(osv.osv_memory):
body_vals = {'name': res_obj.name,
'start_date': res_obj.date,
'end_date': res_obj.date_deadline or None,
- 'description': res_obj.description,
+ 'description': res_obj.description or '-',
'location': res_obj.location or '-',
- 'attendees': '
'.join(att_infos), #Todo
+ 'attendees': '
'.join(att_infos),
'user': res_obj.user_id and res_obj.user_id.name or 'OpenERP User',
- 'sign': sign
+ 'sign': sign,
+ 'company': company
}
body = html_invitation % body_vals
mail_to = [datas['email']]