From: G. Richardson Date: Wed, 11 Apr 2018 09:01:59 +0000 (+0200) Subject: Dev create_sales_invoice - type ist invoice X-Git-Tag: release-3.5.4~423 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d3e504378e060ef31798ba969f52c21d04430972;p=kivitendo-erp.git Dev create_sales_invoice - type ist invoice --- diff --git a/SL/Dev/Record.pm b/SL/Dev/Record.pm index f98283cea..8b7d6a717 100644 --- a/SL/Dev/Record.pm +++ b/SL/Dev/Record.pm @@ -34,7 +34,7 @@ sub create_sales_invoice { my $invoice = SL::DB::Invoice->new( invoice => 1, - type => 'sales_invoice', + type => 'invoice', customer_id => $customer->id, taxzone_id => $customer->taxzone->id, invnumber => delete $params{invnumber} // undef,