diff options
| author | Raphael Collet <rco@odoo.com> | 2021-01-12 12:40:38 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2021-01-13 08:12:53 +0000 |
| commit | c01657d345f59e3ccea70a5004732050fae99320 (patch) | |
| tree | 1a3d132d8869f8c6ea8eb8ee85d9b11008357c4e /addons/mass_mailing/tests/test_mailing_internals.py | |
| parent | 2ccc735253405b03927e2b08eab57427e65e4050 (diff) | |
[REV] mass_mailing: correctly support mailing domain from default context value
This partially reverts commit 1ec887b773581b6316902997fec94176bbae1ac0,
which was a hack to deal with the issue. From now on, the first call to
onchange() no longer computes editable fields when they are given a
default value.
Diffstat (limited to 'addons/mass_mailing/tests/test_mailing_internals.py')
| -rw-r--r-- | addons/mass_mailing/tests/test_mailing_internals.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mass_mailing/tests/test_mailing_internals.py b/addons/mass_mailing/tests/test_mailing_internals.py index 0f7a9a831e9..115736e987d 100644 --- a/addons/mass_mailing/tests/test_mailing_internals.py +++ b/addons/mass_mailing/tests/test_mailing_internals.py @@ -117,7 +117,7 @@ class TestMassMailValues(MassMailCommon): )) self.assertEqual( literal_eval(mailing_form.mailing_domain), - ['&', ('is_blacklisted', '=', False), ('email', 'ilike', 'test.example.com')] + [('email', 'ilike', 'test.example.com')], ) self.assertEqual(mailing_form.mailing_model_real, 'res.partner') |
