Trying to delete any currency leads to a message: "Cannot delete currency 'XYZ' This currency is used by Koha::Acquisition::Booksellers=HASH(0xec48a4c) vendors. Deletion not possible" To reproduce: - Go to Home > Administration > Currencies & Exchange rates - Add a new currency (to make sure that it is not used by any bookseller) - Try to delete currency (or any other) Result: Message above.
Created attachment 63662 [details] [review] Bug 18662: Fix currency deletion Sounds like it is caused by bug 13726. It is not possible to delete a currency, even if not used by any vendors Test plan: Try and delete currencies used or not by vendors.
Created attachment 63664 [details] [review] Bug 18662: Fix currency deletion Sounds like it is caused by bug 13726. It is not possible to delete a currency, even if not used by any vendors Test plan: Try and delete currencies used or not by vendors. Signed-off-by: Marc Véron <veron@veron.ch>
Created attachment 63699 [details] [review] Bug 18662: Fix currency deletion Sounds like it is caused by bug 13726. It is not possible to delete a currency, even if not used by any vendors Test plan: Try and delete currencies used or not by vendors. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Pushed to master for 17.05, thanks Jonathan!
Depends on bug 13726 which is not in 16.11.x.