From 4335e35f0ca5f65b340ef783bcd7d197af40e6d9 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 14 Dec 2018 12:48:09 -0300 Subject: [PATCH] Bug 21065: Add koha_object(s)_class methods to accountline Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens (cherry picked from commit 457e560a06e00d861ec88bc7354969aac7ab9099) Signed-off-by: Martin Renvoize (cherry picked from commit f899e440146baadc6e268d00ef9188de8963af19) Conflicts: Koha/Schema/Result/Accountline.pm Signed-off-by: Lucas Gass --- Koha/Schema/Result/Accountline.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Koha/Schema/Result/Accountline.pm b/Koha/Schema/Result/Accountline.pm index 378c14a08e..3f83e1a750 100644 --- a/Koha/Schema/Result/Accountline.pm +++ b/Koha/Schema/Result/Accountline.pm @@ -240,5 +240,11 @@ __PACKAGE__->belongs_to( # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pygYYKxFDRLX97PyeUeLvg -# You can replace this text with custom content, and it will be preserved on regeneration +sub koha_objects_class { + 'Koha::Account::Lines'; +} +sub koha_object_class { + 'Koha::Account::Line'; +} + 1; -- 2.39.5