X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FCsvImport%2FHelper%2FConsistency.pm;h=bf1d4c0c8bdedb0c06f4a0cdb27b83a9aca50632;hb=b4fc493375b77b6e27414fe3f7773f8b1add00fd;hp=a666e6fe58370811a61e33aeda1e5f1769db8739;hpb=0f0cb3b708f9078b774a07cecd996e5bdc5fac63;p=kivitendo-erp.git diff --git a/SL/Controller/CsvImport/Helper/Consistency.pm b/SL/Controller/CsvImport/Helper/Consistency.pm index a666e6fe5..bf1d4c0c8 100644 --- a/SL/Controller/CsvImport/Helper/Consistency.pm +++ b/SL/Controller/CsvImport/Helper/Consistency.pm @@ -34,6 +34,9 @@ sub check_currency { } $object->currency_id($currency->id); + + # register currency_id for method copying later + $self->clone_methods->{currency_id} = 1; } # Set default currency if none was given and take_default is true.