Koha-clms/acqui
Michał Dudzik 1b923e946a
Bug 37265: Consideration of UniqueItemFields setting when receiving items in an order
When using the Koha acquisition module to receive items (basket receiving
an order), Koha does not consideration of UniqueItemFields setting.
The problem is that you can accidentally attach 3 items to an order with the same values.

Test plan:
1. Set preference UniqueItemFields: Public note (itemnotes)
2. Go to the acquisition module.
3. Create a basket with the option for 'Create items when:' set to receiving an order.
4. Add an order to the basket, for example: From a new (empty) record with the Quantity set to 3 or more.
5. Close the basket.
6. Receive the order.
7. Add a public note: TEST, and receive the first item (Add item).
8. You will see that the next item has the same public note.
9. Apply this patch and repeat step 7 - the public note is not used for the next note.

Sponsored-by: kohawbibliotece.pl
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2024-10-02 10:50:41 +01:00
..
acqui-home.pl Bug 34805: (QA follow-up) Tidy acqui/acqui-home.pl 2024-09-13 13:54:22 +02:00
addorder.pl Bug 35044: (QA follow-up): DRY code before set_additional_fields 2024-08-23 18:21:26 +02:00
addorderiso2709.pl Bug 35026: (QA follow-up): Restore order grouping 2024-08-19 18:59:48 +02:00
ajax-getauthvaluedropbox.pl
…
basket.pl Bug 35044: Update: Order baskets 2024-08-23 18:21:21 +02:00
basketgroup.pl
…
basketheader.pl Bug 35044: (QA follow-up): DRY code before set_additional_fields 2024-08-23 18:21:26 +02:00
booksellers.pl
…
cancelorder.pl
…
check_budget_total.pl
…
check_uniqueness.pl
…
duplicate_orders.pl
…
edi_ean.pl
…
edifactmsgs.pl
…
edimsg.pl
…
finishreceive.pl
…
histsearch.pl Bug 37377: Fix orders search do_search param 2024-07-22 07:26:42 +01:00
invoice-files.pl
…
invoice.pl Bug 35044: (QA follow-up): DRY code before set_additional_fields 2024-08-23 18:21:26 +02:00
invoices.pl
…
lateorders-export.pl
…
lateorders.pl
…
moddeliverydate.pl
…
modordernotes.pl
…
neworderempty.pl Bug 35044: Update: Acquisition orders 2024-08-23 18:21:22 +02:00
newordersubscription.pl
…
newordersuggestion.pl
…
ordered.pl
…
orderreceive.pl Bug 37265: Consideration of UniqueItemFields setting when receiving items in an order 2024-10-02 10:50:41 +01:00
parcel.pl
…
parcels.pl Bug 35044: (QA follow-up): DRY code before set_additional_fields 2024-08-23 18:21:26 +02:00
showorder.pl
…
spent.pl
…
supplier.pl
…
transferorder.pl Bug 37343: Fixed search for vendors when transferring an item in acquistions 2024-07-22 07:37:24 +01:00
uncertainprice.pl
…
updatesupplier.pl
…
vendor_issues.pl Bug 36635: Fix vendor's issue show view 2024-04-19 18:06:33 +02:00
z3950_search.pl
…