olimart/moreflowers2 — Issue #9: Stocks
Author: olimart
Created: 2011-12-13 00:13:37+00:00
State: open

Down the road we'll need to move stocks around: Withdraw X from Storage1 and Credit Storage2 with X

For now all we do is create new stock for every move. For example when you order twice the same product 2 stocks are created, which is good because we need to receive these 2 orders separately. However this will cause a problem soon. Need to think about a better solution.

You can check transfer function under Stock model to give you an idea.

Thoughts?