Subversion Repositories SmartDukaan

Rev

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

Rev 12136 Rev 12145
Line 435... Line 435...
435
                spm = SourcePercentageMaster.get_by(source=OrderSource.SNAPDEAL)
435
                spm = SourcePercentageMaster.get_by(source=OrderSource.SNAPDEAL)
436
                sourcePercentage = spm
436
                sourcePercentage = spm
437
                sourcePercentage.returnProvision = srm.returnProvision
437
                sourcePercentage.returnProvision = srm.returnProvision
438
        snapdealItemInfo = __SnapdealItemInfo(snapdeal_item.supc, snapdeal_item.maxNlc,snapdeal_item.courierCostMarketplace, it.id, it.product_group, it.brand, it.model_name, it.model_number, it.color, it.weight, category.parent_category_id, it.risky, snapdeal_item.warehouseId, None, runType, parent_category.display_name,sourcePercentage)
438
        snapdealItemInfo = __SnapdealItemInfo(snapdeal_item.supc, snapdeal_item.maxNlc,snapdeal_item.courierCostMarketplace, it.id, it.product_group, it.brand, it.model_name, it.model_number, it.color, it.weight, category.parent_category_id, it.risky, snapdeal_item.warehouseId, None, runType, parent_category.display_name,sourcePercentage)
439
        itemInfo.append(snapdealItemInfo)
439
        itemInfo.append(snapdealItemInfo)
-
 
440
    session.expunge_all()
440
    return itemInfo
441
    return itemInfo
441
 
442
 
442
    
443
    
443
def decideCategory(itemInfo):
444
def decideCategory(itemInfo):
444
    global itemSaleMap
445
    global itemSaleMap