Subversion Repositories SmartDukaan

Rev

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

Rev 7694 Rev 7702
Line 2733... Line 2733...
2733
    new_order.originalOrderId = order.originalOrderId if order.originalOrderId is not None else order.id 
2733
    new_order.originalOrderId = order.originalOrderId if order.originalOrderId is not None else order.id 
2734
    
2734
    
2735
    new_order.transaction = order.transaction
2735
    new_order.transaction = order.transaction
2736
    new_order.cod = is_cod
2736
    new_order.cod = is_cod
2737
    new_order.orderType = order.orderType
2737
    new_order.orderType = order.orderType
2738
    new_order.freebieItemId = order.freebieItemId
-
 
2739
    for line_item in order.lineitems:
2738
    for line_item in order.lineitems:
2740
        litem = LineItem()
2739
        litem = LineItem()
2741
        litem.item_id = line_item.item_id
2740
        litem.item_id = line_item.item_id
2742
        litem.productGroup = line_item.productGroup
2741
        litem.productGroup = line_item.productGroup
2743
        litem.brand = line_item.brand
2742
        litem.brand = line_item.brand