Commit bff2736a authored by panos's avatar panos

A bug fixed in the script

parent a2b5c067
...@@ -67,6 +67,7 @@ def DataExtraction(DBFilePath): ...@@ -67,6 +67,7 @@ def DataExtraction(DBFilePath):
productionOrders['manager']=ind0.ProjectManager productionOrders['manager']=ind0.ProjectManager
orderDate=datetime.strptime(str(ind0.Order_date), '%Y-%m-%d') orderDate=datetime.strptime(str(ind0.Order_date), '%Y-%m-%d')
productionOrders['orderDate']=str(orderDate) productionOrders['orderDate']=str(orderDate)
productionOrders['_class']="Dream.Order"
dueDate=datetime.strptime(str(ind0.Due_date), '%Y-%m-%d') dueDate=datetime.strptime(str(ind0.Due_date), '%Y-%m-%d')
productionOrders['dueDate']=str(dueDate) productionOrders['dueDate']=str(dueDate)
productionOrders['componentsList']=[] productionOrders['componentsList']=[]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment