c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #09138
[Bug 692899] Re: stock_planning module create period wizard datetime object wrong usage
*** This bug is a duplicate of bug 690581 ***
https://bugs.launchpad.net/bugs/690581
** This bug has been marked a duplicate of bug 690581
Stock_planning : Unable to create Forecasting periods.
* You can subscribe to bug 690581 by following this link: https://bugs.launchpad.net/openobject-addons/+bug/690581/+subscribe
--
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