details: https://code.openbravo.com/erp/devel/pi/rev/d25b4678489a
changeset: 17627:d25b4678489a
user: Carlos Aristu <carlos.aristu <at> openbravo.com>
date: Wed Aug 08 10:59:04 2012 +0200
summary: fixes issue 20931: expense sheet is created with line net amount 0
diffstat:
src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Product.java | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 562813057ec3 -r d25b4678489a
src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Product.java
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Product.java Wed Aug
08 08:57:23 2012 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Product.java Wed Aug
08 10:59:04 2012 +0200
@@ -147,6 +147,8 @@
if (amount.scale() > stdPrecision)
amount = amount.setScale(stdPrecision, BigDecimal.ROUND_HALF_UP);
resultado.append(", new Array(\"inpexpenseamt\", " +
amount.toPlainString() + ")");
+ resultado.append(", new Array(\"inpinvoiceprice\", "
+ + (priceActual.equals("") ? "\"\"" : priceActual) + ")");
String c_Currency_To_ID = Utility.getContext(this, vars, "$C_Currency_ID",
"");
// Checks if there is a conversion rate for each of the transactions of
// the report
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits