details: https://code.openbravo.com/erp/devel/pi/rev/116423dd57cb
changeset: 17500:116423dd57cb
user: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
date: Tue Jul 17 18:07:05 2012 +0200
summary: Fixes bug 21126
diffstat:
src/org/openbravo/erpCommon/ad_forms/DocMatchInv.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r ba96c5cba8c2 -r 116423dd57cb
src/org/openbravo/erpCommon/ad_forms/DocMatchInv.java
--- a/src/org/openbravo/erpCommon/ad_forms/DocMatchInv.java Tue Jul 17
17:42:47 2012 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/DocMatchInv.java Tue Jul 17
18:07:05 2012 +0200
@@ -58,8 +58,8 @@
super(AD_Client_ID, AD_Org_ID, connectionProvider);
}
- public void loadObjectFieldProvider(ConnectionProvider conn,
- @SuppressWarnings("hiding") String AD_Client_ID, String Id) throws
ServletException {
+ public void loadObjectFieldProvider(ConnectionProvider conn,
@SuppressWarnings("hiding")
+ String AD_Client_ID, String Id) throws ServletException {
setObjectFieldProvider(DocMatchInvData.selectRegistro(conn, AD_Client_ID,
Id));
}
@@ -285,7 +285,7 @@
updateProductInfo(as.getC_AcctSchema_ID(), conn, con); // only API
}
- if (!bdCost.equals(bdExpenses)) {
+ if (bdCost.compareTo(bdExpenses) != 0) {
diff = fact.createLine(docLine, p.getAccount(ProductInfo.ACCTTYPE_P_IPV,
as, conn),
costCurrency.getId(), (bdDifference.compareTo(BigDecimal.ZERO) == 1)
? bdDifference.abs()
.toString() : "0", (bdDifference.compareTo(BigDecimal.ZERO) < 1)
? bdDifference.abs()
------------------------------------------------------------------------------
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