projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ffc7ab
)
Inventory: alias parts -> part
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 1 Nov 2010 10:56:14 +0000
(11:56 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 27 Oct 2011 14:26:47 +0000
(16:26 +0200)
Rose legt den parts accessor automatisch an, weil die Datenbankspalte parts_id
heisst, part ist aber sinnvoller.
SL/DB/Inventory.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Inventory.pm
b/SL/DB/Inventory.pm
index
98d505d
..
42238dd
100644
(file)
--- a/
SL/DB/Inventory.pm
+++ b/
SL/DB/Inventory.pm
@@
-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;