We use fractional quantities all the time in invoices. In 1.3, the
column is set to type Integer, which truncates all of the fractions.
Patch for invoices attached -- might also need to be fixed in orders...
Cheers,
John Locke
http://freelock.com
diff --git sql/Pg-database.sql sql/Pg-database.sql
index c12657c..4bdb97e 100644
--- sql/Pg-database.sql
+++ sql/Pg-database.sql
@@ -885,7 +885,7 @@ CREATE TABLE invoice (
trans_id int,
parts_id int,
description text,
- qty integer,
+ qty NUMERIC,
allocated integer,
sellprice NUMERIC,
precision int,
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Ledger-smb-devel mailing list
Ledger-smb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel