Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6bc68098

Von Werner Hahn vor mehr als 1 Jahr hinzugefügt

  • ID 6bc680985282df07818d2656be11dc6c2c710484
  • Vorgänger 0a7ed2ee
  • Nachfolger dac97490

Fix für #531 Link im Lagerbuchungbericht für RMA (Retouren) Lieferscheine und Beistelllieferscheine

Unterschiede anzeigen:

bin/mozilla/wh.pl
728 728
                                       'data'           => \@contents);
729 729

  
730 730

  
731
  my %doc_types = ( 'sales_quotation'         => { script => 'oe', title => $locale->text('Sales quotation') },
732
                    'sales_order'             => { script => 'oe', title => $locale->text('Sales Order') },
733
                    'request_quotation'       => { script => 'oe', title => $locale->text('Request quotation') },
734
                    'purchase_order'          => { script => 'oe', title => $locale->text('Purchase Order') },
735
                    'sales_delivery_order'    => { script => 'do', title => $locale->text('Sales delivery order') },
736
                    'purchase_delivery_order' => { script => 'do', title => $locale->text('Purchase delivery order') },
737
                    'sales_invoice'           => { script => 'is', title => $locale->text('Sales Invoice') },
738
                    'purchase_invoice'        => { script => 'ir', title => $locale->text('Purchase Invoice') },
731
  my %doc_types = ( 'sales_quotation'         => { action => 'edit', script => 'oe', title => $locale->text('Sales quotation') },
732
                    'sales_order'             => { action => 'edit', script => 'oe', title => $locale->text('Sales Order') },
733
                    'request_quotation'       => { action => 'edit', script => 'oe', title => $locale->text('Request quotation') },
734
                    'purchase_order'          => { action => 'edit', script => 'oe', title => $locale->text('Purchase Order') },
735
                    'sales_delivery_order'    => { action => 'edit', script => 'do', title => $locale->text('Sales delivery order') },
736
                    'purchase_delivery_order' => { action => 'edit', script => 'do', title => $locale->text('Purchase delivery order') },
737
                    'supplier_delivery_order' => { action => 'DeliveryOrder/edit', script => 'controller', title => $locale->text('Supplier delivery order') },
738
                    'rma_delivery_order'      => { action => 'DeliveryOrder/edit', script => 'controller', title => $locale->text('RMA delivery order') },
739
                    'sales_invoice'           => { action => 'edit', script => 'is', title => $locale->text('Sales Invoice') },
740
                    'purchase_invoice'        => { action => 'edit', script => 'ir', title => $locale->text('Purchase Invoice') },
739 741
                  );
740 742

  
741 743
  my $idx       = 0;
......
768 770

  
769 771
      if ($info && $info->{id} && $info->{type} && $doc_types{$info->{type}}) {
770 772
        $row->{oe_id} = { data => $doc_types{ $info->{type} }->{title} . ' ' . $info->{number},
771
                          link => build_std_url('script=' . $doc_types{ $info->{type} }->{script} . '.pl', 'action=edit', 'id=' . $info->{id}, 'type=' . $info->{type}) };
773
                          link => build_std_url('script=' . $doc_types{ $info->{type} }->{script} . '.pl', 'action=' . $doc_types{ $info->{type} }->{action}, 'id=' . $info->{id}, 'type=' . $info->{type}) };
772 774
      }
773 775
    }
774 776

  

Auch abrufbar als: Unified diff