Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008598Openbravo ERPB. User interfacepublic2009-04-16 13:182009-05-05 00:00
networkb 
dbaz 
immediateminoralways
closedfixed 
30
2.40MP3 
2.50MP1 
Core
No
0008598: The error, info, warning, messages printed when a callout is executed are not deleted
When a callout if executed and a message is printed, then in a second execution of the callout the message is not deleted and it should dissapear.
-Go to good shipment window
-Select a partner with not available credit
-A message appears:
     Note: Over Credit Limit
-Select other partner with credit
-The message does not disappear

      if (Value!=null && Value!='') {
      setValues_MessageBox('messageBoxID', "INFO", "", Value);
    }
When the message that is printed is null or "" the message should dissapear.

To get this you have to modify the web/js/utils.js

Modify the function formElementValue(Formulario, ElementName, Value) method

Replace this line
setValues_MessageBox('messageBoxID', "INFO", "", Value);
with the following:
 if (Value!=null && Value!='') {
      setValues_MessageBox('messageBoxID', "INFO", "", Value);
}

and the same with this line:
 setValues_MessageBox('messageBoxID', ElementName, "", Value);

250MP1
depends on backport 0008725 closed dbaz The error, info, warning, messages printed when a callout is executed are not deleted 
related to defect 0007723 closed dbaz Blue informations label disappear too quickly to read them 
Issue History
2009-04-16 13:18networkbNew Issue
2009-04-16 13:18networkbAssigned To => rafaroda
2009-04-16 13:18networkbRegression testing => No
2009-04-22 20:11psarobeStatusnew => scheduled
2009-04-22 20:11psarobefix_in_branch => pi
2009-04-23 09:32rafarodaAssigned Torafaroda => dbaz
2009-04-23 09:39rafarodaRelationship addedrelated to 0007723
2009-04-23 16:04psarobeTag Attached: 250MP1
2009-04-24 00:10hgbotCheckin
2009-04-24 00:10hgbotNote Added: 0015644
2009-04-24 00:10hgbotStatusscheduled => resolved
2009-04-24 00:10hgbotResolutionopen => fixed
2009-04-24 00:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/58509c2f360ea8193d7f9e5ee5b5f18ee61ee5bc [^]
2009-05-04 18:43psarobeStatusresolved => closed
2009-05-05 00:00anonymoussf_bug_id0 => 2786903

Notes
(0015644)
hgbot   
2009-04-24 00:10   
Repository: erp/devel/pi
Changeset: 58509c2f360ea8193d7f9e5ee5b5f18ee61ee5bc
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Thu Apr 23 23:47:03 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/58509c2f360ea8193d7f9e5ee5b5f18ee61ee5bc [^]

Fixed bug 8598: Now message box is cleared when there is a change business partner in 'Good Shipments'

---
M src/org/openbravo/erpCommon/ad_callouts/SL_InOut_BPartner.java
M web/js/utils.js
---