Koha/installer/data/mysql/mandatory
Katrin Fischer 9c4cd7380e
Bug 33664: Add ability to cancel order lines in closed baskets
At the moment it's only possible to cancel order lines while the
basket is still open or from the pending orders page during processing
a shipment. The latter requires you to add a shipment and fake an
invoice. To make things easier we want to optionally allow cancelling
order lines in closed baskets from the basket summary page.

Before applying the patch:

1) Set up data
* Create a new basket
* Create a few order lines, at least 3
* Close the basket
* Receive shipment and receive one order line

2) Verify current behaviour
* On basket summary page: you cannot cancel while the basket is closed
* On the pending orders page you can cancel

Apply patch, run database update, restart_all

3) Verify new behaviour
* Verify that nothing has changed on pending orders and basket summary
* Switch new system preference CancelOrdersInClosedBaskets to "Allow"
* Verify that pending orders hasn't changed a bit
* Verify that you now can cancel your order lines in the closed basket
  Exception: the received order line should not be cancellable

Test anything else that you think might make sense ;)

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-11-01 17:23:12 -03:00
..
audio_alerts.sql
auth_val_cat.sql Bug 34587: Copy authorised value categories and authorised values to new installs 2023-10-31 16:46:05 -03:00
keyboard_shortcuts.sql
message_transport_types.sql
sample_notices_message_attributes.sql
sample_notices_message_transports.sql Bug 8838: Add digest option for HOLD notice 2023-10-25 11:07:48 -03:00
subtag_registry.sql Bug 33128: Add Polish translations for language descriptions 2023-04-24 10:43:45 -03:00
sysprefs.sql Bug 33664: Add ability to cancel order lines in closed baskets 2023-11-01 17:23:12 -03:00
userflags.sql Bug 30708: DB changes 2023-10-18 15:41:41 -03:00
userpermissions.sql Bug 34844: Add manage_item_editor_templates to userpermissions.sql 2023-09-22 10:52:44 -03:00