c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #08978
[Bug 692899] [NEW] stock_planning module create period wizard datetime object wrong usage
Public bug reported:
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)
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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:
New
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)
Follow ups
References