details:   /erp/devel/main/rev/ab63baf13ee9
changeset: 8217:ab63baf13ee9
user:      Adrián Romero <adrianromero <at> openbravo.com>
date:      Tue Aug 17 14:09:40 2010 +0200
summary:   Fixes issue 0014140: Multicurrency in purchase invoices doesn't work
It has been fixed the condition that checks whether a document is convertible 
or not

details:   /erp/devel/main/rev/ecf17078a0c4
changeset: 8218:ecf17078a0c4
user:      RM packaging bot <staff.rm <at> openbravo.com>
date:      Tue Aug 17 21:15:38 2010 +0200
summary:   CI: promote changesets from pi to main

details:   /erp/devel/main/rev/c378f960e6c8
changeset: 8219:c378f960e6c8
user:      RM packaging bot <staff.rm <at> openbravo.com>
date:      Tue Aug 17 21:15:39 2010 +0200
summary:   CI: update AD_MODULE - Core version and label

diffstat:

 src-db/database/sourcedata/AD_MODULE.xml             |  4 ++--
 src/org/openbravo/erpCommon/ad_forms/AcctServer.java |  2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r f6594d69caff -r c378f960e6c8 src-db/database/sourcedata/AD_MODULE.xml
--- a/src-db/database/sourcedata/AD_MODULE.xml  Tue Aug 17 16:32:56 2010 +0530
+++ b/src-db/database/sourcedata/AD_MODULE.xml  Tue Aug 17 21:15:39 2010 +0200
@@ -6,7 +6,7 @@
 <!--0-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--0-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--0-->  <NAME><![CDATA[core]]></NAME>
-<!--0-->  <VERSION><![CDATA[2.50.17989]]></VERSION>
+<!--0-->  <VERSION><![CDATA[2.50.18218]]></VERSION>
 <!--0-->  <DESCRIPTION><![CDATA[Core module is the base one]]></DESCRIPTION>
 <!--0-->  <HELP><![CDATA[Core module is the base one, all developments in core 
are included as part of the standard Openbravo ERP.]]></HELP>
 <!--0-->  <URL><![CDATA[www.openbravo.com]]></URL>
@@ -22,7 +22,7 @@
 <!--0-->  <ISTRANSLATIONMODULE><![CDATA[N]]></ISTRANSLATIONMODULE>
 <!--0-->  <HASREFERENCEDATA><![CDATA[Y]]></HASREFERENCEDATA>
 <!--0-->  <REFERENCEDATAINFO><![CDATA[Standard document types for orders, 
invoices, etc. and settings]]></REFERENCEDATAINFO>
-<!--0-->  <VERSION_LABEL><![CDATA[dev]]></VERSION_LABEL>
+<!--0-->  <VERSION_LABEL><![CDATA[CI]]></VERSION_LABEL>
 <!--0-->  <ISCOMMERCIAL><![CDATA[N]]></ISCOMMERCIAL>
 <!--0--></AD_MODULE>
 
diff -r f6594d69caff -r c378f960e6c8 
src/org/openbravo/erpCommon/ad_forms/AcctServer.java
--- a/src/org/openbravo/erpCommon/ad_forms/AcctServer.java      Tue Aug 17 
16:32:56 2010 +0530
+++ b/src/org/openbravo/erpCommon/ad_forms/AcctServer.java      Tue Aug 17 
21:15:39 2010 +0200
@@ -1069,7 +1069,7 @@
             acctSchema.m_CurrencyRateType, AD_Client_ID, AD_Org_ID, conn);
         // if (log4j.isDebugEnabled()) log4j.debug
         // ("get converted amount (end)");
-        if (amt == null) {
+        if (amt == null || amt.equals("")) {
           convertible = false;
           log4j.warn("AcctServer - isConvertible NOT from " + currency + " - " 
+ DocumentNo);
         } else if (log4j.isDebugEnabled())

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to