Skip to content

Instantly share code, notes, and snippets.

@ianjosephwilson
Created January 15, 2014 00:46
Show Gist options
  • Save ianjosephwilson/8428856 to your computer and use it in GitHub Desktop.
Save ianjosephwilson/8428856 to your computer and use it in GitHub Desktop.
storage_location_ids = server.model.stock.location.search([
('type', '=', 'storage'),
('parent', 'child_of', location_ids)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment