Subversion Repositories SmartDukaan

Rev

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

Rev 12375 Rev 12377
Line 222... Line 222...
222
            spm = SourcePercentageMaster.get_by(source=OrderSource.AMAZON)
222
            spm = SourcePercentageMaster.get_by(source=OrderSource.AMAZON)
223
            sourcePercentage = spm
223
            sourcePercentage = spm
224
        print "$$$$$$$$$$$$$$$$$"
224
        print "$$$$$$$$$$$$$$$$$"
225
        print fbaInventoryItem
225
        print fbaInventoryItem
226
        if fbaInventoryItem.location==0:
226
        if fbaInventoryItem.location==0:
227
            sku = 'FBA'+fbaInventoryItem.item_id
227
            sku = 'FBA'+str(fbaInventoryItem.item_id)
228
            state_id = 1
228
            state_id = 1
229
        elif fbaInventoryItem.location==1:
229
        elif fbaInventoryItem.location==1:
230
            sku = 'FBB'+fbaInventoryItem.item_id
230
            sku = 'FBB'+str(fbaInventoryItem.item_id)
231
            state_id = 2
231
            state_id = 2
232
        else:
232
        else:
233
            print "continue*****"
233
            print "continue*****"
234
            continue
234
            continue
235
        cc = computeCourierCost(it.weight)
235
        cc = computeCourierCost(it.weight)