Revision a6a4f786
Von Tamino Steinert vor 11 Monaten hinzugefügt
scripts/import_variant_csv.pl | ||
---|---|---|
30 | 30 |
use SL::Locale; |
31 | 31 |
|
32 | 32 |
use SL::Helper::Csv; |
33 |
use SL::Helper::Inventory qw(get_stock); |
|
34 |
|
|
33 | 35 |
use SL::DB::Part; |
34 | 36 |
use SL::DB::PartsGroup; |
35 | 37 |
use SL::DB::VariantProperty; |
... | ... | |
440 | 442 |
unit => 'Stck', |
441 | 443 |
); |
442 | 444 |
|
443 |
unless (scalar $parent_variant->makemodels) {
|
|
445 |
unless (scalar @{$parent_variant->makemodels}) {
|
|
444 | 446 |
# add makemodel |
445 | 447 |
my $makemodel = SL::DB::MakeModel->new( |
446 | 448 |
make => $vendor->id, |
Auch abrufbar als: Unified diff
kuw: FIX: CSV-Import-Script: Lieferanten zum Artikel hinzufügen