c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #09041
[Bug 692899] Re: stock_planning module create period wizard datetime object wrong usage
Hello Jacara,
It has already fixed in lp:~openerp-dev/openobject-addons/ron-dev-addons2
Revision ID: ron@xxxxxxxxxxx-20101216120402-h832bva5c7t30296
Revision num: 5087.
It will be available in trunk soon,
** Changed in: openobject-addons
Status: Confirmed => Fix Committed
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/692899
Title:
stock_planning module create period wizard datetime object wrong usage
Status in OpenObject Addons Modules:
Fix Committed
Bug description:
addons/stock_planning/wizard/stock_planning_create_periods.py line 38 : _get_new_period_start method
- period_start = datetime(last_date,"%Y-%m-%d %H:%M:%S")+ relativedelta(days=1)
+ period_start = datetime.strptime(last_date,"%Y-%m-%d %H:%M:%S")+ relativedelta(days=1)
References