Subversion Repositories SmartDukaan

Rev

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

Rev 16225 Rev 16231
Line 710... Line 710...
710
            val['brand'] = master['brand']
710
            val['brand'] = master['brand']
711
            val['source_product_name'] = master['source_product_name']
711
            val['source_product_name'] = master['source_product_name']
712
        else:
712
        else:
713
            val['brand'] = ""
713
            val['brand'] = ""
714
            val['source_product_name'] = ""
714
            val['source_product_name'] = ""
-
 
715
        val['showDp'] = int(val['showDp'])
715
        data.append(val)
716
        data.append(val)
716
    return data
717
    return data
717
 
718
 
718
def addSkuDealerPrice(data):
719
def addSkuDealerPrice(data):
719
    collection = get_mongo_connection().Catalog.SkuDealerPrices
720
    collection = get_mongo_connection().Catalog.SkuDealerPrices