summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/messaging_notification_handler
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2020-11-26 16:08:59 +0000
committerRomain Derie <rde@odoo.com>2020-12-02 09:14:29 +0000
commit26927417e2957acba6fb79446c2520107daa7eea (patch)
tree6434988b51c6761dd6778903fa322c66df3b9142 /addons/mail/static/src/models/messaging_notification_handler
parent7a57cf0b68b3a1dce4276c6456a94b05eec20f28 (diff)
[FIX] website: remove old code
This code is a leftover of https://github.com/odoo/odoo/commit/2972976962617d4b8a0113bae58c640ab41cdff8#diff-70e782021bdfee46734a7fc7dbcad3104f7f985dd37f9320f1480d424581d67fL191 - We should not get info from the `err` and `data` parameters, those are not the same as the it was before the code got migrated, `data.data` never exists. - The fact that we handle the fail on this call is also a leftover of that refactoring where the error was done through a generic template. - We should not handle an error on publish action. We never handle that kind of error if the action should not fail by default. This is typically the case when loading the menu through "Edit Menu" or the page properties. - This is especially true with later version as error raised are already handled globaly Closes #60041 closes odoo/odoo#62532 X-original-commit: 4e089041252c25cc197a30f9e285d82f7162d809 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/mail/static/src/models/messaging_notification_handler')
0 files changed, 0 insertions, 0 deletions