Commit b7642581 authored by panos's avatar panos

Script modified for the implementation of the database approach

parent bff2736a
...@@ -386,6 +386,7 @@ def createWIP(): ...@@ -386,6 +386,7 @@ def createWIP():
# for every order in the productionOrders list # for every order in the productionOrders list
for prodOrder in orders: for prodOrder in orders:
orderClass=prodOrder.get('_class',None) orderClass=prodOrder.get('_class',None)
print '....', prodOrder['id'], prodOrder['name'], orderClass
orderType=Globals.getClassFromName(orderClass) orderType=Globals.getClassFromName(orderClass)
# make sure that their type is Dream.Order # make sure that their type is Dream.Order
if orderClass=='Dream.Order': if orderClass=='Dream.Order':
......
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