Created
April 4, 2014 15:24
-
-
Save shofetim/9977011 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from reports.tasks import generate_projected_stock_transfers | |
#hopefully running it on a subset will speed things up | |
j2 = Route.objects.get(code='J2') | |
some_drop_ids = [i['id'] for i in j2.drop_points.all().values('id')] | |
generate_projected_stock_transfers(days=3, drop_point_ids=some_drop_ids) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment