dimagi/rapidsms-logistics — pull request #2 by rowenaluk (2012-02-09 18:39:48+00:00)
Title: can configure commodity stocking requirement by user, facility, or product

hey christian,

here's a pretty small change we discussed earlier: the ability to configure which commodities are 'required' (where 'required' is used to calculate the 'reporting completeness' pie chart). this is done through a setting called COMMODITIES_STOCKED_BY, and can be set to USER, FACILITY, or PRODUCT.

a migration is required to add 'is_active' to 'product' (for use when commodities are stocked by product).