proper ordering of transaction selection in ota restore
Merge pull request #165 from dimagi/ota-fix

proper ordering of transaction selection in ota restore
support stockout periods in consumption
Merge branch 'assert-error' into autostaging