Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a35dff68

Von Martin Helmling martin.helmling@octosoft.eu vor fast 7 Jahren hinzugefügt

  • ID a35dff68bbc0611fd2ec62579c3894e52e70272d
  • Vorgänger 1811499a
  • Nachfolger 24bb9ded

Anlegen von default Verzeichnis für Dateimanagement

Das default Verzeichnis 'documents' wird nun automatisch angelegt.

Ein extra Hinweis in der Mandantenconfig weist darauf hin, dass es pro Mandant unterschiedliche Verzeichnisse geben muss

behebt #525 (redmine)

Unterschiede anzeigen:

locale/de/all
3241 3241
  'This is the client to be selected by default on the login screen.' => 'Dies ist derjenige Mandant, der im Loginbildschirm standardmäßig ausgewählt sein wird.',
3242 3242
  'This is the default bin for parts' => 'Standard-Lagerplatz für Stammdaten/Waren',
3243 3243
  'This is the default warehouse for ignoring onhand' => 'Standardlager für Auslagern ohne Prüfung auf Bestand.',
3244
  'This is the root directory for the File storage backend, must be writable for webserver. If you have more than one client you need another direcctory. All other directories must be created by hand and reachable from the webserver' => '',
3244
  'This is the root directory for the File storage backend, must be writable for webserver. If you have more than one client you need another direcctory. All other directories must be created by hand and reachable from the webserver' => 'Dies ist das Wurzelverzeichnis für das Datei-Backend. Haben Sie mehr als einen Mandanten, so muss pro Mandant ein anderes Verzeichnis eingetragen sein. Dies ist von Hand anzulegen. Alle Verzeichnisse müssen für den Webserver schreibbar sein. 
3245
',
3245 3246
  'This list is capped at 15 items to keep it fast. If you need a full list, please use reports.' => 'Diese Liste ist auf 15 Zeilen begrenzt. Wenn Sie eine vollständige Liste benötigen, erstellen Sie bitte einen Bericht.',
3246 3247
  'This makemodel price does not exist anymore' => 'Dieser Lieferantenpreis existiert nicht mehr',
3247 3248
  'This means that the user has created an AP transaction and chosen a taxkey for sales taxes, or that he has created an AR transaction and chosen a taxkey for input taxes.' => 'Das bedeutet, dass ein Benutzer eine Kreditorenbuchung angelegt und in ihr einen Umsatzsteuer-Steuerschlüssel verwendet oder eine Debitorenbuchung mit Vorsteuer-Steuerschlüssel angelegt hat.',
sql/Pg-upgrade2/filemanagement_filesystem.pl
1
# @tag: filemanagement_filesystem
2
# @description: add  directory for filemanagment
3
# @depends: filemanagement_feature
4
package SL::DBUpgrade2::filemanagement_filesystem;
5

  
6
use strict;
7
use utf8;
8
use File::Path qw(make_path);
9

  
10
use parent qw(SL::DBUpgrade2::Base);
11

  
12
sub run {
13
  my ($self) = @_;
14

  
15
  my $directory = $::instance_conf->get_doc_files_rootpath;
16

  
17
  if ( $directory && !-d $directory ) {
18
    mkdir $directory;
19
    if (! -d $directory) {
20
      return 0;
21
    }
22
  }
23
  return 1;
24
}
25

  
26
1;
templates/webpages/client_config/_features.html
78 78
  <tr>
79 79
   <td align="right">[% LxERP.t8('Root path for file storage') %]</td>
80 80
   <td>[% L.input_tag('defaults.doc_files_rootpath',SELF.defaults.doc_files_rootpath, style=style, onchange="verifyRootPath(this);") %]</td>
81
   <td>[% LxERP.t8('This is the root directory for the File storage backend, must be writable for webserver') %]</td>
81
   <td>[% LxERP.t8('This is the root directory for the File storage backend, must be writable for webserver. If you have more than one client you need another direcctory. All other directories must be created by hand and reachable from the webserver') %]</td>
82 82
  </tr>
83 83
  <tr>
84 84
   <td align="right">[% LxERP.t8('WebDAV') %]</td>

Auch abrufbar als: Unified diff