Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Currently the Farm Log module includes a Farm Crop submodule for managing crops. It does not include any features for managing livestock.
I don't have much experience with livestock, personally, so I will defer some of the design decisions to those who do. Let's use this issue for discussion of requirements. I will update this issue description with a roadmap and links to more specific tasks as they are developed.
Comments
Comment #1
m.stentaCross-referencing with the related discussion on Farm Hack: http://farmhack.net/comment/949
Comment #2
m.stentaSee also: #2361201: Dissolve farm_log_crops submodule. I may move crop management to the http://drupal.org/project/farm_crop module.
If so, then I will also start the livestock management stuff in a new module as well: farm_stock
Comment #3
BruceDawson CreditAttribution: BruceDawson commentedThe "objects" I have in my Drupal app are:
The above are specific to my farm, but would have applications to any livestock.
Other objects that we plan on tracking in the future are:
Comment #4
BruceDawson CreditAttribution: BruceDawson commentedActually, since most farms have more than one type of livestock, there should be a "Livestock" object - listing the various types of livestock - horses, goats, cattle, dairycattle, ...
And then we need to be cognizant of multiple management types used by stock farms. I'm still working on this, but its awfully fluid for our farm (and I suspect for other farms), and just keeps getting bigger and bigger. (We maintain multiple herds with differing feed strategies and use.)
Comment #5
m.stenta@BruceDawson: thanks! This is very helpful. I've also been studying the recordkeeping sheets for organic dairy certification, and have been coming up with many of the same record types. I will post my ideas soon, and we can compare/combine.
Yesterday I decided that FarmOS will need a new type of entity: Farm Asset. This will be used to represent things of value that are owned by the farm. "Animals" will be an asset, as well as "Plantings" (in the Crop management piece). Other assets will probably include Feed that is stored, maybe Medicines, etc. This will give us the ability to really track the inputs/outputs of the farm. I started a new task for that here: #2362529: Farm Asset entity type
So, with the addition of Assets, there will be three main "entity types" in the system: Taxonomies (core Drupal), Log type (my Log module), and Assets (via a new Farm Asset module). Assets will be used to keep track of animals, plantings, and other real resources. Logs are used for individual records that relate to Assets. And Taxonomies are used for grouping and categorization.
Some examples:
Asset types: Animal, Planting
Taxonomy: Species, Crop
Log types: Input, Movement, Medication, Harvest, Production, etc etc
Previously (before starting to plan the livestock management piece), there was only Taxonomies and Log types. Plantings were a Log type, and that always felt weird to me (see: #2361705: Make Plantings into Assets). It was also missing the critical ability to track "stuff" on the farm in a meaningful way. I think the new Asset entity type will really tie everything together nicely, and make it easier to build reports and aggregations of data in the future.
Comment #6
m.stentaMoving this to the new Farm Livestock module: http://drupal.org/project/farm_livestock
Currently this module provides a simple Animal farm asset type, with some default fields. It also provides a Page Manager override for the Animal view page, that displays an animal's movements in the right column. More log types and lists can be added similarly. I am going to start building a list of tasks in this project's issue queue for each. Feel free to post ideas/feature requests/bugs etc!
Comment #7
m.stentaAdded: #2389489: Animal groups/herds/flocks/etc
Comment #8
m.stentaAdded a new task for Medical logs: #2401551: New log type: Medical
Comment #9
m.stentaAll farmOS repositories have been merged into the farmOS distribution (see #2876992: Merge farmOS repositories into drupal.org/project/farm). I'm going through and moving all open issues from the various project issue queues to the central queue now...
Comment #10
m.stentaClosing this as outdated. We've had a livestock module for a while now.