Skip to content
Snippets Groups Projects
Commit 9aaccd1a authored by Nicolas Lempereur's avatar Nicolas Lempereur
Browse files

[FIX] web: typo calendar highlight -> ok now


Adapt calendar highlight option (that "highlight" event linked to the
record we come from) to current JS framework data structures.

opw-2131494
closes #40791

Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
parent 404fa816
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@
<t t-name="calendar-box">
<t t-set="color" t-value="widget.getColor(event.color_index)"/>
<div t-att-style="typeof color === 'string' ? ('background-color:'+color)+';' : ''" t-attf-class="#{record.is_highlighted &amp;&amp; record.is_highlighted.value ? 'o_event_hightlight' : ''} #{typeof color === 'number' ? 'o_calendar_color_'+color : ''}">
<div t-att-style="typeof color === 'string' ? ('background-color:'+color)+';' : ''" t-attf-class="#{record.is_highlighted ? 'o_event_hightlight' : ''} #{typeof color === 'number' ? 'o_calendar_color_'+color : ''}">
<div class="fc-time"/>
<div class="o_fields">
<t t-foreach="widget.displayFields" t-as="name">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment