projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Temporäre Menüpunkte für neuen CSV-Import
[kivitendo-erp.git]
/
SL
/
DB
/
Part.pm
diff --git
a/SL/DB/Part.pm
b/SL/DB/Part.pm
index
8ec7b3b
..
fd55e02
100644
(file)
--- a/
SL/DB/Part.pm
+++ b/
SL/DB/Part.pm
@@
-31,6
+31,11
@@
__PACKAGE__->meta->add_relationships(
class => 'SL::DB::PriceFactor',
column_map => { price_factor_id => 'id' },
},
+ prices => {
+ type => 'one to many',
+ class => 'SL::DB::Price',
+ column_map => { id => 'parts_id' },
+ },
);
__PACKAGE__->meta->initialize;