summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2019-01-18 11:41:43 +0000
committerNicolas Martinelli <nim@odoo.com>2019-01-18 11:41:43 +0000
commit10d558ef2be2eb6915f0c52e8ea9561df91a9b1d (patch)
tree08f3efb2427ca3d830fa2c92b7c29a0c5e514b28 /addons/mail/static/src/js
parent3c9cf1e75302a3bece19848cc3393f91564549fa (diff)
[FIX] mail: failure notification
- Debug mode, - Add multi-company to admin (user id 2), - Create new company (company 2) - Activate res.partner multi-company record rule - Create invoice - with first company (the default one) - with a customer having an email address that doesn't exist - Send a message in the thread, making sure the customer is in the follower - Wait for the message to bounce (red mail icon in the thread on the given message). - Change user to company 2 (in the dropdown menu next to the user dropdown menu in the upper right corner) - Refresh, access error, even in the app switcher. This is because Odoo tries to display in the notifications the email that failed, and crashes because the user doesn't have access to the partner of the email. We filter out the notifications related to objects that the user doesn't have access to. opw-1924359 closes odoo/odoo#30348
Diffstat (limited to 'addons/mail/static/src/js')
0 files changed, 0 insertions, 0 deletions