My understanding of group logic(steps):
- 30 number of plant
Assets
i have.
- First create group asset with name (jan_2024_coconut).
- Creating
transplanting
log then selecting 30 number of coconut plant asset in Assets tap and enabling is group assignment
in Group tap then i select (jan_2024_coconut) group.
- After i am adding irrigation as
Activity
log and select (jan_2024_coconut) in Group tap by enabling is group assignment
above steps right or not ?
4th step i left assets and only adding Group. is it correct?
This two logs (Transplanting,Activity) will reflect for all Assets
. is it correct?
2 Likes
@aathi179 Yes I think you have it almost correct. In step 4 you do not need to set is_group_assignment
again on the activity
log. The is_group_assignment
is only for saying “this log assigns these assets to a group”. So you only use that when you are grouping the assets initially (or when you are changing an asset’s group - for example if you are moving an animal from one herd to another).
Unfortunately right now only the transplanting
log will show on each individual plant
asset. And the activity
will only show on the group
asset. This is just because farmOS’s UI logic is still simply showing logs that directly reference an asset (in the log’s asset
field). But I would like to eventually make it so that each individual plant
asset also shows the logs that reference the group
asset that they are members of. This is mostly a UI feature, but from the data perspective you can figure out which logs are associated with group member assets by looking at the group
asset. So the “feature request” is to automate that logic and show all of them in the UI for individual assets. I would love help with this effort if anyone wants to contribute!
One aspect that is currently implemented is group member location logic. If you create a log that moves a group
asset to a new location, then that new location will be automatically reflected on all the member assets of that group.
1 Like
i like to contribute with time constraint. but i can take task to complete with two or three month. Please guide the steps. I take small work every week and finish it in few months.
2 Likes
That would be great @aathi179! I don’t have a plan for how to accomplish it, so that would require some investigation in itself. Might make sense to start a dedicated forum topic for it to scope it out together.
2 Likes
Forum topic created - Group logic issue
1 Like