Rose-Modell f. Buchungsgruppen: Relation zu Chart für inventory_account korrigiert.
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Wed, 18 Dec 2013 11:21:30 +0000 (12:21 +0100)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Wed, 18 Dec 2013 11:21:30 +0000 (12:21 +0100)
SL/DB/Buchungsgruppe.pm

index 1045ac1..5f4d831 100644 (file)
@@ -9,7 +9,7 @@ __PACKAGE__->meta->add_relationship(
   inventory_account => {
     type          => 'many to one',
     class         => 'SL::DB::Chart',
-    column_map    => { income_accno_id_0 => 'id' },
+    column_map    => { inventory_accno_id => 'id' },
   },
   income_account_0 => {
     type         => 'many to one',