From 2d5e17071fb6873184906d2f50d7441cbacc81a3 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 20 Sep 2019 15:50:14 -0300 Subject: [PATCH] Bug 23321: Add Koha::Object(s) info to the schema Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/CashRegister.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Koha/Schema/Result/CashRegister.pm b/Koha/Schema/Result/CashRegister.pm index 88230e60f8..90ba81d00d 100644 --- a/Koha/Schema/Result/CashRegister.pm +++ b/Koha/Schema/Result/CashRegister.pm @@ -153,5 +153,13 @@ __PACKAGE__->add_columns( '+branch_default' => { is_boolean => 1 }, ); +sub koha_objects_class { + 'Koha::Cash::Registers'; +} + +sub koha_object_class { + 'Koha::Cash::Register'; +} + # You can replace this text with custom code or comments, and it will be preserved on regeneration 1; -- 2.23.0