From the mailing list https://lists.katipo.co.nz/pipermail/koha/2020-January/054224.html Impact 19.11.02 and master. When trying to checkout items, after choosing a patron by name, the following page ( https://seattle-intra.theosophicallibrary.org/cgi-bin/koha/circ/circulation.pl?borrowernumber=XX) returns: Software error: Can't locate object method "search" via package "Koha::Account::DebitTypes" (perhaps you forgot to load "Koha::Account::DebitTypes"?) at /usr/share/koha/lib/Koha/Account.pm line 674.
Created attachment 98142 [details] [review] Bug 24542: (bug 23049 follow-up) Add missing use statement in Koha::Account Fix the following error when an item is checked out and that ManInvInNoissuesCharge is turned off: Can't locate object method "search" via package "Koha::Account::DebitTypes" Test plan: 0/ Turn off ManInvInNoissuesCharge 1/ Check an item out
Created attachment 98144 [details] [review] Bug 24542: (bug 23049 follow-up) Add missing use statement in Koha::Account Fix the following error when an item is checked out and that ManInvInNoissuesCharge is turned off: Can't locate object method "search" via package "Koha::Account::DebitTypes" Test plan: 0/ Turn off ManInvInNoissuesCharge 1/ Check an item out Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Yikes, going straight for a QA on this one.. very trivial patch.
Nice work everyone! Pushed to master for 20.05
Pushed to 19.11.x branch for 19.11.03