[FIX] website_event_track: fix internal error on page agenda

P3 'dict_keys' object has no attribute 'sort'

Thid commit closes odoo/odoo#19989
This commit is contained in:
Jeremy Kersten
2017-10-10 11:01:32 +02:00
parent 1df6f4c741
commit 45085d3685
@@ -50,7 +50,7 @@
</div>
</section>
<t t-set="dayslist" t-value="days.keys()"/>
<t t-set="dayslist2" t-value="dayslist.sort()"/> <!-- display days in the right order -->
<t t-set="dayslist2" t-value="list(dayslist).sort()"/> <!-- display days in the right order -->
<section class="container" t-foreach="dayslist" t-as="day">
<t t-set="locations" t-value="days[day]['locations']"/>
<t t-set="dates" t-value="days[day]['dates']"/>