summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorJairo Llopis <yajo.sk8@gmail.com>2018-01-23 10:12:46 +0000
committerThibault Delavallée <tde@odoo.com>2018-06-12 17:48:56 +0200
commit228df6a29f76d9e4d61740987f41744960b127ca (patch)
treec212785e9a427b5b87c889a277794ed903415017 /addons/web/static/src/js/views/basic
parent51acdeba4f9f8ed00ee85271e7da24574ab8dfbb (diff)
[FIX] link_tracker: do not die if statistic was unlinked when the user clicks on a tracked link
[There's a chance mail statistics disappear](https://github.com/odoo/odoo/blob/b3b8a471cc3e02488dcc0da991fd1d828978220d/addons/mass_mailing/models/mass_mailing.py#L519), which is probably not a very good decision, but there it is. Then, `add_click()` produces a 500 error when a user clicks on the mass mailing if the email comes from an old attempt. Fix is to check the statistic record effectively exists before linking it. Closes #22447.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions