X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/f9676efea9ccfa01df2a57dca9c45cc8fde0d09e..46f9d91b44c432aa017f44b6b2f53114e190428e:/SL/DB/Inventory.pm 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;