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:
23cfb53
)
WebshopApi: Part prices relationship - pricegroup mit laden
author
Werner Hahn
<wh@futureworldsearch.net>
Mon, 25 Sep 2017 10:01:25 +0000
(12:01 +0200)
committer
Werner Hahn
<wh@futureworldsearch.net>
Tue, 26 Sep 2017 10:25:02 +0000
(12:25 +0200)
SL/DB/Part.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Part.pm
b/SL/DB/Part.pm
index
c2cb641
..
6ce6ed5
100644
(file)
--- a/
SL/DB/Part.pm
+++ b/
SL/DB/Part.pm
@@
-29,6
+29,7
@@
__PACKAGE__->meta->add_relationships(
type => 'one to many',
class => 'SL::DB::Price',
column_map => { id => 'parts_id' },
+ manager_args => { with_objects => [ 'pricegroup' ] }
},
makemodels => {
type => 'one to many',