Error when set datetime start and end with calendar view
When I try to create a event on calendar view, it get this traceback.
ERROR:tryton.common.common:Traceback (most recent call last):
File "/home/psk/.virtualenvs/tryton40c/local/lib/python2.7/site-packages/goocalendar/_calendar.py", line 622, in on_event_store_event_added
self.update()
File "/home/psk/.virtualenvs/tryton40c/local/lib/python2.7/site-packages/goocalendar/_calendar.py", line 201, in update
self.draw_events()
File "/home/psk/.virtualenvs/tryton40c/local/lib/python2.7/site-packages/goocalendar/_calendar.py", line 448, in draw_events
days = self._get_day_items(event)
File "/home/psk/.virtualenvs/tryton40c/local/lib/python2.7/site-packages/goocalendar/_calendar.py", line 378, in _get_day_items
assert start <= end
AssertionError
This occurs when it sets start date (datetime widget example 16/07/2016 time 06:00:00) and next we try to fill date widget on end date (datetime widget, just 16/07/2016), so tryton fill end date time automatically with 00:00:00 by default, I think that this cause that errors is triggered, the record is in draft state, and its not saved, too.