Inventory: alias parts -> part
[kivitendo-erp.git] / SL / DB / Inventory.pm
index 98d505d..42238dd 100644 (file)
@@ -10,4 +10,9 @@ use SL::DB::MetaSetup::Inventory;
 # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
 __PACKAGE__->meta->make_manager_class;
 
+# part accessor is badly named
+sub part {
+  goto &parts;
+}
+
 1;