]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Bugfix: Unit muss aus parts kommen und aus ioi überlagert werden.
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 31 Aug 2009 15:11:14 +0000 (17:11 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Mon, 31 Aug 2009 15:11:14 +0000 (17:11 +0200)
SL/IC.pm

index ab0c7913596498f1a9160addcb7919409e0440b5..d654d008b0f2ebd05bbc1322ea80fa194e1505e0 100644 (file)
--- a/SL/IC.pm
+++ b/SL/IC.pm
@@ -819,7 +819,6 @@ sub all_parts {
      'SUM(ioi.qty)' => ' ',
      description  => 'p.',
      qty          => 'ioi.',
-     unit         => 'ioi.',
      serialnumber => 'ioi.',
   );
 
@@ -831,6 +830,7 @@ sub all_parts {
     [ 'description',  'ioi.',  'invoice_oi'  ],
     [ 'deliverydate', 'ioi.',  'invoice_oi'  ],
     [ 'transdate' ,   'apoe.', 'apoe'  ],
+    [ 'unit' ,        'ioi.',  'invoice_oi'  ],
   );
 
   # careful with renames. these are HARD, and any filters done on the original column will break