diff --git a/addons/sms/__manifest__.py b/addons/sms/__manifest__.py index 9cf60447885..ccfae7f9049 100644 --- a/addons/sms/__manifest__.py +++ b/addons/sms/__manifest__.py @@ -23,6 +23,10 @@ The service is provided by the In App Purchase Odoo platform. 'views/sms_template_views.xml', 'security/ir.model.access.csv', ], + 'demo': [ + 'data/sms_demo.xml', + 'data/mail_demo.xml', + ], 'qweb': [ 'static/src/xml/thread.xml', ], diff --git a/addons/sms/data/mail_demo.xml b/addons/sms/data/mail_demo.xml new file mode 100644 index 00000000000..103a89fbd8c --- /dev/null +++ b/addons/sms/data/mail_demo.xml @@ -0,0 +1,62 @@ + + + + res.partner + + Hello! This is an example of incoming email. + email + + + + + + res.partner + + Hello! This is an example of user comment. + comment + + + + + + + + email + exception + SMTP + + + + res.partner + + Hello! This is an example of SMS. + sms + + + + + + res.partner + + Hello! This is an example of another SMS with notifications. + sms + + + + + + + + sms + exception + sms_credit + + + + + sms + exception + sms_credit + + + diff --git a/addons/sms/data/sms_demo.xml b/addons/sms/data/sms_demo.xml new file mode 100644 index 00000000000..b3d252c1e02 --- /dev/null +++ b/addons/sms/data/sms_demo.xml @@ -0,0 +1,8 @@ + + + + Customer: automated SMS + + Dear ${object.display_name} this is an automated SMS. + +
Hello! This is an example of incoming email.
Hello! This is an example of user comment.
Hello! This is an example of SMS.
Hello! This is an example of another SMS with notifications.