details: https://code.openbravo.com/erp/devel/pi/rev/5043677ad271
changeset: 17636:5043677ad271
user: Javier Etxarri <javier.echarri <at> openbravo.com>
date: Thu Aug 09 10:29:39 2012 +0200
summary: issue 21331: The default tax category is not selected when creating
a product or a tax rate
diffstat:
src/org/openbravo/erpCommon/ad_callouts/SL_TaxCategory_Org.java | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (13 lines):
diff -r bd84b9b0b7a3 -r 5043677ad271
src/org/openbravo/erpCommon/ad_callouts/SL_TaxCategory_Org.java
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_TaxCategory_Org.java Thu Aug
09 10:28:06 2012 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_TaxCategory_Org.java Thu Aug
09 10:29:39 2012 +0200
@@ -42,8 +42,7 @@
Organization organization = OBDal.getInstance().get(Organization.class,
strOrgId);
String taxCategoryId = "";
String parentOrgId = "";
- String whereClause = "as tn where tn.node = '" + organization.getId()
- + "' and tn.client.id = '" + organization.getClient().getId() + "'";
+ String whereClause = "";
while ("".equals(taxCategoryId)) {
whereClause = "as tn where tn.node = '" + organization.getId() + "' and
tn.client.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