diff options
| author | Pierre Rousseau <pro@odoo.com> | 2019-09-30 12:30:01 +0000 |
|---|---|---|
| committer | Pierre Rousseau <pro@odoo.com> | 2019-09-30 12:32:06 +0000 |
| commit | 333f1087cf50efa4e053e5d9fef0b80e421967f1 (patch) | |
| tree | 3316a89fccc5b33b7703230b26ee27d3b2798245 /addons/stock_sms/data/mail_data.xml | |
| parent | 3469821b73a1fd697c1d9b6a6be2165d798dc362 (diff) | |
[FIX] stock_sms: do not send mail notifications
The aim of this commit is to remove the mail notifications when there is no more credits on IAP accounts for SMS integration with stock.
Task-ID 2077783
closes odoo/odoo#37559
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
Diffstat (limited to 'addons/stock_sms/data/mail_data.xml')
| -rw-r--r-- | addons/stock_sms/data/mail_data.xml | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/addons/stock_sms/data/mail_data.xml b/addons/stock_sms/data/mail_data.xml deleted file mode 100644 index 6fe3ced019b..00000000000 --- a/addons/stock_sms/data/mail_data.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<odoo> - <data> - - <record id="mail_template_no_more_credit_sms" model="mail.template"> - <field name="name">IAP SMS Confirmation Notification</field> - <field name="email_from">iap@odoo.com</field> - <field name="subject">IAP SMS Confirmation Notification</field> - <field name="model_id" ref="base.model_res_users"/> - <field name="partner_to">${object.partner_id.id}</field> - <field name="body_html" type="html"> - <p>Dear ${object.name},</p> - <br/> - <p>There are no more credits on your IAP SMS account.<br/> - You can charge your IAP SMS account from the Settings of the Inventory app or from the General Settings.<br/></p> - <br/> - <p>Best regards,</p> - <p>Odoo S.A.</p> - </field> - </record> - - </data> -</odoo> |
