details:   https://code.openbravo.com/erp/devel/main/rev/6d69e73928db
changeset: 21739:6d69e73928db
user:      Egoitz Castillo <egoitz.castillo <at> openbravo.com>
date:      Thu Jan 02 08:40:39 2014 +0100
summary:   Fixed issue 0025354: Long time tol load CreateFrom Invoices popup

details:   https://code.openbravo.com/erp/devel/main/rev/92cf70aa1c12
changeset: 21740:92cf70aa1c12
user:      Egoitz Castillo <egoitz.castillo <at> openbravo.com>
date:      Thu Jan 02 09:27:38 2014 +0100
summary:   Related with issue 0025354: Remove an incorrect change

details:   https://code.openbravo.com/erp/devel/main/rev/622181f3a4ad
changeset: 21741:622181f3a4ad
user:      Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> 
openbravo.com>
date:      Thu Jan 02 11:05:38 2014 +0530
summary:   Fixes Issue 24881: Swiss franc is duplicated. Only CHF has to exist.

details:   https://code.openbravo.com/erp/devel/main/rev/7a908443c43a
changeset: 21742:7a908443c43a
user:      Shankar Balachandran <shankar.balachandran <at> openbravo.com>
date:      Thu Jan 02 17:26:52 2014 +0530
summary:   Fixes Issue 0025419: It is not possible to run "open/close period" 
process for an specific document

Checks whether field is available before retrieving the property of the field.

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
 |  6 ++++--
 src-db/database/model/tables/M_MATCHINV.xml                                    
                       |  3 +++
 src-db/database/sourcedata/referencedData/C_CURRENCY.xml                       
                       |  2 +-
 src/org/openbravo/dal/security/EntityAccessChecker.java                        
                       |  2 +-
 4 files changed, 9 insertions(+), 4 deletions(-)

diffs (58 lines):

diff -r d2a6126e04e6 -r 7a908443c43a 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
     Thu Jan 02 10:55:49 2014 +0530
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
     Thu Jan 02 17:26:52 2014 +0530
@@ -3626,7 +3626,9 @@
       return;
     }
     newValue = {};
-    newValue[field.property] = columnValue.value;
+    if (field) {
+      newValue[field.property] = columnValue.value;
+    }
     this.setEditValue(rowNum, field.property, columnValue.value);
   },
 
@@ -3646,7 +3648,7 @@
         field = this.getFieldFromColumnName(prop);
         // This call to the FIC was done to retrieve the missing values
         // Do not try to overwrite the existing values
-        if (!this.getRecord(rowNum)[field.property]) {
+        if (field && !this.getRecord(rowNum)[field.property]) {
           grid.processColumnValue(rowNum, prop, columnValues[prop]);
         }
       }
diff -r d2a6126e04e6 -r 7a908443c43a src-db/database/model/tables/M_MATCHINV.xml
--- a/src-db/database/model/tables/M_MATCHINV.xml       Thu Jan 02 10:55:49 
2014 +0530
+++ b/src-db/database/model/tables/M_MATCHINV.xml       Thu Jan 02 17:26:52 
2014 +0530
@@ -80,6 +80,9 @@
       <foreign-key foreignTable="M_PRODUCT" name="M_MATCHINV_M_PRODUCT">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
+      <index name="M_MATCHINV_INOUT" unique="false">
+        <index-column name="M_INOUTLINE_ID"/>
+      </index>
       <index name="M_MATCHINV_SHIP" unique="false">
         <index-column name="C_INVOICELINE_ID"/>
         <index-column name="M_INOUTLINE_ID"/>
diff -r d2a6126e04e6 -r 7a908443c43a 
src-db/database/sourcedata/referencedData/C_CURRENCY.xml
--- a/src-db/database/sourcedata/referencedData/C_CURRENCY.xml  Thu Jan 02 
10:55:49 2014 +0530
+++ b/src-db/database/sourcedata/referencedData/C_CURRENCY.xml  Thu Jan 02 
17:26:52 2014 +0530
@@ -256,7 +256,7 @@
 <!--115-->  <C_CURRENCY_ID><![CDATA[115]]></C_CURRENCY_ID>
 <!--115-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
 <!--115-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--115-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--115-->  <ISACTIVE><![CDATA[N]]></ISACTIVE>
 <!--115-->  <CREATED><![CDATA[2011-02-22 17:06:39.0]]></CREATED>
 <!--115-->  <CREATEDBY><![CDATA[0]]></CREATEDBY>
 <!--115-->  <UPDATED><![CDATA[2011-02-22 17:06:39.0]]></UPDATED>
diff -r d2a6126e04e6 -r 7a908443c43a 
src/org/openbravo/dal/security/EntityAccessChecker.java
--- a/src/org/openbravo/dal/security/EntityAccessChecker.java   Thu Jan 02 
10:55:49 2014 +0530
+++ b/src/org/openbravo/dal/security/EntityAccessChecker.java   Thu Jan 02 
17:26:52 2014 +0530
@@ -373,4 +373,4 @@
     return writableEntities;
   }
 
-}
\ No newline at end of file
+}

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to