Bug 32161: (bug 32030 follow-up) Fix koha_object[s]_class for ErmEholdingsPackagesAgreement

Test plan:
run t/db_dependent/TestBuilder.t and confirm that the error related to
this module is gone. Another one may still fail however

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2022-11-10 07:36:19 +01:00 committed by Tomas Cohen Arazi
parent 9d68cae0d2
commit 8b4ea0beaa
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -99,10 +99,10 @@ __PACKAGE__->belongs_to(
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3nCckFzWVD8oZCG6eoljxw # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3nCckFzWVD8oZCG6eoljxw
sub koha_object_class { sub koha_object_class {
'Koha::ERM::Package::Agreement'; 'Koha::ERM::EHoldings::Package::Agreement';
} }
sub koha_objects_class { sub koha_objects_class {
'Koha::ERM::Package::Agreements'; 'Koha::ERM::EHoldings::Package::Agreements';
} }
1; 1;