This idea came out of this forum topic comment: https://farmos.discourse.group/t/automating-inventory/934/3
provide some mechanisms for recursively calculating the total inventory of all members within a group combined
I think this would essentially be done in a new
GroupInventory
class that overrides theAssetInventory
class, in the same way thatGroupAssetLocation
overridesAssetLocation
TBD
Group assets show an aggregated inventory of all member assets within them.
Group assets in the API include an aggregated inventory of all member assets within them.
Similar to UI and API changes above, but because this is computed/cached it can perhaps be considered a "higher-level" data model change, not affecting lower-level database schema.
Active
3.0
Farm Groups
The change/bugfix cannot be fully demonstrated by automated testing, and thus requires manual testing in a variety of environments.
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.