Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014048Openbravo ERPA. Platformpublic2010-07-26 16:222011-04-06 00:00
psarobe 
marvintm 
urgentmajoralways
closedfixed 
5
3.0RC5 
3.0RC6 
Core
No
0014048: Warehouse combo box in the "user pop-up" window must depend on the organization
The warehouse combo in the user pop-up info window is not depending on the organization selected and it should be.

In the new QA testing data that already exists in PI you can notice that exists two different warehouses: One for spain and another one for USA. It can happen that you have selected the Organization Spain but the warehouse still is USA.
Because of this there are problems when calculating the taxes in for example Purchase invoice window
1. Login as QAAdmin/QAAdmin
2. Click the user info window
3. See that you can select org USA or Spain among other ones. Select Spain
4. Notice that you can still see the warehouse USA although it does not belong to Organization Spain and does not even belong to the org tree branch
1. The warehouse must belong to the org tree branch
No tags attached.
related to defect 00150642.50MP25 closed adrianromero Performance problem in role window when there are many warehouses defined 
related to defect 00167693.0RC6 closed iperdomo Warehouse combo box in the "user pop-up" only lists warehouses of descendant organizations not warehouses of ascendant 
blocks backport 0016483 closed adrianromero Warehouse combo box in the "user pop-up" window must depend on the organization 
Issue History
2010-07-26 16:22psarobeNew Issue
2010-07-26 16:22psarobeAssigned To => alostale
2010-07-26 16:23psarobeStatusnew => scheduled
2010-07-26 16:23psarobefix_in_branch => pi
2010-11-18 13:13psarobeRelationship addedrelated to 0015064
2010-11-18 14:24alostaleAssigned Toalostale => adrianromero
2011-03-25 11:50psarobeTarget Version => 3.0RC6
2011-03-25 11:50psarobefix_in_branchpi =>
2011-03-25 11:50psarobeAssigned Toadrianromero => mtaal
2011-03-25 11:52adrianromeroversion2.50MP20 => 3.0RC5
2011-03-25 11:53adrianromeroIssue cloned0016483
2011-03-25 11:53adrianromeroRelationship addedblocks 0016483
2011-04-04 10:27mtaalAssigned Tomtaal => marvintm
2011-04-04 17:29hgbotCheckin
2011-04-04 17:29hgbotNote Added: 0035568
2011-04-04 17:29hgbotStatusscheduled => resolved
2011-04-04 17:29hgbotResolutionopen => fixed
2011-04-04 17:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ed872a6860b6b709a54ae682bae4cb1655e62574 [^]
2011-04-04 17:30marvintmNote Added: 0035569
2011-04-05 16:26mtaalNote Added: 0035617
2011-04-05 16:26mtaalStatusresolved => closed
2011-04-06 00:00anonymoussf_bug_id0 => 3276661
2011-04-12 14:04adrianromeroRelationship addedrelated to 0016769

Notes
(0035568)
hgbot   
2011-04-04 17:29   
Repository: erp/devel/pi
Changeset: ed872a6860b6b709a54ae682bae4cb1655e62574
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Apr 04 17:27:16 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ed872a6860b6b709a54ae682bae4cb1655e62574 [^]

Fixed issue 14048. Warehouse combo box will depend on the organization

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/UserInfoWidgetActionHandler.java
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-user-profile-widget.js
---
(0035569)
marvintm   
2011-04-04 17:30   
The solution has been to compute the warehouses independently from the roles in the UserInfoWidgetActionHandler, and to set the warehouse combo after an organization has been set in the organization combo.
(0035617)
mtaal   
2011-04-05 16:26   
Works