From 5d154bd1325cd3bafbb2382ee42f5c2b9c3d4b78 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 23 Jan 2008 14:25:48 +0000 Subject: [PATCH] =?utf8?q?Der=20Transfertyp=20"verschickt"=20wird=20bei=20?= =?utf8?q?Lieferscheinen=20ben=C3=B6tigt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/wh.pl | 1 + locale/de/all | 1 + locale/de/wh | 1 + sql/Pg-upgrade2/transfer_type_shipped.sql | 4 ++++ 4 files changed, 7 insertions(+) create mode 100644 sql/Pg-upgrade2/transfer_type_shipped.sql diff --git a/bin/mozilla/wh.pl b/bin/mozilla/wh.pl index 68dcdbf9f..19f9d9893 100644 --- a/bin/mozilla/wh.pl +++ b/bin/mozilla/wh.pl @@ -58,6 +58,7 @@ require "bin/mozilla/reportgenerator.pl"; # $locale->text('found') # $locale->text('missing') # $locale->text('stock') +# $locale->text('shipped') # $locale->text('transfer') # $locale->text('used') # $locale->text('return_material') diff --git a/locale/de/all b/locale/de/all index d82c5ab42..ea0bd2ead 100644 --- a/locale/de/all +++ b/locale/de/all @@ -1711,6 +1711,7 @@ aktualisieren wollen?', 'sent to printer' => 'an Drucker geschickt', 'service units' => 'Dienstleistungseinheiten', 'service_list' => 'dienstleistungsliste', + 'shipped' => 'verschickt', 'singular first char' => 'S', 'soldtotal' => 'Verkaufte Anzahl', 'stock' => 'Einlagerung', diff --git a/locale/de/wh b/locale/de/wh index cf211894e..7df575a88 100644 --- a/locale/de/wh +++ b/locale/de/wh @@ -194,6 +194,7 @@ $self->{texts} = { 'return_material' => 'Materialrückgabe', 'sales_order' => 'Kundenauftrag', 'sales_quotation' => 'Verkaufsangebot', + 'shipped' => 'verschickt', 'stock' => 'Einlagerung', 'transfer' => 'Umlagerung', 'used' => 'Verbraucht', diff --git a/sql/Pg-upgrade2/transfer_type_shipped.sql b/sql/Pg-upgrade2/transfer_type_shipped.sql new file mode 100644 index 000000000..064527958 --- /dev/null +++ b/sql/Pg-upgrade2/transfer_type_shipped.sql @@ -0,0 +1,4 @@ +-- @tag: transfer_type_shipped +-- @description: Transfertyp "verschickt" wird benötigt. +-- @depends: warehouse +INSERT INTO transfer_type (direction, description, sortkey) VALUES ('out', 'shipped', (SELECT COALESCE(MAX(sortkey), 0) + 1 FROM transfer_type)); -- 2.20.1