Bug 21385: Define the Koha object class for orders

It fixes the following issue:
t/db_dependent/Acquisition/GetBasketsInfosByBookseller.t .. 1/40 Can't
locate object method "_new_from_dbic" via package "Koha::Aqorder"
(perhaps you forgot to load "Koha::Aqorder"?) at
/home/vagrant/kohaclone/Koha/Object.pm line 230.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit b3dee0daf2)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2018-10-01 11:38:04 -03:00 committed by Martin Renvoize
parent 261e30f3e4
commit 78ffca5f32
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 6 additions and 1 deletions

View File

@ -628,6 +628,11 @@ __PACKAGE__->many_to_many("borrowernumbers", "aqorder_users", "borrowernumber");
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:K0GnMGYtZUQ1WCesHKIxHw
sub koha_objects_class {
'Koha::Acquisition::Orders';
}
sub koha_object_class {
'Koha::Acquisition::Order';
}
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;