projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
invoice_type, displayable_type und displayable_name für ap
[kivitendo-erp.git]
/
SL
/
DB
/
DeliveryOrderItem.pm
diff --git
a/SL/DB/DeliveryOrderItem.pm
b/SL/DB/DeliveryOrderItem.pm
index
873c0a4
..
ba2c2e0
100644
(file)
--- a/
SL/DB/DeliveryOrderItem.pm
+++ b/
SL/DB/DeliveryOrderItem.pm
@@
-3,11
+3,17
@@
package SL::DB::DeliveryOrderItem;
use strict;
use SL::DB::MetaSetup::DeliveryOrderItem;
use strict;
use SL::DB::MetaSetup::DeliveryOrderItem;
+use SL::DB::Helper::ActsAsList;
+use SL::DB::Helper::LinkedRecords;
+use SL::DB::Helper::RecordItem;
use SL::DB::Helper::CustomVariables (
use SL::DB::Helper::CustomVariables (
- sub_module => 'delivery_order_item',
+ sub_module => 'delivery_order_item
s
',
cvars_alias => 1,
overloads => {
cvars_alias => 1,
overloads => {
- parts_id => 'SL::DB::Part',
+ parts_id => {
+ class => 'SL::DB::Part',
+ module => 'IC',
+ }
},
);
},
);
@@
-15,11
+21,10
@@
__PACKAGE__->meta->make_manager_class;
__PACKAGE__->meta->initialize;
__PACKAGE__->meta->initialize;
+__PACKAGE__->configure_acts_as_list(group_by => [qw(delivery_order_id)]);
+
# methods
# methods
-sub part {
- # canonial alias for parts.
- return shift->parts;
-}
+sub record { goto &delivery_order }
1;
1;