Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016647Openbravo ERPA. Platformpublic2011-04-05 14:372011-04-08 00:00
psarobe 
marvintm 
immediatemajoralways
closedfixed 
5
pi 
3.0RC63.0RC6 
Core
No
0016647: Warehouse combo box in user profile is not working fine. Values are not recalculated after changing the role
The problem is even worse. Openbravo user has access to two different clients:
1. F&B
2. QA Testing

When you change from a role that belongs to F%B to QA Testing all the combo boxes are properly recalculated except the Warehouse combo where nothing changes and you still have the values that belong to F&B.

So this has several side effects that breaks the ERP. For example you cannot select products in transactional windows because it filters the warehouse by one that belongs to the other client

See attach:
error.png
error1.png
error2.ong

1. Login as Openbravo/openbravo
2. Display the warehouse combo. See error.png
3. Change the defaulted role to QA Testing Admin
4. Display the warehouse combo. See error1.png. Notice that the values are the same. This is wrong

Side effect.
1. Go to purchase invoice. Create one header selecting Vendor A. Save
2. Move to lines and click the product selector to open it. See error2.png

No products are shown because it is filtering by a warehouse that not exists in that client
No tags attached.
png error.PNG (34,836) 2011-04-05 14:37
https://issues.openbravo.com/file_download.php?file_id=3830&type=bug
png

png error1.PNG (51,590) 2011-04-05 14:38
https://issues.openbravo.com/file_download.php?file_id=3831&type=bug
png

png error2.PNG (35,064) 2011-04-05 14:38
https://issues.openbravo.com/file_download.php?file_id=3832&type=bug
png
Issue History
2011-04-05 14:37psarobeNew Issue
2011-04-05 14:37psarobeAssigned To => marvintm
2011-04-05 14:37psarobeFile Added: error.PNG
2011-04-05 14:37psarobeModules => Core
2011-04-05 14:38psarobeFile Added: error1.PNG
2011-04-05 14:38psarobeFile Added: error2.PNG
2011-04-05 14:38psarobeStatusnew => scheduled
2011-04-05 14:38psarobefix_in_branch => pi
2011-04-05 16:32hgbotCheckin
2011-04-05 16:32hgbotNote Added: 0035618
2011-04-05 16:32hgbotStatusscheduled => resolved
2011-04-05 16:32hgbotResolutionopen => fixed
2011-04-05 16:32hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a7b660e076d5cf790d9019235062d213b14a1936 [^]
2011-04-05 18:35hgbotCheckin
2011-04-05 18:35hgbotNote Added: 0035626
2011-04-05 19:05hgbotCheckin
2011-04-05 19:05hgbotNote Added: 0035631
2011-04-07 12:39psarobeNote Added: 0035721
2011-04-07 12:39psarobeStatusresolved => closed
2011-04-07 12:39psarobeFixed in Version => 3.0RC6
2011-04-08 00:00anonymoussf_bug_id0 => 3279913

Notes
(0035618)
hgbot   
2011-04-05 16:32   
Repository: erp/devel/pi
Changeset: a7b660e076d5cf790d9019235062d213b14a1936
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Apr 05 15:57:00 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a7b660e076d5cf790d9019235062d213b14a1936 [^]

Fixed issue 16647. Warehouse combo will once again depend on the role (due to the special case of 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
---
(0035626)
hgbot   
2011-04-05 18:35   
Repository: erp/devel/pi
Changeset: c2b6db10ef3dcc94e74ae4e8fae95bc3daa5e16b
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Apr 05 18:22:57 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c2b6db10ef3dcc94e74ae4e8fae95bc3daa5e16b [^]

Related to issue 16647. Values will be set also when the user clicks on 'cancel' and opens it again

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-user-profile-widget.js
---
(0035631)
hgbot   
2011-04-05 19:05   
Repository: erp/devel/pi
Changeset: 674b4882a83cc604668bf0b8ffe220558723fbcb
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Apr 05 19:04:52 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/674b4882a83cc604668bf0b8ffe220558723fbcb [^]

Related to issue 16647. User profile widget will also work when initial role has no warehouses

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-user-profile-widget.js
---
(0035721)
psarobe   
2011-04-07 12:39   
Fixed