summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorPriyanka Kakadiya <pka@odoo.com>2020-10-08 07:27:26 +0000
committerThibault Delavallée <tde@odoo.com>2020-10-19 09:51:10 +0000
commit5ccf5b51feaa348d775890e107fd30cd750699d8 (patch)
treed1c1b91e279a72074784461697602968626f0de0 /doc/reference/javascript_reference.rst
parent3d3aca543c051dfce1fcb87578d859caa0406f5e (diff)
[FIX] mass_mailing: do not add `opt_out` by default on mailing domains
In mass mailing (_sms) when you set `Mailing Contact` as target model the `opt_out` field is added to the default domain. However as it is a computed field depending on a single mailing list given in context it should not be used that way. Moreover current implementation raises a warning as only some custom views can use this field accordingly. This commit removes `opt_out` field being set by default in mailing domain and also removes the UserError raised by the search function, thus avoiding unwanted warnings. Opt-out field is automatically taken into account when sending mass mailing on contacts (see ``_get_opt_out_list``) so removing it from domain is actually even better for coherency. Opt-out is not an option in sending process. Task Id-2300427 PR #57310 Related: odoo/enterprise#14065 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions