diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2019-01-18 14:26:41 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-02-12 13:04:30 +0000 |
| commit | 7afdfc5046d1f43fe3f9f9e67d79a591ab7d915d (patch) | |
| tree | 61011684c21ee13066780e592a1919e681473fed /addons/base_setup/data/base_setup_data.xml | |
| parent | 8c3fa3dd3e50c3b680310069623ed38fa476df9d (diff) | |
[FIX] mail: retrieve mail (sent by OdooBot) failure notification in multicompany
Let the database be in multi-company without a shared contact book.
Have user U in company B, OdooBot in company A.
From a record R created by U, have a message sent by OdooBot fail to be sent.
A new failure notification failure should be displayed for U in company B.
Have U switch from and to company B.
The failure notifications are fetched, with their info.
Commit 10d558ef2be2eb made sure that the user had access to the record
before trying to display the notification.
However in that case U has access to R, but trying to access the mail sender
violates the inter-company record rule, since OdooBot is in another company (A).
opw 1928100
opw 1935303
opw 1939352
closes odoo/odoo#30364
Diffstat (limited to 'addons/base_setup/data/base_setup_data.xml')
0 files changed, 0 insertions, 0 deletions
