mirror of
https://github.com/bringout/oca-ocb-mail.git
synced 2026-04-21 23:21:59 +02:00
19.0 vanilla
This commit is contained in:
parent
5df8c07b59
commit
daa394e8b0
2114 changed files with 564841 additions and 299642 deletions
|
|
@ -2,13 +2,7 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo.addons.phone_validation.tools import phone_validation
|
||||
from odoo.addons.sms.tests.common import SMSCommon
|
||||
from odoo.addons.test_mail.tests.common import TestMailCommon, TestRecipients
|
||||
|
||||
|
||||
class TestSMSCommon(SMSCommon, TestMailCommon):
|
||||
""" Main entry point for functional tests. Kept to ease backward
|
||||
compatibility and updating common. """
|
||||
from odoo.addons.test_mail.tests.common import TestRecipients
|
||||
|
||||
|
||||
class TestSMSRecipients(TestRecipients):
|
||||
|
|
@ -17,6 +11,6 @@ class TestSMSRecipients(TestRecipients):
|
|||
def setUpClass(cls):
|
||||
super(TestSMSRecipients, cls).setUpClass()
|
||||
cls.partner_numbers = [
|
||||
phone_validation.phone_format(partner.mobile, partner.country_id.code, partner.country_id.phone_code, force_format='E164')
|
||||
phone_validation.phone_format(partner.phone, partner.country_id.code, partner.country_id.phone_code, force_format='E164')
|
||||
for partner in (cls.partner_1 | cls.partner_2)
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue