Bug [0000038] Voiding a cost update doesn't void even if it says so. There will now...
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 18 Aug 2008 10:53:11 +0000 (10:53 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 18 Aug 2008 10:53:11 +0000 (10:53 +0000)
CHANGELOG.txt
admin/db/voiding_db.inc

index 3a4e7c63676c476bc3c7bac70cc1d9cddc99723b..6f47bdbc70cba12cc3bc3977a15134174149e08f 100644 (file)
@@ -19,6 +19,11 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+18-Aug-2008 Joe Hunt
+# Bug [0000038] Voiding a cost update doesn't void even if it says so. There will now be an error msg saying
+  that this can not be done. 
+$ /admin/db/voiding_db.inc
+
 18-Aug-2008 Joe Hunt
 # Bug [0000037] Price diff and deliveries between po receive and supp invoice.
 $ /purchase/includes/db/grn_db.inc
index b90194ff04103e158c27b5a87a390ea61caeac14..1b74929c967be609de6e27bdb7aacf5b953d3d2a 100644 (file)
@@ -79,6 +79,7 @@ function void_transaction($type, $type_no, $date_, $memo_)
                        break;
 
                case systypes::cost_update() : // it's a stock cost update
+                       return false;
                        break;
        }