summaryrefslogtreecommitdiff
path: root/doc/_extensions/autojsdoc/parser/parser.py
diff options
context:
space:
mode:
authorJulien Castiaux <juc@odoo.com>2019-05-07 12:39:55 +0000
committerJulien Castiaux <juc@odoo.com>2019-05-15 11:41:21 +0000
commitbe5f07c6122d5e8613f2755f2bc7bb6e888c471c (patch)
tree281f3e9704fcaa4fbd11e1b7d2e39bbc06fc18d5 /doc/_extensions/autojsdoc/parser/parser.py
parent8ffedf4545e2ffb7ead07ce33f8fe94341ffd25c (diff)
[FIX] calendar: Cannot create 'free' event with reminder
Install CRM (we need the "Hide Private Message" record rule defined by that module), create a meeting as of today, set a reminder of one day, invite another user (Demo) as attendee, save. Edit, go to the options, change the "Show time as" to "free", save => access error due to the said record rule. The reminder is handled by the `get_next_potential_limit_alarm` method of the `calendar.alarm_manager` model. It uses a raw SQL query to perform its search. It returns a dictionary of the different events with data attached. Due to the "Hide Private Message" record rule, some records are not accessible. Original (reverted) 9c4b52000 fix was replacing the `browse` by a `search` in order to filter out non-accessible records. That fix was later fine tuned by (not-merged) 7dd93809c to exclude calendar's virtual ids. The real fix is to filter out records in the original result dict. opw-1974599 closes odoo/odoo#33209 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com> Co-authored-by: Raphël Collet <rco@odoo.com>
Diffstat (limited to 'doc/_extensions/autojsdoc/parser/parser.py')
0 files changed, 0 insertions, 0 deletions