Wednesday, August 20, 2008

GTK Ergonomy

Lots of improvements have been made on OpenERP to improve the ergonomy of both our Web and GTK client. Here is a small post on the latest one: date, time and datetime widgets improvement.


In the trunk branch of the GTK client, these new widgets uses masks that are set according to the locale of the connected user. Thanks to these masks, the user better knows how to encode these fields and can not encode something false. You don't have to write the separator character, OpenERP does it for you.

You can also fill in only a part of the widget and OpenERP completes automatically the rest of the field according to the current date and time.


But the best new feature of this widget is the ability to use operations on the date. That will be very helpful for accounting entries encoding or planning. (thanks Camp2Camp for having suggested and worked on this feature). When you press '-', '+' or '=', the system enter in the operation mode and what you write appears on the right until you press tab, enter or escape.


Some examples of operations:
  • +2w : adds 2 weeks to the selected date
  • = : set to current date/time
  • =12w : set to monday from the 12th week of the year
  • -3d : decrease selected date from 3 days
  • - : clear the date field
  • +3m : adds 3 months to the selected date

2 comments:

Anonymous said...

Good to see this development. It's surprising how much difference these little things make to the usefulness of software.

ferdinand said...

did you think of a 3 month calendar widget which shows the last,current and next month. IMHO that's the typical range of dates a user will look for dates.
nevertheless it should be possible to scroll to next/previous 3 month period