Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0038316 | Openbravo ERP | A. Platform | public | 2018-04-10 18:09 | 2018-05-09 19:30 |
Reporter | ngarcia | ||||
Assigned To | collazoandy4 | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 3.0PR18Q3 | |||
Merge Request Status | |||||
Review Assigned To | dmiguelez | ||||
OBNetwork customer | OBPS | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | 1054 | ||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0038316: Warehouse in context (session) is different from the warehouse on the login in some circumstances, could affect tax selection | ||||
Description | Warehouse in context (session) is different from the warehouse on the login in some circumstances, could affect tax selection | ||||
Steps To Reproduce | As group admin role: Create a new role Set is as not manual and as advanced Remove access from all the organizations except the following ones: F&B España - Región Norte F&B España, S.A. F&B US West Coast Create a new user Add the previously created role and set it as default role Deactivate España Región Norte warehouse Create a new warehouse and storage bin in F&B España, S.A. Log in with the previously created user: Check the organization shown in the log is F&B España - Región Norte (max ad_org_id in ad_role_orgaccess table for the role) Check the warehouse shown is the newly created one Check the warehouse in session is US West coast (min m_warehouse_id in m_warehouse table, active and for this client) We could check it debugging SL_Invoice_Product callout Create a new purchase invoice for F&B España - Región Norte Add a product to it Check the value in the following line: String strWarehouse = Utility .getContext(this, info.vars, "#M_Warehouse_ID", info.getWindowId()); Open the user profile and apply without making any change Check the warehouse in session is the one in the login, the previously created one (you could use SL_Invoice_Product callout) | ||||
Proposed Solution | In LoginUtils.getDefaultWarehouse() function, in case there does not exist any warehouse defined for the specific organization (strOrg), select one warehouse from its natural tree | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2018-04-10 18:09 | ngarcia | New Issue | |||
2018-04-10 18:09 | ngarcia | Assigned To | => platform | ||
2018-04-10 18:09 | ngarcia | OBNetwork customer | => Yes | ||
2018-04-10 18:09 | ngarcia | Modules | => Core | ||
2018-04-10 18:09 | ngarcia | Support ticket | => 1054 | ||
2018-04-10 18:09 | ngarcia | Resolution time | => 1525212000 | ||
2018-04-10 18:09 | ngarcia | Triggers an Emergency Pack | => No | ||
2018-04-10 18:13 | ngarcia | Issue Monitored: networkb | |||
2018-04-10 18:19 | ngarcia | Note Added: 0103782 | |||
2018-04-13 13:10 | ngarcia | Assigned To | platform => Triage Finance | ||
2018-04-13 13:14 | ngarcia | Proposed Solution updated | |||
2018-04-13 13:23 | ngarcia | Summary | Warehouse in context (session) is different from the warehouse on the login in some circumstances, could affect tax calculation => Warehouse in context (session) is different from the warehouse on the login in some circumstances, could affect tax selection | ||
2018-04-13 13:23 | ngarcia | Description Updated | bug_revision_view_page.php?rev_id=16986#r16986 | ||
2018-04-13 13:25 | aferraz | Assigned To | Triage Finance => collazoandy4 | ||
2018-04-30 15:13 | collazoandy4 | Status | new => scheduled | ||
2018-05-02 17:14 | collazoandy4 | Note Added: 0104209 | |||
2018-05-03 13:29 | hgbot | Checkin | |||
2018-05-03 13:29 | hgbot | Note Added: 0104230 | |||
2018-05-03 13:29 | hgbot | Status | scheduled => resolved | ||
2018-05-03 13:29 | hgbot | Resolution | open => fixed | ||
2018-05-03 13:29 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/225d04f427667786a6ba5a1b5bbbde917ec0e1ef [^] | ||
2018-05-03 13:30 | dmiguelez | Review Assigned To | => dmiguelez | ||
2018-05-03 13:30 | dmiguelez | Note Added: 0104231 | |||
2018-05-03 13:30 | dmiguelez | Status | resolved => closed | ||
2018-05-03 13:30 | dmiguelez | Fixed in Version | => 3.0PR18Q3 | ||
2018-05-05 13:57 | shuehner | Note Added: 0104300 | |||
2018-05-05 13:57 | shuehner | Status | closed => new | ||
2018-05-05 13:57 | shuehner | Resolution | fixed => open | ||
2018-05-05 13:57 | shuehner | Fixed in Version | 3.0PR18Q3 => | ||
2018-05-08 18:18 | hgbot | Checkin | |||
2018-05-08 18:18 | hgbot | Note Added: 0104335 | |||
2018-05-08 18:19 | aferraz | Status | new => scheduled | ||
2018-05-08 18:19 | aferraz | Status | scheduled => resolved | ||
2018-05-08 18:19 | aferraz | Fixed in Version | => 3.0PR18Q3 | ||
2018-05-08 18:19 | aferraz | Resolution | open => fixed | ||
2018-05-08 18:20 | aferraz | Status | resolved => closed | ||
2018-05-09 19:29 | hudsonbot | Checkin | |||
2018-05-09 19:29 | hudsonbot | Note Added: 0104427 | |||
2018-05-09 19:30 | hudsonbot | Checkin | |||
2018-05-09 19:30 | hudsonbot | Note Added: 0104435 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|