projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sortindicator für SellPriceInformation
[kivitendo-erp.git]
/
SL
/
DB
/
DeliveryOrderItem.pm
diff --git
a/SL/DB/DeliveryOrderItem.pm
b/SL/DB/DeliveryOrderItem.pm
index
873c0a4
..
d50a63f
100644
(file)
--- a/
SL/DB/DeliveryOrderItem.pm
+++ b/
SL/DB/DeliveryOrderItem.pm
@@
-12,14
+12,16
@@
use SL::DB::Helper::CustomVariables (
);
__PACKAGE__->meta->make_manager_class;
);
__PACKAGE__->meta->make_manager_class;
+__PACKAGE__->meta->add_relationship(
+ unit_obj => {
+ type => 'many to one',
+ class => 'SL::DB::Unit',
+ column_map => { unit => 'name' },
+ },
+);
__PACKAGE__->meta->initialize;
# methods
__PACKAGE__->meta->initialize;
# methods
-sub part {
- # canonial alias for parts.
- return shift->parts;
-}
-
1;
1;