Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016245Openbravo ERPA. Platformpublic2011-03-13 21:252011-03-18 00:00
dmitry_mezentsev 
gorkaion 
immediatecriticalalways
closedfixed 
5
 
3.0RC5 
Core
No
0016245: Business Partner Selector is not refreshed when Organization of the transactional document is changed
After several changes like this document becomes completely broken
live.builds.pi
1. New Sales Invoice. Mention that Org. is F&B US, enter related to it BP.
2. Change Organization to F&B Espana. Business Partner selector still displays Business Partner that is valid for US Org. and drop-down list contains only US Orgs.
3. If you open selector pop-up it shows correct Orgs. (valid for Spain).
4. Delete BP directly in the field and then drop-down list is updated also with Spanish Orgs.
5. Change Org. back to F&B US and mention that now not only drop-down but even selector window still show Spain Orgs.
6. Delete BP directly in the field and then drop-down list as before is updated but BP selector pop-up is not.

Next things are not always reproducible.
7. Mention also that Document Type is changed to the one corresponding to the Purchase Invoice although we are in the Sales Invoice (HeaderNotSelected screenshot).
8. Close Sales Invoice Tab. Try to launch new Sales Invoice from the * icon of Create New of Recent views. It gives completely broken window (Broken screenshot).
In terms of BP field I would clean it after the Org. change if previously selected BP is not valid for the new Org.
No tags attached.
png HeaderNotSelected.png (79,218) 2011-03-13 21:26
https://issues.openbravo.com/file_download.php?file_id=3667&type=bug
png

png Broken.png (78,783) 2011-03-13 21:26
https://issues.openbravo.com/file_download.php?file_id=3668&type=bug
png
Issue History
2011-03-13 21:25dmitry_mezentsevNew Issue
2011-03-13 21:25dmitry_mezentsevAssigned To => marvintm
2011-03-13 21:25dmitry_mezentsevModules => Core
2011-03-13 21:26dmitry_mezentsevFile Added: HeaderNotSelected.png
2011-03-13 21:26dmitry_mezentsevFile Added: Broken.png
2011-03-13 21:37dmitry_mezentsevProposed Solution updated
2011-03-14 10:56alostaleStatusnew => scheduled
2011-03-14 18:58marvintmAssigned Tomarvintm => gorkaion
2011-03-15 12:12hgbotCheckin
2011-03-15 12:12hgbotNote Added: 0034866
2011-03-15 12:12hgbotStatusscheduled => resolved
2011-03-15 12:12hgbotResolutionopen => fixed
2011-03-15 12:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2fffad4c5ef357a8caee5e561e0006fcc1ddbd37 [^]
2011-03-17 13:03iperdomoNote Added: 0034997
2011-03-17 13:03iperdomoStatusresolved => closed
2011-03-18 00:00anonymoussf_bug_id0 => 3221134

Notes
(0034866)
hgbot   
2011-03-15 12:12   
Repository: erp/devel/pi
Changeset: 2fffad4c5ef357a8caee5e561e0006fcc1ddbd37
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue Mar 15 12:10:51 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/2fffad4c5ef357a8caee5e561e0006fcc1ddbd37 [^]

[OBUISEL]Fixed issue 16245.Invalidate cached rows when documents organization changes.

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0034997)
iperdomo   
2011-03-17 13:03   
Tested on pi @ rev 59aa9ba6c6a8