Skip to content

Instantly share code, notes, and snippets.

@yk2kus
Created June 5, 2019 15:30
Show Gist options
  • Save yk2kus/7251145ce61d12f04a0aefc0e387f16e to your computer and use it in GitHub Desktop.
Save yk2kus/7251145ce61d12f04a0aefc0e387f16e to your computer and use it in GitHub Desktop.
Sock Move Reserve
""" Reserve stock moves by creating their stock move lines. A stock move is
considered reserved once the sum of `product_qty` for all its move lines is
equal to its `product_qty`. If it is less, the stock move is considered
partially available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment