From 6eb3c86cbd7db10eb568d2b4bb59739acdd7eb78 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 Signed-off-by: Martin Renvoize --- 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.39.5