Bug 21065: Add koha_object(s)_class methods to accountline
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 14 Dec 2018 15:48:09 +0000 (12:48 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 20 Dec 2018 09:29:24 +0000 (09:29 +0000)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 457e560a06e00d861ec88bc7354969aac7ab9099)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Koha/Schema/Result/Accountline.pm

index ab6d841..2545995 100644 (file)
@@ -239,4 +239,11 @@ __PACKAGE__->belongs_to(
 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-16 17:00:24
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pygYYKxFDRLX97PyeUeLvg
 
+sub koha_objects_class {
+    'Koha::Account::Lines';
+}
+sub koha_object_class {
+    'Koha::Account::Line';
+}
+
 1;