summaryrefslogtreecommitdiff
path: root/addons/mass_mailing_sms
AgeCommit message (Collapse)Author
2021-05-23[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-21[FIX] sale, mass_mailing_sms, test_mail_full: correctly support partner-only ↵Thibault Delavallée
records When performing an sms marketing on a model having only a ``partner_id`` field available (aka no ``phone`` or ``mobile``) it crashes due to seen list computation (aka already contacted recipients). This is due to an SQL query not taking into account those models as it works only for those with a phone field. We fix it as done in ``mass_mailìng`` app, aka fetching information on the related partner if available. Some tests for models using a 2many relationships towards recipients are added. Note that this kind of model does not really support complete SMS notification, as only the first found partner is notified. Mass SMS on this kind of model is currently not possible as seen list is not supported. There is no standard use case of this in Odoo codebase. Correctly support sms marketing on sale model by defining the necessary methods. As sale order has only a partner_id field available we have to correctly override phone related methods for SMS. LINKS Task ID-2431217 COM PR odoo/odoo#71140 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2021-05-16[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-11[FIX] crm: correctly compute phone_sanitized without having crm_sms installedThibault Delavallée
Currently phone_sanitized computation on lead model works only if crm_sms is installed. Indeed an override of ``_phone_get_number_fields`` is missing. However ``_sms_get_number_fields`` coming with ``crm_sms`` and its ``sms`` dependency hides the issue as those modules are auto-install. However if ``crm_sms`` is uninstalled phone_sanitized is not correctly computed anymore. Task ID-2528169 Oversight of odoo/odoo#45315
2021-05-09[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-02[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-28[FIX] *: removal of any possibility of purchasing IAP credit in iOSAdrien Dieudonne
According to the app-store guidelines we are not allowed to sell from the iOS app. Our updates are currently blocked because of this. In the rush, we have no choice but to hide certain elements related to IAP services. Source: https://developer.apple.com/app-store/review/guidelines/#business Related PR: https://github.com/odoo/mobile-ios/pull/102 https://github.com/odoo/mobile-ios/pull/103 Task-ID: 2483253
2021-04-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-19[IMP] event_sms, link_tracker, sms, test_mail_full: improve SMS-based ↵Thibault Delavallée
mailing tests PURPOSE Purpose is to have more tests when sending sms mailings, notably about canceled or failed mails or sms as well as jinja and links rendering. SPECIFICATIONS In this commit we improve SMS Marketing mailing tests. We notably * add tests for void and invalid email and numbers. It allows to check they correctly update their trace status; * add tests for unsubscribe and view links embedded in sms marketing; * add tests to simulate a click on links sent through sms marketing and ensure click statistics are effectively updated; * ensure content of sent sms are checked; Default content of mailings used in test is updated to ensure jinja is correctly rendered, including links and some corner cases. This will also helps ensuring behavior is kept when converting to QWeb. In event we now correctly use sms gateway mock to ensure SMS finding. In link_tracker a helper is added to check url tracking in plaintext content. LINKS Task ID-2508643 Followup of odoo/odoo#68874 (improve mail tests) Prepares Task ID-27033 (support QWeb in templates) Prepares Task ID-2377974 (clean trace and status management in mass mailing) COM PR odoo/odoo#69461 ENT PR odoo/enterprise#17780
2021-04-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-04[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-31[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-24[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-17[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-10[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-05[FIX] mass_mailing{_sms}: fix various views for proper behaviorAnjali
This commit fixes few views related to mass mailing for ensuring their proper behavior. The changes are listed as below: - in the mass mailing form view (view_mail_mass_mailing_form), made the mailing_type field readonly if the mailing is not in draft state to prevent switching the type once mailing is launched. - in the mass mailing sms form view (mailing_mailing_view_form_sms), made the 'body_plaintext' field readonly if the mailing is in sent/done state to prevent sms content modification after the sms are already sent Task ID-2390284 COM PR odoo/odoo#62740 ENT PR odoo/enterprise#15098 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2021-01-03[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-12-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-12-20[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-12-13[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-12-06[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-29[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-27[FIX] *: rephrase, correct typosMartin Trigaux
Courtesy of Transifex's translators for reporting bad/unclear sentences. closes odoo/odoo#62539 Related: odoo/enterprise#15032 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-11-22[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-15[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-08[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-05[FIX] mass_mailing, mass_mailing_sms : fix bugs and incoherencyMariska Archielli (ram)
Fix traceback when creating a new contact by checking the id list is not empty Filter default reporting by name rather then by campaign (as campaign is an option) Group by Campaign only if the option is checked to enforce coherency. > This is unblocked with a group. Hide the 'replied' status from sms reports as it is not relevant for sms. Remove the preview message for sms as it is not relevant elsewhere then the object of mails. Warn the user if he's trying to send a sms with only white-space characters. > this causes an error because the plaintext-html conversion in mail_thread.py > consider a white-spaces-only text as empty. Mobile placeholder added for a better understanding of the field by the user. Task ID : 2302578 closes odoo/odoo#60426 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-10-27[I18N] *: Update translation terms from TransifexMartin Trigaux
Except Spanish, waiting for cleanup closes odoo/odoo#60848 Related: odoo/enterprise#14421 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-21[REV] *: revert fb7407c for spanish translationsOlivier Dony
There was a problem in the Transifex translations for Spanish and all translations were overwritten by mistake with english defaults. This commit reverts all modified es.po files to their previous version while we work to restore the translations on Transifex.
2020-10-20[FIX] mass_mailing_sms: try to render jinja content when using test wizardsJérémy Hennecart
Like the mass_mailing app we want to raise an error in case there is a syntax error with jinja when we test the mailing and if there is at least one record in the mailing model. PR odoo/odoo#55696 Task ID-2312442
2020-10-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-05[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-29[I18N] *: export 14.0 source termsMartin Trigaux
Including demo data this time closes odoo/odoo#58821 Related: odoo/enterprise#13682 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-28[FIX] mass_mailing_sms : traceback on create contact listMariska Archielli (ram)
Fix traceback when creating a new contact by checking the id list is not empty. Task ID : 2302578 closes odoo/odoo#58555 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-09-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-01[I18N] export saas-13.5 source termsMartin Trigaux
Without demo data closes odoo/odoo#56839 Related: odoo/enterprise#12821 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-08-17[FIX] *: adapt action content retrievalMartin Trigaux
Use _for_xml_id to replace all the self.env.ref().read()[0] This has the advantage of having a single point of control and to add the fields filtering and model verification. Add sudo for other operations on ir.actions.*
2020-08-14[IMP] various: Reseuence the module and module categoryBarad Mahendra
The purpose of this task is to improve the UI of the 'Apps', by improving the clarity of the kanban, sequencing the apps and simplifying the app categories in the searchpanel So in this commit, Added the new sequences for ir.module.module and ir.module.category records. TaskID: 2240257 Related Enterprise: https://github.com/odoo/enterprise/pull/12413 Closes: #55907
2020-08-11[IMP] mass_mailing[_sms]: update subject and allow emoji support for sms contentxO-Tx
PURPOSE Subject field on mailing has not the same use in email marketing (subject of emails) and in SMS maketing (used internally as there is no subject in SMS). Purpose of this commit is to improve mailing form view to better distinguish email and SMS flows. SPECIFICATIONS This commit changes helper for mailing subject and update its label according to mailing_type (mail or sms), as well as the sms content field to enable emoji support in mailing subjects. This is done through a fake sms_subject field that is a text without emojis while standard subject allows emojis. Helpers depends on the displayed field. Override CRUD to synchronize sms_subject on subject to have only one field used to store data. Also allow emojis in SMS content, suing the enable_emojis option. LINKS Task ID-2224393 PR #49096
2020-07-27[IMP] mass_mailing_sms: improve shortened URL detection in testsDharmraj Jhala
Before this commit, in gateway tools, we used to consider URL as a shortened which was having `/r` in it. However this is not true in all cases. Any random URL can have `/r` in it but it might not be a shortened one. It caused random failures on runbot time to time. This commit makes a bit precise search (`/r/`) to consider URL as a shortened one and thus avoiding those random test failures on the runbot. TaskID - 2276386 closes odoo/odoo#54944 X-original-commit: b8045b49d0693292e6240dfb3acd7c9a6450ad77 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-07-16[FIX] *: do not import tests folderMartin Trigaux
The tests must be only imported in a test context, not in a running context. Since 92a7f8c13fa6bc84 a new test requirement was added but it should not be necessary to run a module, only to execute the tests. closes odoo/odoo#54578 X-original-commit: 15f2bbd40a70d9d9e969a2c75b7b9131c100dc09 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>