Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040516 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 04. Warehouse management | major | always | 2019-04-04 09:51 | 2019-05-21 15:16 | |||
Reporter | gorkaion | View Status | public | |||||
Assigned To | nonofrancisco | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0PR19Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 5abaf711e341 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | Sandrahuguet | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 9099 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040516: Cannot process a Landed Cost if the role does not have access to its Legal Entity | |||||||
Description | Cannot process a Landed Cost if the role does not have access to the Legal Entity. | |||||||
Steps To Reproduce | Create a role that ONLY has access to F&B España - Región Norte organization. With that role: Create a Goods Receipt for two days before today. Add a product and complete it Launch Costing Background Process and check its cost is calculated Create a Landed Cost Type Create a Landed Cost Set a Cost to it Select the previously created receipt Try to complete it and check the following error message is shown: Organization <> of object (CostAdjustment(<>) (documentNo: <>, referenceData: <>)) is not present in OrganizationList [<>] | |||||||
Proposed Solution | On LandedCostProcess.java Change the setAdminMode to setAdminMode(false) so no org access check is executed. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0111005) nonofrancisco (viewer) 2019-04-05 14:46 |
Test Plan Create a role that ONLY has access to F&B España - Región Norte organization. Grant access to windows Process Request Goods Receipt Product Landed Cost Type Landed Cost With that role: Create a Goods Receipt for two days before today. Add a product and complete it Launch Costing Background Process and check its cost is calculated Create a Landed Cost Type Create a Landed Cost Set a Cost to it Select the previously created receipt Process the Landed Cost it and verify the process completes successfully |
(0111028) hgbot (developer) 2019-04-08 17:39 |
Repository: erp/devel/pi Changeset: 5abaf711e34101202c529da677505505ec8c1c08 Author: Nono Carballo <nonofce <at> gmail.com> Date: Mon Apr 08 17:20:15 2019 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/5abaf711e34101202c529da677505505ec8c1c08 [^] Fixes issue 40516: Disables organization check when processing landed cost Disables organization access check to allow landed cost processing, when it was created from a role not having access to then Legal Entity. --- M src/org/openbravo/costing/CostAdjustmentProcess.java M src/org/openbravo/costing/LandedCostProcess.java --- |
(0111029) Sandrahuguet (viewer) 2019-04-08 17:40 |
Code review + testing OK |
(0111963) hudsonbot (viewer) 2019-05-21 15:16 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9b8f37d9d85e [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2019-04-04 09:51 | gorkaion | New Issue | |
2019-04-04 09:51 | gorkaion | Assigned To | => AtulOpenbravo |
2019-04-04 09:51 | gorkaion | OBNetwork customer | => OBPS |
2019-04-04 09:51 | gorkaion | Modules | => Core |
2019-04-04 09:51 | gorkaion | Support ticket | => 9099 |
2019-04-04 09:51 | gorkaion | Resolution time | => 1556143200 |
2019-04-04 09:51 | gorkaion | Triggers an Emergency Pack | => No |
2019-04-04 09:51 | gorkaion | Issue generated from | 0038867 |
2019-04-04 09:51 | gorkaion | Relationship added | related to 0038867 |
2019-04-04 10:11 | gorkaion | Issue cloned | 0040517 |
2019-04-04 10:11 | gorkaion | Relationship added | related to 0040517 |
2019-04-04 10:12 | gorkaion | Assigned To | AtulOpenbravo => Triage Finance |
2019-04-04 10:35 | Sandrahuguet | Assigned To | Triage Finance => nonofrancisco |
2019-04-04 21:17 | nonofrancisco | Status | new => scheduled |
2019-04-05 14:46 | nonofrancisco | Note Added: 0111005 | |
2019-04-08 17:39 | hgbot | Checkin | |
2019-04-08 17:39 | hgbot | Note Added: 0111028 | |
2019-04-08 17:39 | hgbot | Status | scheduled => resolved |
2019-04-08 17:39 | hgbot | Resolution | open => fixed |
2019-04-08 17:39 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5abaf711e34101202c529da677505505ec8c1c08 [^] |
2019-04-08 17:40 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2019-04-08 17:40 | Sandrahuguet | Note Added: 0111029 | |
2019-04-08 17:40 | Sandrahuguet | Status | resolved => closed |
2019-04-08 17:40 | Sandrahuguet | Fixed in Version | => 3.0PR19Q3 |
2019-05-21 15:16 | hudsonbot | Checkin | |
2019-05-21 15:16 | hudsonbot | Note Added: 0111963 |
Copyright © 2000 - 2009 MantisBT Group |