mstenta / farm_crop_plan

Crop plan type and related features for farmOS. (ALPHA 3.x IN DEVELOPMENT)
https://drupal.org/project/farm_crop_plan
GNU General Public License v2.0
5 stars 1 forks source link

Hide Transplanting form when it is not needed #23

Closed mstenta closed 6 months ago

mstenta commented 3 years ago

Feedback from Cora at Wolfe's Neck:

Often we have plantings that are direct seeded. In this case, we do not need a transplanting log.

  • Perhaps adding a box to check if it is a direct seeding and then you would not have the transplanting option.

I have been wanting to split the "transplanting" log entity itself out to its own module for a while, so that it can be optionally enabled only in farms that need it (eg: a row-crop operation that only direct seeds corn and beans has no need for transplanting logs). So if that happens, we could wrap our transplanting details form code in if (module_exists('farm_transplanting)). However, that doesn't exactly fit Cora's use-case, where Transplantings ARE still used in other cases. So I like the idea of checkboxes (similar to the Planting Quick Form).

mstenta commented 6 months ago

We are in the process of porting this module to farmOS v3, and moving it to https://www.drupal.org/project/farm_crop_plan, along with any open issues that are still relevant.

In farmOS v2+ the transplanting log type is optional, and we plan to make it optional in the new version of the farm_crop_plan module as well.