Subversion Repositories SmartDukaan

Rev

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

Rev 4835 Rev 4840
Line 1560... Line 1560...
1560
        litem.unit_price = line_item.unit_price
1560
        litem.unit_price = line_item.unit_price
1561
        litem.unit_weight = line_item.unit_weight
1561
        litem.unit_weight = line_item.unit_weight
1562
        litem.total_price = line_item.total_price
1562
        litem.total_price = line_item.total_price
1563
        litem.total_weight = line_item.total_weight
1563
        litem.total_weight = line_item.total_weight
1564
        litem.transfer_price = line_item.transfer_price
1564
        litem.transfer_price = line_item.transfer_price
-
 
1565
        litem.dealText = line_item.dealText
1565
        litem.order = new_order
1566
        litem.order = new_order
1566
 
1567
 
1567
    logistics_client = LogisticsClient().get_client()
1568
    logistics_client = LogisticsClient().get_client()
1568
    item_id = new_order.lineitems[0].item_id
1569
    item_id = new_order.lineitems[0].item_id
1569
    logistics_info = logistics_client.getLogisticsInfo(new_order.customer_pincode, item_id, is_cod) #TODO: We should be able to pass another flag to suggest ignoring the inventory situation.
1570
    logistics_info = logistics_client.getLogisticsInfo(new_order.customer_pincode, item_id, is_cod) #TODO: We should be able to pass another flag to suggest ignoring the inventory situation.