You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(fd2): create one plant asset per bed for direct seedings. #645
Modify lib.js in the direct_seeding entry point (modules/farm_fd2/src/entrypoints/direct_seeding) so that:
If beds are selected, one plant asset is created for each bed.
If no beds are selected (either because they were not selected, or because the location does not have beds defined) then one plant asset will be created.
If beds are selected and multiple plant assets are created, then one seeding log will also have to be created for each plant asset as well. This is because it is the seeding log, with its movement property set to true that sets the location of the plant asset.
If beds are selected, the location (i.e. field or greenhouse) and the selected bed should be indicated in the location property of seeding log.
If no beds are selected, then only the location (i.e. field or greenhouse) should be in the location property of the seeding log.
The lib.*.unit.cy.js tests will also need to be updated to account for the creation of the additional plant assets.
Activity