Subversion Repositories SmartDukaan

Rev

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

Rev 5855 Rev 5860
Line 1674... Line 1674...
1674
                                          'order_weight' : str(order.total_weight),
1674
                                          'order_weight' : str(order.total_weight),
1675
                                          'customer_address' : __get_order_address(order),
1675
                                          'customer_address' : __get_order_address(order),
1676
                                          'warehouse_executive' : executive,
1676
                                          'warehouse_executive' : executive,
1677
                                          'warehouse_address' : warehouse.location,
1677
                                          'warehouse_address' : warehouse.location,
1678
                                          'warehouse_pin' : warehouse.pincode}
1678
                                          'warehouse_pin' : warehouse.pincode}
1679
        to_addresses = [to_addr, 'zaffar.kar@shop2020.in', 'suraj.sharma@shop2020.in']
1679
        to_addresses = [to_addr, 'gaurabh.verma@shop2020.in', 'suraj.sharma@shop2020.in']
1680
        
1680
        
1681
        mail(from_user, from_pwd, to_addresses, subject, message)
1681
        mail(from_user, from_pwd, to_addresses, subject, message)
1682
        if order.status == OrderStatus.RET_REQUEST_AUTHORIZED:
1682
        if order.status == OrderStatus.RET_REQUEST_AUTHORIZED:
1683
            order.status = OrderStatus.RET_PICKUP_REQUEST_RAISED
1683
            order.status = OrderStatus.RET_PICKUP_REQUEST_RAISED
1684
            order.statusDescription = "Pick up requested for RETURN"
1684
            order.statusDescription = "Pick up requested for RETURN"