diff options
| author | Thibault Delavallée <tde@odoo.com> | 2020-04-01 12:36:17 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-04-03 11:07:56 +0000 |
| commit | b29b4bcbfc61aab1035de1f8b0cb9c796cd4bc58 (patch) | |
| tree | 29b7897051ec4e24d81610e616292730bbca9389 /setup | |
| parent | d2840a0519725c8d55cafe9e2b91ebbfe515c804 (diff) | |
[FIX] event: ensure event_registrations_open can always be computed
Using a compute_sudo ensure this field is correctly computed (aka without
crash) if someone is allowed to read the event but not all its sub models.
For example event_registrations_open reads the active flag of a product
linked to a ticker which may not be readable by public users. This field
is used in frontend templates and therefore usable by external people.
Also remove unnecessary registrable rendering parameter in website_event
as it has been replaced by computed fields.
Task ID 2228189
Community PR odoo/odoo#48652
X-original-commit: b2b334a65f3a1379f25717ec39f0a52f3305b19c
Diffstat (limited to 'setup')
0 files changed, 0 insertions, 0 deletions
