PriceSource: Einkaufsrechnungen brauchen einen Typ
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 14 Oct 2014 13:43:38 +0000 (15:43 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 18 Dec 2014 15:18:22 +0000 (16:18 +0100)
bin/mozilla/ir.pl

index bf752b7..d982e7c 100644 (file)
@@ -207,6 +207,8 @@ sub prepare_invoice {
 
   $main::auth->assert('vendor_invoice_edit');
 
+  $form->{type}     = "purchase_invoice";
+
   if ($form->{id}) {
 
     map { $form->{$_} =~ s/\"/&quot;/g } qw(invnumber ordnumber quonumber);