< 302025-01-31⋎01 >

Topic for #farmOS is: farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Forum: farmOS.discourse.groupSet by mstenta on 2021-06-15 at 12:52
00:30*generalredneck[m] has joined
00:33generalredneck[m]hey yall.... (full message at <matrix.org/oftc/media/v1/media/download/>)
00:34generalredneck[m]generalredneck[m]: Looking to try and do calculations of eggs per chicken
00:36generalredneck[m]Oh and Hi! Long time no see!
00:36generalredneck[m]generalredneck[m]: Going to bail to do some evening stuff.
00:36generalredneck[m]I really appreciate it
00:41generalredneck[m]generalredneck[m]: FYI On a very new install of 3.3.3
00:41generalredneck[m]generalredneck[m]: I don't find any "field" modules or much info on how to work with it.
02:32paul121[m]hi generalredneck ! welcome back
02:33paul121[m]re field kit, yea, it might not be fully working. farmOS core server doesn't come with any field modules but iirc field kit "core" itself has a few simple modules that should work for things like simple observations.
02:35paul121[m]You could try enabling the [`farm_fieldkit_test`](github.com/farmOS/farmOS/tree/3.x/module) module to test if the client -> server field kit module discovery is working tho... then check your console for a message.
02:38paul121[m]re: your second question, yes, I think the current approach would be to assign an "inventory" for the "animal count" to your group asset. The inventory will need to be initialized and adjusted with logs & quantities that reference your group asset. You could use a quantity label of your choice for this, maybe "chickens" is best? Not sure we have a best practice for this
02:39paul121[m]Inventory docs: farmos.org/model/logic/inventory/
02:39paul121[m]* a quantity <del>label, * label</del>, * unit of your
10:50mstenta[m]> You could use a quantity unit of your choice for this, maybe "chickens" is best? Not sure we have a best practice for this
10:50mstenta[m]I would say for animal head counts no unit is necessary. If the Group is called "Chicken flock" then a simple number is enough and the meaning is implied. But that's up to you.
10:51mstenta[m]Units are useful to differentiate multiple inventories, or in inventories where the unit is not implied
10:52mstenta[m]But if you want to be extra explicit, a "chickens" unit is fine. A better (more general one) might be "head".
10:52mstenta[m]In the farmOS v1 grazing module, the convention was no unit.
10:53mstenta[m]Although in that case, the inventory was actually on an Animal asset, not on a Group asset
10:53mstenta[m](eg: Animal asset named "Chicken flock 1" with a head count inventory)
10:54mstenta[m]Then you can put your "Chicken flock 1" into a Group asset called "Flerd" with a bunch of individual sheep ;-)
11:06mstenta[m]Hey pcambra! Question about your multi-tenant farmOS exploration work...
11:06mstenta[m]I'm trying to get our 3.x-organization PR over the finish line (github.com/farmOS/farmOS/pull/849) - getting very close!
11:07mstenta[m]I'm curious if you have any new thoughts regarding the user field that the PR currently adds to organization entities.
11:07mstenta[m]The PR currently states:
11:07mstenta[m]> The "Users" (`user`) field allows users a group to reference one or more user accounts that are associated with it. This does not serve any purpose other than informational at this point, but could be used in the future for building additional UX and/or access control features on top of.
11:07mstenta[m]In the PR you commented:
11:07mstenta[m]> Maybe we could remove the user field to leverage it from a Group integration instead?
11:07mstenta[m](github.com/farmOS/farmOS/pull/849#pullre)
11:08mstenta[m]I spoke with paul121 about this, and we are leaning towards removing the `user` field from the PR, and basically punting on the decision for now.
11:09mstenta[m]But I wanted to check in with you again pcambra - in case anything has changed/developed on your end that leverages the `user` field.
11:10mstenta[m]s/users//
11:18*farmBOT has joined
12:04pcambra[m]yup, that´s on my proposal for the changes with the access control stuff
12:04pcambra[m](removing the user field)
12:04mstenta[m]ok. i'll go ahead and remove it from the PR.
12:05mstenta[m]we may decide we need a core data model mechanism for assigning users to organizations in the future (outside of the group module context), but we can cross that bridge when we get to it.
12:06mstenta[m]one more question... the PR also has this outstanding todo:
12:06mstenta[m]> Add support for filtering location hierarchy by farm.
12:06mstenta[m]> I'm imagining a dropdown of Farms in the `/locations` page, which filters the hierarchy to only include assets in that farm.
12:06mstenta[m]This is specifically in the/locations page, which shows a hierarchy of all location assets using the inspire_tree JS
12:07mstenta[m]If I add a dropdown to that page for filtering by farm, will that work for your purposes?
12:08pcambra[m]yeah, I'm working in a document proposal that includes some of this, including work on the PR
12:09mstenta[m]Oh OK well the hope is that this will make it into 3.4.0, so I'm working on finishing up the PR.
12:10mstenta[m]So if your proposal includes additional requirements on the PR we should go over that
12:11mstenta[m]I have to sign off for now... time to get the kids ready for school :-)
14:42mstenta[m]paul121: I just opened a series of PRs that address some of the prerequisites we need in github.com/farmOS/farmOS/pull/849 - ready for review@!
14:43mstenta[m]They are all part of the same branch, so the last one includes all the commits for all of them, but I figured they deserved separate PRs since they add a number of new features.
14:43mstenta[m]Here are all of them in order:... (full message at <matrix.org/oftc/media/v1/media/download/>)
14:44mstenta[m]I added them all to the 3.4.0 milestone. So if they look good maybe we can start an official 3.4.x branch and merge them in, then rebase 3.x-organization on top of that.

< 302025-01-31⋏01 >