Subversion Repositories SmartDukaan

Rev

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

Rev 14771 Rev 14830
Line 35... Line 35...
35
    This is to map order statuses of our system to order statuses of snapdeal.
35
    This is to map order statuses of our system to order statuses of snapdeal.
36
    And our statuses will change accordingly.
36
    And our statuses will change accordingly.
37
    
37
    
38
    '''
38
    '''
39
    OrderStatusMap = {
39
    OrderStatusMap = {
40
                      MStore.ORDER_PLACED : ['in progress','n/a', 'pending for verification', 'not available'],
40
                      MStore.ORDER_PLACED : ['in progress', 'pending for verification', 'not available'],
41
                      MStore.ORDER_DELIVERED : ['delivered'],
41
                      MStore.ORDER_DELIVERED : ['delivered'],
42
                      MStore.ORDER_SHIPPED : ['in transit'],
42
                      MStore.ORDER_SHIPPED : ['in transit'],
43
                      MStore.ORDER_CANCELLED : ['closed for vendor reallocation', 'cancelled', 'product returned by courier', 'returned']
43
                      MStore.ORDER_CANCELLED : ['closed for vendor reallocation', 'cancelled', 'product returned by courier', 'returned', 'n/a']
44
                      }
44
                      }
45
    
45
    
46
    CONF_CB_AMOUNT = MStore.CONF_CB_DISCOUNTED_PRICE
46
    CONF_CB_AMOUNT = MStore.CONF_CB_DISCOUNTED_PRICE
47
    def __init__(self,store_id):
47
    def __init__(self,store_id):
48
        super(Store, self).__init__(store_id)
48
        super(Store, self).__init__(store_id)