Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0001916Openbravo ERPB. User interfacepublic2007-09-06 16:492008-06-12 09:43
plujan 
alostale 
normalminoralways
closedfixed 
5
 
2.35 
No
Core
No
0001916: Canceling business partner shows an address
Description:
When canceling the business partner selection on a new Sales Invoice, an Address appears

Environment:
Server:
 OS: Linux Centos
 DB: Oracle
 Openbravo: 2.33
 Language: English
Client:
 OS: Windows XP SP2
 Browser: IE7

Steps:
1. Go Procurement > Transactions > Sales Invoice
2. Click on New button
3. Look at the Business Partner and Address fields. They are empty.
4. Open the Business Partner selector. Do not select any business partner and click on Cancel.
5. Look at the Business Partner and Address fields. Business Partner is empty, but Address field has data. (See attach)
No tags attached.
Issue History

Notes
(0005505)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1789447 [^]
(0002016)
alostale   
2007-10-09 19:15   
(edited on: 2008-06-12 09:21)
Logged In: YES
user_id=1500722
Originator: NO

This problem is cause because when cancel button is clicked in selectors the session variable with the value remains and it is later used in order to fill the combos.

There are two possible solutions:
1. When this value is going to be used in a callout check if it is blank and in this case remove the session value. Problem: it is possible to forget to do this for every callout.

2. CloseSearch with CANCEL action in searchs.js should do this work. Problem: currently it does everything with javascript but to do this the servlet should be called so manual code should be reviewed.
(0002017)
alostale   
2007-10-11 11:57   
(edited on: 2008-06-12 09:21)
Logged In: YES
user_id=1500722
Originator: NO

Fixed with approach #1
(0002018)
rafaroda   
2007-10-25 11:00   
(edited on: 2008-06-12 09:21)
Logged In: YES
user_id=1892190
Originator: NO

Verification assigned to rafaroda.