X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FInventory.pm;h=a463db5c632eec15592efc159015d141ee2c5f05;hb=4c8c615a3268dc328f748cc8efe20fc2dc6cb8c5;hp=98d505d703dbedcad8ea5fbdeddc959a417f4fa1;hpb=6cf3f7762efd40bee49a2b8f11bb4ab6915d9071;p=kivitendo-erp.git diff --git a/SL/DB/Inventory.pm b/SL/DB/Inventory.pm index 98d505d70..a463db5c6 100644 --- a/SL/DB/Inventory.pm +++ b/SL/DB/Inventory.pm @@ -6,8 +6,13 @@ package SL::DB::Inventory; use strict; use SL::DB::MetaSetup::Inventory; +use SL::DB::Manager::Inventory; -# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. -__PACKAGE__->meta->make_manager_class; +__PACKAGE__->meta->initialize; + +# part accessor is badly named +sub part { + goto &parts; +} 1;