From: Sven Schöling Date: Mon, 27 Dec 2010 11:37:06 +0000 (+0100) Subject: Lagerbewegungen auch für Dienstleistungen friegeben. X-Git-Tag: release-2.6.2beta1~66 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2bc081d8f636bf558b7f3eb8bb9e4e99d45e6ca1;p=kivitendo-erp.git Lagerbewegungen auch für Dienstleistungen friegeben. Fix für Bug 1383. Da sich Lagerbewegungen sowieso nicht komplett aus den Dienstleistungen raushalten ließen, und es überzeugende Argumente dafür gibt Dienstleistungen auch einlagern zu können, entfernt dieser Patch die Beschränkung, dass nur Waren eingelagert werden dürfen. --- diff --git a/bin/mozilla/wh.pl b/bin/mozilla/wh.pl index a55bf70c6..30ee32676 100644 --- a/bin/mozilla/wh.pl +++ b/bin/mozilla/wh.pl @@ -310,7 +310,7 @@ sub transfer_stock_update_part { } elsif (($form->{partnumber} && ($form->{partnumber} ne $form->{old_partnumber})) || $form->{description} || $form->{ean}) { - $form->{no_services} = 1; +# $form->{no_services} = 1; # services may now be transfered. fix for Bug 1383. $form->{no_assemblies} = 0; # assemblies duerfen eingelagert werden (z.B. bei retouren) my $parts = Common->retrieve_parts(\%myconfig, $form, 'description', 1); diff --git a/templates/webpages/ic/form_header.html b/templates/webpages/ic/form_header.html index 136be7073..1b3ea9afb 100644 --- a/templates/webpages/ic/form_header.html +++ b/templates/webpages/ic/form_header.html @@ -221,7 +221,6 @@ [%- END %] - [%- UNLESS is_service %] [% 'On Hand' | $T8 %]  [% LxERP.format_amount(onhand) %] @@ -246,7 +245,6 @@ - [%- END %] [%- IF id %] diff --git a/templates/webpages/ic/search.html b/templates/webpages/ic/search.html index 25625a5ec..df16c0b7c 100644 --- a/templates/webpages/ic/search.html +++ b/templates/webpages/ic/search.html @@ -38,9 +38,7 @@ [% 'Group' | $T8 %] - [%- UNLESS is_service %] [% 'Serial Number' | $T8 %] - [%- END %] [%- UNLESS is_service %] @@ -74,12 +72,10 @@ - [%- UNLESS is_service %] - [%- END %] @@ -169,12 +165,10 @@ - [%- UNLESS is_service %] - [%- END %] diff --git a/templates/webpages/wh/warehouse_selection.html b/templates/webpages/wh/warehouse_selection.html index afdc7a4ea..0f499b28f 100644 --- a/templates/webpages/wh/warehouse_selection.html +++ b/templates/webpages/wh/warehouse_selection.html @@ -109,7 +109,7 @@ [% 'Part Description' | $T8 %] - + diff --git a/templates/webpages/wh/warehouse_selection_stock.html b/templates/webpages/wh/warehouse_selection_stock.html index ca164a53b..4bb3c04e9 100644 --- a/templates/webpages/wh/warehouse_selection_stock.html +++ b/templates/webpages/wh/warehouse_selection_stock.html @@ -97,7 +97,7 @@ [% 'Part Description' | $T8 %] - +