[6.0] Next and previous day buttons don't work on calendar view (missing import)

Bug #597230 reported by Borja López Soilán (NeoPolus)
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

The "next" and "previous" day buttons (also called back/forward) don't work on the calendar view.

If you open a calendar view and try to navigate to the next/previous day using the arrows near the "Today" button, nothing happens, and this stacktrace is displayed on the client log:

Traceback (most recent call last):
  File "/home/datos/Proyectos/openerp/openobject-client/6.0/bin/widget/view/calendar_gtk/parser.py", line 241, in _back_forward
    relatime = DateTime.RelativeDateTime
NameError: global name 'DateTime' is not defined

Revision history for this message
Borja López Soilán (NeoPolus) (borjals) wrote :
summary: - [6.0] Next and previous day buttons don't work on calendar view
+ [6.0] Next and previous day buttons don't work on calendar view (missing
+ import)
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

It has been fixed.
Thanks.

Changed in openobject-client:
milestone: none → 6.0
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.