Merge branch 'master' of github.com:kivitendo/kivitendo-erp
authorJan Büren <jan@kivitendo-premium.de>
Thu, 30 May 2013 11:38:24 +0000 (13:38 +0200)
committerJan Büren <jan@kivitendo-premium.de>
Thu, 30 May 2013 11:38:24 +0000 (13:38 +0200)
Conflicts:
SL/DB/MetaSetup/Default.pm
locale/de/all

1  2 
SL/AM.pm
SL/DB/MetaSetup/Default.pm
SL/DO.pm
SL/IR.pm
SL/IS.pm
SL/InstanceConfiguration.pm
SL/OE.pm
bin/mozilla/ic.pl
locale/de/all

diff --cc SL/AM.pm
Simple merge
@@@ -68,21 -67,17 +67,28 @@@ __PACKAGE__->meta->setup
      ar_show_mark_as_paid                => { type => 'boolean', default => 'true' },
      ap_show_mark_as_paid                => { type => 'boolean', default => 'true' },
      assemblynumber                      => { type => 'text' },
 +    warehouse_id                        => { type => 'integer' },
 +    bin_id                              => { type => 'integer' },
+     currency_id                         => { type => 'integer', not_null => 1 },
    ],
  
    primary_key_columns => [ 'id' ],
  
+   allow_inline_column_values => 1,
    foreign_keys => [
 +    bin => {
 +      class       => 'SL::DB::Bin',
 +      key_columns => { bin_id => 'id' },
 +    },
 +
 +    warehouse => {
 +      class       => 'SL::DB::Warehouse',
 +      key_columns => { warehouse_id => 'id' },
++
+     currency => {
+       class       => 'SL::DB::Currency',
+       key_columns => { currency_id => 'id' },
      },
    ],
  );
diff --cc SL/DO.pm
Simple merge
diff --cc SL/IR.pm
Simple merge
diff --cc SL/IS.pm
Simple merge
Simple merge
diff --cc SL/OE.pm
Simple merge
Simple merge
diff --cc locale/de/all
@@@ -613,10 -608,10 +616,13 @@@ $self->{texts} = 
    'Decrease'                    => 'Verringern',
    'Default (no language selected)' => 'Standard (keine Sprache ausgewählt)',
    'Default Accounts'            => 'Standardkonten',
 +  'Default Bin'                 => 'Standard-Lagerplatz',
 +  'Default Customer/Vendor Language' => 'Standard-Kunden-/Lieferantensprache',
 +  'Default Warehouse'           => 'Standard-Lager',
+   'Default Customer/Vendor Language' => 'Standard-Kunden-/Lieferantensprache',
    'Default buchungsgruppe'      => 'Standardbuchungsgruppe',
+   'Default currency'            => 'Standardwährung',
+   'Default currency missing!'   => 'Standardwährung fehlt!',
    'Default output medium'       => 'Standardausgabekanal',
    'Default printer'             => 'Standarddrucker',
    'Default template format'     => 'Standardvorlagenformat',