diff options
| author | Laurent Mignon (ACSONE) <laurent.mignon@acsone.eu> | 2019-12-03 12:52:07 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2020-01-03 15:46:17 +0000 |
| commit | ae7f574e5446a7bc6c939fc273225b41e2296bf7 (patch) | |
| tree | 2b7b8cecf7bc645a80a5a8c6fb1e695042188383 /addons/web/static/src/js/views/calendar | |
| parent | a2a1e294d7485ca839bb409129c860ad91c0b334 (diff) | |
[FIX] web: calendar: allow to use fields.Reference
Before this change, fields.Reference displayed into the popover of
a calendar view was always empty. This was because the popover view
generated from a double click on an element in the calendar view
creates its own recordModel in JS and the function to create this
record did not handle the reference field case.
This commit detects if a reference field is defined into the record
and adds the necessary processing to process its value and creates
the corresponding dataPoint.
opw 2151635
Closes #41262
closes odoo/odoo#42707
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Co-authored-by: Aaron Bohy <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/calendar')
0 files changed, 0 insertions, 0 deletions
