Fixes issue 21645: Validation is executed on change event in P&E windows
authorAugusto Mauch <augusto.mauch@openbravo.com>
Mon, 17 Sep 2012 18:10:35 +0200
changeset 17968 e3a5ae024381
parent 17967 7c3050fc5c15
child 17969 06e1886fd04d
Fixes issue 21645: Validation is executed on change event in P&E windows

Before this commit, the validation was executed when a different row was selected. Now it is executed when the focus leaves the field.
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js	Mon Sep 17 16:39:03 2012 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js	Mon Sep 17 18:10:35 2012 +0200
@@ -48,6 +48,8 @@
     width: 32
   },
 
+  //The Cell should be validated each time the focus is changed.
+  validateByCell: true,
   // default selection
   selectionProperty: 'obSelected',