Skip to content

Default the quantity per individual to 50 in the data, except for kits, which should be 1. #5037

Open
@cielf

Description

@cielf

Summary

Default the quantity per individual for items to 50 in the data, except for kits, which should be 1

Why?

The blank quantity is resulting in some follow-on issues, also making it explicit to the banks that this is what we use.

Details

1/ When creating a new item through the interface, the value for quantity per individual is defaulted to 50
2/ When we create a kit, that value on the accompanying item (the one that represents the kit) is defaulted to 1
3/ Migration to set blank quantities per individual on items to 50, unless the item represents a kit, in which case a blank quantity will be set to 1.

Criteria for completion

  • behaviour as described above
  • automated tests supporting the above behaviour

Note

Feedback from 20250108 stakeholders meeting. No issues with the concept - go ahead.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions