From: Jan Büren Date: Mon, 26 Jul 2021 11:04:30 +0000 (+0200) Subject: Mandantenkonfiguration: transfer_default_warehouse_for_assembly entfernt X-Git-Tag: kivitendo-mebil_0.1-0~9^2~25 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e47fdf34451bb7c091b29144e041532c4960718a;p=kivitendo-erp.git Mandantenkonfiguration: transfer_default_warehouse_for_assembly entfernt S.a. UPGRADE --- diff --git a/SL/DB/MetaSetup/Default.pm b/SL/DB/MetaSetup/Default.pm index a956da55b..b4091917a 100644 --- a/SL/DB/MetaSetup/Default.pm +++ b/SL/DB/MetaSetup/Default.pm @@ -179,7 +179,6 @@ __PACKAGE__->meta->columns( transfer_default_ignore_onhand => { type => 'boolean', default => 'false' }, transfer_default_services => { type => 'boolean', default => 'true' }, transfer_default_use_master_default_bin => { type => 'boolean', default => 'false' }, - transfer_default_warehouse_for_assembly => { type => 'boolean', default => 'false' }, transport_cost_reminder_article_number_id => { type => 'integer' }, undo_transfer_interval => { type => 'integer', default => 7 }, vc_greetings_use_textfield => { type => 'boolean' }, diff --git a/SL/WH.pm b/SL/WH.pm index f1b950075..69874ceeb 100644 --- a/SL/WH.pm +++ b/SL/WH.pm @@ -1185,26 +1185,6 @@ as the specific reason. The method is transaction safe, in case of errors not a single entry will be made in inventory. -Two prerequisites can be changed with these global parameters - -=over 2 - -=item $::instance_conf->get_transfer_default_warehouse_for_assembly - - If trueish we try to get all the items form the default bins defined in parts - and do not try to find them in the destination warehouse. Returns an - error if not all items have set a default bin in parts. - -=item $::instance_conf->get_bin_id_ignore_onhand - - If trueish we can create assemblies even if we do not have enough items in stock. - The needed qty will be booked in a special bin, which has to be configured in - the client config. - -=back - - - =head1 BUGS diff --git a/doc/UPGRADE b/doc/UPGRADE index a1cf9b437..e72c699ed 100644 --- a/doc/UPGRADE +++ b/doc/UPGRADE @@ -3,6 +3,18 @@ Wichtige Hinweise zum Upgrade von älteren Versionen ** BITTE FERTIGEN SIE VOR DEM UPGRADE EIN BACKUP IHRER DATENBANK(EN) AN! ** +Upgrade auf v3.5.8 + +Die API für 'Erzeugnis fertigen' wurde geändert: +Die Einstellung der Mandantenkonfiguration für 'Zum Fertigen wird das Standardlager +des Bestandteils verwendet, nicht das Ziellager' hat keine Auswirkung mehr. +Falls dieser Wert auf 'Nein' steht funktioniert das Verfahren wie vorher auch. +Falls dieser Wert auf 'Ja' steht, muss geprüft werden, ob das Verfahren noch so +benötigt wird. +Alternativ kann 'Erzeugnis fertigen' ab dieser Version auch Erzeugnisbestandteile aus +fremden Lagern (nicht das Ziellager) nehmen. Dies sollte i.d.R. den Prozeß abbilden können. + + Upgrade auf v3.5.7 * Neue Perl Abhängigkeiten: diff --git a/sql/Pg-upgrade2/delete_warehouse_for_assembly.sql b/sql/Pg-upgrade2/delete_warehouse_for_assembly.sql new file mode 100644 index 000000000..f0be3a993 --- /dev/null +++ b/sql/Pg-upgrade2/delete_warehouse_for_assembly.sql @@ -0,0 +1,4 @@ +-- @tag: delete_warehouse_for_assembly +-- @description: Entfernen von: Konfigurations-Option für das Fertigen von Erzeugnissen aus dem Standardlager +-- @depends: release_3_5_7 +ALTER TABLE defaults DROP column transfer_default_warehouse_for_assembly; diff --git a/templates/webpages/client_config/_warehouse.html b/templates/webpages/client_config/_warehouse.html index 4073c60d8..60199fc7e 100644 --- a/templates/webpages/client_config/_warehouse.html +++ b/templates/webpages/client_config/_warehouse.html @@ -130,16 +130,6 @@ [% LxERP.t8('Produce assembly consumes services if assigned as a assembly item') %] - - [% LxERP.t8('Use default warehouse for assembly transfer') %] - - [% L.yes_no_tag('defaults.transfer_default_warehouse_for_assembly', SELF.defaults.transfer_default_warehouse_for_assembly) %] - - - [% LxERP.t8('Transfer of assemblies uses the assembly\'s default warehouse instead of the destination warehouse.') %]
- - - [% LxERP.t8("Services in Delivery Orders") %] [% LxERP.t8('Sales Orders Services are deliverable') %]