projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git@lx-office.linet-services.de:lx-office-erp
[kivitendo-erp.git]
/
SL
/
DB
/
DeliveryOrder.pm
diff --git
a/SL/DB/DeliveryOrder.pm
b/SL/DB/DeliveryOrder.pm
index
724a01d
..
b65bf3e
100644
(file)
--- a/
SL/DB/DeliveryOrder.pm
+++ b/
SL/DB/DeliveryOrder.pm
@@
-15,6
+15,14
@@
__PACKAGE__->meta->add_relationship(orderitems => { type => 'one to many
column_map => { id => 'trans_id' },
manager_args => { with_objects => [ 'part' ] }
},
column_map => { id => 'trans_id' },
manager_args => { with_objects => [ 'part' ] }
},
+ shipto => { type => 'one to one',
+ class => 'SL::DB::Shipto',
+ column_map => { shipto_id => 'shipto_id' },
+ },
+ department => { type => 'one to one',
+ class => 'SL::DB::Department',
+ column_map => { department_id => 'id' },
+ },
);
__PACKAGE__->meta->initialize;
);
__PACKAGE__->meta->initialize;