Review: Needs Fixing
Bharat,
I don't know why you have used time.struct_time to filter you day,month,year.
You can simply use for e.g: b=datetime.strptime("2010-10-10","%Y-%m-%d") and 
b.strftime("%Y")

Please improve!

Thanks,
Mustufa
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-800767-bde/+merge/68379
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-800767-bde.

_______________________________________________
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

Reply via email to