summaryrefslogtreecommitdiff
path: root/addons/website_crm_sms/__init__.py
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2019-08-30 14:41:02 +0000
committerDavid Beguin <dbe@odoo.com>2019-09-17 14:12:21 +0000
commit858a92d2f2431125a75400c2bf11596dd76b7180 (patch)
tree7a7d8598e3da666fd7686f879ef9c9cc123b1aa9 /addons/website_crm_sms/__init__.py
parent7c842e7c9835050775d97a20de54335237892203 (diff)
[ADD] website_crm_sms : send sms to visitor linked to a lead
This commit allows to send a sms to a visitor if the visitor is linked to a least 1 lead that has a mobile number or a phone number. As in contact form from website, there is only a phone field and not a mobile one, we allow to send sms if the lead phone field is filled. This is not very smart though.. But as 95% of the people around the world are typing their mobile number into a phone field, this will do the work in a statistically significative way. Task ID: 2056080 PR #36290
Diffstat (limited to 'addons/website_crm_sms/__init__.py')
-rw-r--r--addons/website_crm_sms/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/website_crm_sms/__init__.py b/addons/website_crm_sms/__init__.py
new file mode 100644
index 00000000000..dc5e6b693d1
--- /dev/null
+++ b/addons/website_crm_sms/__init__.py
@@ -0,0 +1,4 @@
+# -*- coding: utf-8 -*-
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+
+from . import models