** Changed in: openobject-client
Milestone: None => 6.0-rc2
--
gtk_calendar bad filters one or more months ago
https://bugs.launchpad.net/bugs/537266
You received this bug notification because you are a member of OpenERP
sa GTK client R&D, which is a bug assignee.
Status in OpenObject GTK Client: Confirmed
Bug description:
Hi,
In trunk branch, calendar filters bad when click on last month button or last
week button.
In get_calenderDomain, if old_date is today it filters one month ago and next
month, it's correct, but when old_date isn't today for example when I click in
last month, it only sets end_date to next month but start_date sets to
old_date, that if you were located in for example 11 on March, today, when you
click in last month your old_date is 11 on February and the created domain is:
[('date', '>', '2010-02-11'), ('date', '<', '2010-03-11')] and it's not correct
because I want to see all February month. I include a patch that filter in last
month and next month always, or last week and next week if mode = 'week'. In
web client it works.
Regards
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp