Subversion Repositories SmartDukaan

Rev

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

Rev 14128 Rev 14129
Line 65... Line 65...
65
                temp.append(l)
65
                temp.append(l)
66
            temp.append(item)
66
            temp.append(item)
67
            itemCatalogMap[item.catalog_item_id] = temp
67
            itemCatalogMap[item.catalog_item_id] = temp
68
            
68
            
69
    for saholicCatalogId in saholicCatalogIds:
69
    for saholicCatalogId in saholicCatalogIds:
-
 
70
        if saholicCatalogId['source_id']!=4:
-
 
71
            continue
70
        d_items = itemCatalogMap.get(long(saholicCatalogId['identifier'].strip()))
72
        d_items = itemCatalogMap.get(long(saholicCatalogId['identifier'].strip()))
71
        available_price = None
73
        available_price = None
72
        for d_item in d_items: 
74
        for d_item in d_items: 
73
            if d_item.status == 3:
75
            if d_item.status == 3:
74
                in_stock =1
76
                in_stock =1