diff options
| author | Pierre Masereel <pim@odoo.com> | 2017-05-04 18:16:46 +0200 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2017-05-04 18:16:46 +0200 |
| commit | 2c666af5d1d9eb49b04664ed871f932a34aa22cb (patch) | |
| tree | 7b7043bee6c72bbb94f62731a16ebb9c7b23f533 /addons/base_import_module/tests/test_module | |
| parent | 9dc53b620cca69ae537e44e776104191f1eabbc0 (diff) | |
[FIX] mass_mailing: send mail to partner without email
When you send a mass mailing to muiltiple partner, if some of them have
no email adresse, it can lead to errors because of the variable 'recips'
is not set if the first occurence in the 'for loop' has no email.
To fix this, we always set the variable 'recips' by replacing the 'elif'
close by a 'else' one
introduced in rev: https://github.com/odoo/odoo/commit/65ed4553a50fdbefc986b7d21f87a81c42b743c7
Diffstat (limited to 'addons/base_import_module/tests/test_module')
0 files changed, 0 insertions, 0 deletions
