diff options
| author | Xavier-Do <xdo@odoo.com> | 2019-07-29 13:20:24 +0000 |
|---|---|---|
| committer | Xavier-Do <xdo@odoo.com> | 2019-08-05 15:04:28 +0000 |
| commit | 42b3a56a439df8c2c7357c11d0b2660723d9deb7 (patch) | |
| tree | ba06ab1e5ce3e15681b057fdb1ebc4000cbe8921 /addons/web/static/src/xml/base.xml | |
| parent | bb37ab21199d9f17e180f225916f5f66c87af660 (diff) | |
[REF] mail: remove notified_partner_ids from _message_read_dict_postprocess
notified_partner_ids, (previously notified_partner_ids) is used to
populate a list of partner to prefetch + return a list of partner_ids.
1. the list of partner_ids is doesn't look to be used, and thus
can be removed. Was introduced in 1d4dbc3440772893e58f77d5cd20f0202380d444
2. Prefetched list of partners is used to generate customer_email_data.
Since this list is limited to partner email notifications , we can use
a custom search instead.
The proposed implementation is far from perfect but proposes the minimal
changes to remove notified_partner_ids, without (hopefully) negatively
impacting performances.
Task-ID 402597
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
