details: https://code.openbravo.com/erp/devel/pi/rev/f210c7b28834
changeset: 16841:f210c7b28834
user: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
date: Thu Jun 14 11:31:57 2012 +0200
summary: Fixes bug 20760
diffstat:
src/org/openbravo/erpCommon/ad_forms/AcctServer.java | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r dbabdb3d3741 -r f210c7b28834
src/org/openbravo/erpCommon/ad_forms/AcctServer.java
--- a/src/org/openbravo/erpCommon/ad_forms/AcctServer.java Thu Jun 14
09:39:36 2012 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/AcctServer.java Thu Jun 14
11:31:57 2012 +0200
@@ -2439,10 +2439,12 @@
*/
boolean disableDocumentConfirmation() {
OBContext.setAdminMode();
- StringBuffer whereClause = new StringBuffer();
String strClassname = "";
+ C_DocType_ID = objectFieldProvider[0].getField("cDoctypeId");
+ loadDocumentType();
try {
for (int i = 0; i < m_as.length; i++) {
+ StringBuffer whereClause = new StringBuffer();
whereClause.append(" as astdt ");
whereClause.append(" where astdt.acctschemaTable.accountingSchema.id =
'"
+ m_as[i].m_C_AcctSchema_ID + "'");
------------------------------------------------------------------------------
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