Subversion Repositories SmartDukaan

Rev

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

Rev 12374 Rev 12375
Line 219... Line 219...
219
        if scp is not None:
219
        if scp is not None:
220
            sourcePercentage = scp
220
            sourcePercentage = scp
221
        else:
221
        else:
222
            spm = SourcePercentageMaster.get_by(source=OrderSource.AMAZON)
222
            spm = SourcePercentageMaster.get_by(source=OrderSource.AMAZON)
223
            sourcePercentage = spm
223
            sourcePercentage = spm
-
 
224
        print "$$$$$$$$$$$$$$$$$"
-
 
225
        print fbaInventoryItem
224
        if fbaInventoryItem.getLocation()==0:
226
        if fbaInventoryItem.location==0:
225
            sku = 'FBA'+fbaInventoryItem.item_id
227
            sku = 'FBA'+fbaInventoryItem.item_id
226
            state_id = 1
228
            state_id = 1
227
        elif fbaInventoryItem.getLocation()==1:
229
        elif fbaInventoryItem.location==1:
228
            sku = 'FBB'+fbaInventoryItem.item_id
230
            sku = 'FBB'+fbaInventoryItem.item_id
229
            state_id = 2
231
            state_id = 2
230
        else:
232
        else:
231
            print "continue*****"
233
            print "continue*****"
232
            continue
234
            continue