Revision 370d43e2
Von Kivitendo Admin vor mehr als 8 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
|
||
$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;
|
||
}
|
Auch abrufbar als: Unified diff
Order Controller - lastcost von Positionen mit speichern
ansonsten ist die Margenberechnung im Verkaufsbericht falsch (lastcost
ist immer 0). Siehe Ticket #201