X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1e9c6bbda03592fd52981795b4d2cd4c0d82e1bd..762f348476e09df5619fa11d7ec070209cb843f4:/SL/Controller/Order.pm diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index f6a731a9f..8023aa2b9 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -783,6 +783,8 @@ sub _make_item { $item->assign_attributes(%$attr); $item->longdescription($item->part->notes) if $is_new && !defined $attr->{longdescription}; + # item fields that currently can't be set in in row but are needed: + $item->lastcost($item->part->lastcost); return $item; }