-
- Downloads
[FW][IMP] test_mail_full: add test for SMS mailing default domain and optout
Purpose is to test specific behavior of opt-out for SMS marketing. This is currently not tested and working a bit strangely, as they are flagged as blacklist. This will soon be updated in another task but at least current behavior is logged somewhere. We also update some test models in order to reflect potential strange and non-default behavior, notably partner_id field used as contact field. It will be used soon when cleaning some opt-out behavior. Tests are added to check phone sanitized is correctly taken into account in default domains when inheriting from the phone blacklist mixin. Some counters notes are also updated next to some last updates. Task ID-2431217 COM PR odoo/odoo#71140 X-Original-Commit odoo/odoo@3ba3054f0aabd7307545712519594e9273dc7f28 X-original-commit: a9ac2582eb508daa21fd0d3a5a551261ecc18f8b
Showing
- addons/test_mail_full/models/__init__.py 1 addition, 0 deletionsaddons/test_mail_full/models/__init__.py
- addons/test_mail_full/models/mailing_mailing.py 28 additions, 0 deletionsaddons/test_mail_full/models/mailing_mailing.py
- addons/test_mail_full/models/test_mail_models.py 37 additions, 6 deletionsaddons/test_mail_full/models/test_mail_models.py
- addons/test_mail_full/security/ir.model.access.csv 2 additions, 0 deletionsaddons/test_mail_full/security/ir.model.access.csv
- addons/test_mail_full/tests/common.py 32 additions, 0 deletionsaddons/test_mail_full/tests/common.py
- addons/test_mail_full/tests/test_mass_mailing.py 1 addition, 1 deletionaddons/test_mail_full/tests/test_mass_mailing.py
- addons/test_mail_full/tests/test_mass_sms.py 51 additions, 1 deletionaddons/test_mail_full/tests/test_mass_sms.py
- addons/test_mail_full/tests/test_sms_post.py 2 additions, 2 deletionsaddons/test_mail_full/tests/test_sms_post.py
Loading
Please register or sign in to comment