From 455a996a102b619ce323086bc684ca1cc51176ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Mon, 20 Sep 2021 11:36:56 +0200 Subject: [PATCH] =?utf8?q?Workflow=20Lieferschein->Rechnung:=20Bearbeiter?= =?utf8?q?=20ist=20aktueller=20Benutzer=20=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit … und nicht der des vorherigen Belegs. --- bin/mozilla/do.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index 6adf190ea..412ed716f 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -1045,6 +1045,8 @@ sub invoice { $main::auth->assert($form->{type} eq 'purchase_delivery_order' ? 'vendor_invoice_edit' : 'invoice_edit'); + $form->get_employee(); + $form->{convert_from_do_ids} = $form->{id}; # if we have a reqdate (Liefertermin), this is definetely the preferred # deliverydate for invoices -- 2.20.1