diff options
| author | Christophe Matthieu <chm@odoo.com> | 2016-05-04 16:26:50 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2016-06-14 13:12:14 +0200 |
| commit | d9efca0908e50d8c2edc6eea463baa68d2c30ab8 (patch) | |
| tree | 5539f9e5a380ad52e7eb57879a4c8fa42e6bd933 /addons/event/report | |
| parent | f4f396c4ab6c5c2efb9c3da4b650b2c17c475f22 (diff) | |
[IMP] qweb: t-field-options is a python dict, safe_eval for compile template, not need to eval in field methods
Diffstat (limited to 'addons/event/report')
| -rw-r--r-- | addons/event/report/event_event_templates.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/event/report/event_event_templates.xml b/addons/event/report/event_event_templates.xml index 39f4b21bf6f..efb46e5ce6f 100644 --- a/addons/event/report/event_event_templates.xml +++ b/addons/event/report/event_event_templates.xml @@ -18,7 +18,7 @@ <img t-att-src="'data:image/png;base64,%s' % o.event_id.organizer_id.company_id.logo_web" style="max-height:1cm; max-width:4cm;"/> </span> <h5 t-field="o.event_id.name"/> - <h5>( <i class="fa fa-clock-o"></i> <span itemprop="startDate" t-field="o.event_id.date_begin" t-field-options='{"hide_seconds":"True"}'> </span> <i>to</i> <span itemprop="endDate" t-field="o.event_id.date_end" t-field-options='{"hide_seconds":"True"}'> </span> )</h5> + <h5>( <i class="fa fa-clock-o"></i> <span itemprop="startDate" t-field="o.event_id.date_begin" t-field-options='{"hide_seconds": True}'> </span> <i>to</i> <span itemprop="endDate" t-field="o.event_id.date_end" t-field-options='{"hide_seconds": True}'> </span> )</h5> </div> <div class="row"> <div class="col-xs-12 text-center" id="o_event_name"> @@ -69,7 +69,7 @@ </div> </span> <h4 t-field="event.name"/> - <h5>( <i class="fa fa-clock-o"></i> <span itemprop="startDate" t-field="event.date_begin" t-field-options='{"hide_seconds":"True"}'> </span> <i>to</i> <span itemprop="endDate" t-field="event.date_end" t-field-options='{"hide_seconds":"True"}'> </span> )</h5> + <h5>( <i class="fa fa-clock-o"></i> <span itemprop="startDate" t-field="event.date_begin" t-field-options='{"hide_seconds": True}'> </span> <i>to</i> <span itemprop="endDate" t-field="event.date_end" t-field-options='{"hide_seconds": True}'> </span> )</h5> </div> </div> <div class="row" t-ignore="true"> |
