details:   /erp/devel/pi/rev/149e42c3f674
changeset: 12206:149e42c3f674
user:      Antonio Moreno <antonio.moreno <at> openbravo.com>
date:      Tue May 17 19:02:06 2011 +0200
summary:   Fixed issue 17202. Prevent wrong call to the FIC in SETSESSION mode 
when a new record is created in the grid.
The problem happened after a process was executed (specifically, after a Sales 
Order was completed, and when afterwards a new Sales Order was created on grid 
mode).

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
 |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 20e48a423ef9 -r 149e42c3f674 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
      Tue May 17 18:05:21 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
      Tue May 17 19:02:06 2011 +0200
@@ -1019,7 +1019,7 @@
     
     this.updateLastSelectedState();
     this.updateTabTitle();    
-    this.toolBar.updateButtonState(this.isEditingGrid || this.isShowingForm);
+    this.toolBar.updateButtonState(this.isEditingGrid || this.isShowingForm || 
this.viewForm.isNewRecord());
 
     var tabViewPane = null, i;
 

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to