Koha-clms/installer/data/mysql/mandatory
Nick Clemens 675f1b3eb0 Bug 29792: [21.11.x] Automatically send wrong transfers
Bug 24434 reinstated the 'updateWrongTransfer' call here, but made the assertion that
the transfer should not be sent until 'Ok' was clicked.

I see how unsent transfers are useful for rotation, but I believe for wrong transfer we shouldn't require a confirm or print. If a library does want to, the 'transfersblockcirc' system preference will enforce clicking the button
to continue

This patch also confirms a transfer when item already has a transfer and only options are Confirm/Print because the transfer already exists

To test:
1 - Disable TransfersBlockCirc system preference
2 - Manually transfer an item from branch A to branch B
3 - Check in the item at branch A
4 - Dismiss modal without confirming
5 - View item on biblio details page, item not in transit
6 - Check in item, confirm transfer
7 - Note item in transit on details page
8 - Check in the item at branch C
9 - Dismiss modal without confirm
10 - View item on biblio detail, not in transit
11 - Checkin at A, cancel transfer
12 - Apply patch
13 - repeat 1 - 4
14 - Confirm item appears in transit
15 - Check in at branch C, dismiss modal
16 - Confirm item in transit

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 7f04df1625)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
2023-02-22 23:34:20 +01:00
..
account_credit_types.sql Bug 24603: (follow-up) Update to double entry accounting 2020-11-10 15:00:14 +01:00
account_debit_types.sql Bug 27971: Update void method to use double entry accounting 2021-04-23 11:58:49 +02:00
audio_alerts.sql Bug 23895: Move installer file into the mandatory directory 2020-10-14 14:50:07 +02:00
auth_val_cat.sql Bug 27947: Add authorised values list in article requests cancellation 2021-10-06 10:09:25 +02:00
keyboard_shortcuts.sql Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
message_transport_types.sql Bug 25334: Add generic 'phone' message transport type 2020-11-05 15:24:20 +01:00
sample_notices_message_attributes.sql Bug 29586: Fix typos in installer files 2021-12-22 13:15:21 +00:00
sample_notices_message_transports.sql Bug 29586: Fix typos in installer files 2021-12-22 13:15:21 +00:00
subtag_registry.sql Bug 15067: (QA follow-up) Ensure update is idempotent 2021-08-04 14:06:43 +02:00
sysprefs.sql Bug 29792: [21.11.x] Automatically send wrong transfers 2023-02-22 23:34:20 +01:00
userflags.sql Bug 23895: Move installer file into the mandatory directory 2020-10-14 14:50:07 +02:00
userpermissions.sql Bug 14957: (QA follow-up) Rename 'merge' => 'overlay' 2021-10-26 16:46:02 +02:00