diff options
| author | nie <nie@odoo.com> | 2021-02-18 08:53:46 +0000 |
|---|---|---|
| committer | nie <nie@odoo.com> | 2021-02-18 09:02:03 +0000 |
| commit | 29be97615554337591f0b31ba34942c2d728cbef (patch) | |
| tree | 0906f23bdb26023fa9da7f1d98184efd293eb42a /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 98f9cb4f692a15494cd8ef298673fe1c949c423c (diff) | |
[FIX] event_crm: prevent access rights issues on leads
Steps:
- Login as an admin user
- On a fresh branch install event_crm
- Give a "test" user access rights of "Own Document only" in the "Sales"
app, nothing in "Events"
- Assign any lead to "test" user
- Login as "test" user and try to access your own leads
Bug:
Error: While parsing modifiers for button: for modifier "invisible":
Unknown field registration_count in domain
Explanation:
The button `event_registration_action_from_lead` tries to access event
registrations even if the user doesn't have access to events.
opw:2462127
closes odoo/odoo#66425
Signed-off-by: backspac <backspac@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
