Subversion Repositories SmartDukaan

Rev

Rev 5956 | Rev 6794 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5956 Rev 6793
Line 61... Line 61...
61
    #    old_order_ids.append(int(line))
61
    #    old_order_ids.append(int(line))
62
    #    print line
62
    #    print line
63
        
63
        
64
    item_quantity_list = {}
64
    item_quantity_list = {}
65
    for order in pending_orders:
65
    for order in pending_orders:
66
        if order.warehouse_id not in [1,2,3,4,5]:
66
        if order.warehouse_id not in [1,2,3,4,5,6,9]:
67
            continue
67
            continue
68
        if order.id in old_order_ids:
68
        if order.id in old_order_ids:
69
            continue
69
            continue
70
        #f.write(str(order.id)+"\n")    
70
        #f.write(str(order.id)+"\n")    
71
        lineitem = order.lineitems[0]
71
        lineitem = order.lineitems[0]