summaryrefslogtreecommitdiff
path: root/addons/event/__init__.py
diff options
context:
space:
mode:
authorMahendra barad <mba@openerp.com>2014-08-11 19:08:37 +0530
committerThibault Delavallée <tde@openerp.com>2014-10-17 16:48:29 +0200
commitad48bf6d7d7f3c1678b0cd2d55fe64163ad10c38 (patch)
treec4e46963793ed04cda930503aac9ce56aca318d5 /addons/event/__init__.py
parentfd54df5c7cb4fe2fd606baef347b23ee911f0e2f (diff)
[IMP] [ADD] event: mail schedulign system.
This commit adds a way to configure scheduled emails on events. It replaces existing automatic emails at confirmation and subscription. It proposes to configure some schedulers, based on subscription or event, using a template and a configurable timedelta. A cron is added that regularly checks for event mailing schedulers to execute and launch them. The granularity of send emails is therefore limited to the granularity of the cron, aka 1 hour. [TEST] Added tests for this feature. Also cleaned a bit event, country_id is now a pure related instead of a computed field trying to be a related. Also removed default templates on event category. Configuration in the event itself should be easy enough for most use cases.
Diffstat (limited to 'addons/event/__init__.py')
-rw-r--r--addons/event/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/event/__init__.py b/addons/event/__init__.py
index 9e0115a7300..bf40e48d681 100644
--- a/addons/event/__init__.py
+++ b/addons/event/__init__.py
@@ -20,6 +20,7 @@
##############################################################################
import event
+import event_mail
import wizard
import report
import res_config