Subversion Repositories SmartDukaan

Rev

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

Rev 16946 Rev 16968
Line 44... Line 44...
44
    This is to map order statuses of our system to order statuses of snapdeal.
44
    This is to map order statuses of our system to order statuses of snapdeal.
45
    And our statuses will change accordingly.
45
    And our statuses will change accordingly.
46
    
46
    
47
    '''
47
    '''
48
    OrderStatusMap = {
48
    OrderStatusMap = {
49
                      MStore.ORDER_PLACED : ['in progress', 'pending for verification', 'not available', 'in process', 'processing', 'processed'],
49
                      MStore.ORDER_PLACED : ['in progress', 'pending for verification', 'not available', 'in process', 'processing', 'processed', 'under verification'],
50
                      MStore.ORDER_DELIVERED : ['delivered'],
50
                      MStore.ORDER_DELIVERED : ['delivered'],
51
                      MStore.ORDER_SHIPPED : ['in transit', 'dispatched'],
51
                      MStore.ORDER_SHIPPED : ['in transit', 'dispatched'],
52
                      MStore.ORDER_CANCELLED : ['closed for vendor reallocation', 'cancelled', 'product returned by courier', 'returned', 'n/a', 'courier returned', 'a new order placed with a different seller']
52
                      MStore.ORDER_CANCELLED : ['closed for vendor reallocation', 'cancelled', 'product returned by courier', 'returned', 'n/a', 'courier returned', 'a new order placed with a different seller', 'closed']
53
                      }
53
                      }
54
    
54
    
55
    CONF_CB_AMOUNT = MStore.CONF_CB_DISCOUNTED_PRICE
55
    CONF_CB_AMOUNT = MStore.CONF_CB_DISCOUNTED_PRICE
56
    def __init__(self,store_id):
56
    def __init__(self,store_id):
57
        super(Store, self).__init__(store_id)
57
        super(Store, self).__init__(store_id)