Initial seed viability
When a viability test is conducted within 1 (2?) years of seed harvest, then it is considered to represent the initial seed viability. The initial seed viability records how viable seed was before it entered conservation.
SeedInventoryExtra
New fields initialViability
, initialViabilityDate
and initialViabilityDateCode
in SeedInventoryExtra
to allow genebanks to store the initial viability.
These values should be propagated to inventories that are split from the source inventory, but must not be copied when there is a new generation of the inventory (inventory.generation != inventory.parentInventory.generation
).
UI updates
UI needs updating so that when these values exist, they are automatically populated in the form when creating a new inventory.
The new columns initialViability
, initialViabilityDate
and initialViabilityDateCode
need to be added to InventoryTableConfig
.
Configuration
INITIAL_VIABILITY_MAX_DAYS
defaults to 365
days.