diff options
| author | Julien Castiaux <juc@odoo.com> | 2019-05-08 09:56:32 +0000 |
|---|---|---|
| committer | Julien Castiaux <juc@odoo.com> | 2019-05-08 09:56:32 +0000 |
| commit | fe6d9ed343ea46fd67bf4d3d36a9f78431ec7263 (patch) | |
| tree | 34068734edb28ed782239f68329a4c2195402cd9 /addons/payment/static/src | |
| parent | d809b476819968837b61bdd78fbf101caac73adc (diff) | |
[FIX] calendar: getting recurrent_ids twice
The `_search` is override in `calendar.event` to return both ids and
virtual ids of recurrent events. Calling `.get_recurrent_ids` after the
search is wrong.
The entire request has been copied from the original
`_find_allowed_model_wise` function defined in `mail.message` to ensure
his correctness.
The purpose here is to ensure every virtual event id is mapped to the
real event id so the original function doesn't throw KeyErrors for
virtual ids.
opw-1972563
closes odoo/odoo#33246
Signed-off-by: Julien Castiaux <Julien00859@users.noreply.github.com>
Diffstat (limited to 'addons/payment/static/src')
0 files changed, 0 insertions, 0 deletions
