From c653b98f17446bf3dab478e5361b1bc6df822e61 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 14 Oct 2014 15:43:38 +0200 Subject: [PATCH] PriceSource: Einkaufsrechnungen brauchen einen Typ --- bin/mozilla/ir.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index bf752b764..d982e7c2b 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -207,6 +207,8 @@ sub prepare_invoice { $main::auth->assert('vendor_invoice_edit'); + $form->{type} = "purchase_invoice"; + if ($form->{id}) { map { $form->{$_} =~ s/\"/"/g } qw(invnumber ordnumber quonumber); -- 2.20.1