X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FInventory.pm;h=a463db5c632eec15592efc159015d141ee2c5f05;hb=0b36b2259c1300ee5360a9c8d5aee1f321abd364;hp=98d505d703dbedcad8ea5fbdeddc959a417f4fa1;hpb=f97b07787db5cacc0f90338fdb3c1237262917cb;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;