Rme, is it fixed or not? in any case don't let the status as 'new' or
someone else will loose time trying to close that bug: set is as invalid
(and it will be closed automatically when expired because the author
doesn't reopen it) or fix released if you're sure that bug is fixed.
Ferdinand, i didn't check but it seems that this bug is already fixed.
So i'm setting this report as invalid, please reopen it if you think
it's not the case.
Thanks,
Quentin
** Changed in: openobject-addons
Status: New => Invalid
** Changed in: openobject-addons
Status: Invalid => Incomplete
--
[trunk] stock move analysis - wrong domain
https://bugs.launchpad.net/bugs/649148
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: Incomplete
Bug description:
domain="[('date_planned','<=', (datetime.date
(int(time.strftime('%%Y')), datetime.date.today().month, 1) -
datetime.timedelta (days =
1)).strftime('%%Y-%%m-%%d')),('date_planned','>',(datetime.date
(int(time.strftime('%%Y')), datetime.date.today().month-1,
1)).strftime('%%Y-%%m-%%d'))]"
should be
'>='
domain="[('date_planned','<=', (datetime.date (int(time.strftime('%%Y')),
datetime.date.today().month, 1) - datetime.timedelta (days =
1)).strftime('%%Y-%%m-%%d')),('date_planned','>=',(datetime.date
(int(time.strftime('%%Y')), datetime.date.today().month-1,
1)).strftime('%%Y-%%m-%%d'))]"
I really wonder why OpenERP uses unreadable code - see suggestions
https://bugs.launchpad.net/openobject-addons/+bug/626867
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp