Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016483Openbravo ERPA. Platformpublic2011-03-25 11:532011-05-03 10:55
adrianromero 
adrianromero 
urgentmajoralways
closedfixed 
5
2.50MP27 
2.50MP29 
Core
No
0016483: 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.
depends on defect 00140483.0RC6 closed marvintm Warehouse combo box in the "user pop-up" window must depend on the organization 
Issue History
2011-03-25 11:53adrianromeroNew Issue
2011-03-25 11:53adrianromeroAssigned To => adrianromero
2011-03-25 11:53adrianromeroModules => Core
2011-03-25 11:53adrianromeroIssue generated from0014048
2011-03-25 11:53adrianromeroRelationship addeddepends on 0014048
2011-03-25 11:54adrianromeroStatusnew => scheduled
2011-03-25 11:54adrianromerofix_in_branch => pi
2011-04-13 09:25hgbotCheckin
2011-04-13 09:25hgbotNote Added: 0035885
2011-04-13 09:25hgbotStatusscheduled => resolved
2011-04-13 09:25hgbotResolutionopen => fixed
2011-04-13 09:25hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/03444906df845be40d2992503c3671c7de4d8d2b [^]
2011-05-03 10:55jonalegriaesarteNote Added: 0036299
2011-05-03 10:55jonalegriaesarteStatusresolved => closed
2011-05-03 10:55jonalegriaesarteFixed in Version => 2.50MP29

Notes
(0035885)
hgbot   
2011-04-13 09:25   
Repository: erp/stable/2.50
Changeset: 03444906df845be40d2992503c3671c7de4d8d2b
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Apr 12 13:42:59 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/03444906df845be40d2992503c3671c7de4d8d2b [^]

Fixes issue 0016483: Warehouse combo box in the user pop-up window must depend on the organization
It has been added a filter in the sentence that gets the list of warehouses to get only the referenceables warehouses. It has been modified the window too to load the warehouses drop-down list when the organization selection changes

---
M src/org/openbravo/erpCommon/ad_forms/Role.html
M src/org/openbravo/erpCommon/ad_forms/Role.java
M src/org/openbravo/erpCommon/ad_forms/Warehouse_data.xsql
---
(0036299)
jonalegriaesarte   
2011-05-03 10:55   
Verified