Rechte: select_name/name_selected muss auch gehen, wenn nur das Lieferscheinrecht...
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 30 Aug 2013 09:05:39 +0000 (11:05 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 30 Aug 2013 09:05:39 +0000 (11:05 +0200)
bin/mozilla/arap.pl

index 347c152..2544986 100644 (file)
@@ -148,7 +148,7 @@ sub select_name {
   my $form     = $main::form;
   my $locale   = $main::locale;
 
-  $main::auth->assert('general_ledger         | vendor_invoice_edit  | sales_order_edit    | invoice_edit |' .
+  $main::auth->assert('general_ledger         | vendor_invoice_edit  | sales_order_edit    | invoice_edit | sales_delivery_order_edit |' .
                 'request_quotation_edit | sales_quotation_edit | purchase_order_edit | cash');
 
   my ($table) = @_;
@@ -258,7 +258,7 @@ sub name_selected {
   my $form     = $main::form;
   my %myconfig = %main::myconfig;
 
-  $main::auth->assert('general_ledger         | vendor_invoice_edit  | sales_order_edit    | invoice_edit |' .
+  $main::auth->assert('general_ledger         | vendor_invoice_edit  | sales_order_edit    | invoice_edit | sales_delivery_order_edit | ' .
                 'request_quotation_edit | sales_quotation_edit | purchase_order_edit | cash');
 
   # replace the variable with the one checked