| Line 1834... |
Line 1834... |
| 1834 |
'order_weight' : str(order.total_weight),
|
1834 |
'order_weight' : str(order.total_weight),
|
| 1835 |
'customer_address' : __get_order_address(order),
|
1835 |
'customer_address' : __get_order_address(order),
|
| 1836 |
'warehouse_executive' : executive,
|
1836 |
'warehouse_executive' : executive,
|
| 1837 |
'warehouse_address' : warehouse.location,
|
1837 |
'warehouse_address' : warehouse.location,
|
| 1838 |
'warehouse_pin' : warehouse.pincode}
|
1838 |
'warehouse_pin' : warehouse.pincode}
|
| 1839 |
to_addresses = [to_addr, 'amit.sirohi@shop2020.in']
|
1839 |
to_addresses = [to_addr,'amit.sirohi@shop2020.in', 'shrawan.choudhary@shop2020.in', 'ritesh.chauhan@shop2020.in']
|
| 1840 |
|
1840 |
|
| 1841 |
mail(mail_user, mail_password, to_addresses, subject, message)
|
1841 |
mail(mail_user, mail_password, to_addresses, subject, message)
|
| 1842 |
if order.status == OrderStatus.RET_REQUEST_AUTHORIZED:
|
1842 |
if order.status == OrderStatus.RET_REQUEST_AUTHORIZED:
|
| 1843 |
order.status = OrderStatus.RET_PICKUP_REQUEST_RAISED
|
1843 |
order.status = OrderStatus.RET_PICKUP_REQUEST_RAISED
|
| 1844 |
order.statusDescription = "Pick up requested for RETURN"
|
1844 |
order.statusDescription = "Pick up requested for RETURN"
|