From: Werner Hahn Date: Mon, 25 Sep 2017 10:01:25 +0000 (+0200) Subject: WebshopApi: Part prices relationship - pricegroup mit laden X-Git-Tag: release-3.5.4~797 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=266b388921a9d50b0d4c44b0f7d12245a86723e4;p=kivitendo-erp.git WebshopApi: Part prices relationship - pricegroup mit laden --- diff --git a/SL/DB/Part.pm b/SL/DB/Part.pm index c2cb641ae..6ce6ed5b7 100644 --- 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',