This issue was raised by our local librarians who create a large number of acquisition orders, most of which are for a single copy. With the current behaviour, the quantity field defaults to 0, which means that every new order requires an extra click and a manual edit of the quantity field; otherwise, saving triggers a validation popup. Since the field is already clearly marked as required and visually highlighted, the risk of accidentally overlooking it is quite low. We would like to hear how others see this in practice. Does the current default feel helpful in your workflows, or would a default of 1 make more sense in everyday use?
Created attachment 192146 [details] [review] Bug 41732: Default order quantity to 1 outside item-at-ordering Test plan: 1. In system preferences, set AcqCreateItem to cataloging the record or receiving an order. 2. Create a new basket with Create items when set to Use default (receiving an order). 3. In the basket, click + Add to basket and select an existing bibliographic record. 4. From the selected bibliographic record, click Add order. 5. On the order page, check Accounting details → Quantity. • Notice that the quantity defaults to 0 and the field is editable. After applying the patch 6. Repeat steps 1–4. 7. On the order page, check Accounting details → Quantity. • Notice that the quantity defaults to 1 and the field is editable. Item creation at ordering 8. In system preferences, set AcqCreateItem to placing an order. 9. Create a new order. 10. On the order page, check Accounting details → Quantity. • Notice that the quantity defaults to 0 and the field is not editable.
We’ve applied this patch locally for internal use. The goal is to make the behavior concrete and open it up for discussion.
We do a lot of one-copy purchasing as well and would love to see this. Thanks for the suggestion!