Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040517Openbravo ERP04. Warehouse managementpublic2019-04-04 10:112019-05-21 15:16
gorkaion 
nonofrancisco 
urgentmajoralways
closedfixed 
5
 
3.0PR19Q3 
Sandrahuguet
Core
No
0040517: In Landed Cost it is possible to see receipts of parent org when role does not have access to it
With a role that only has access to a generic role. When creating a new Landed Cost and selecting the receipt the user can select receipts to parent organization.

Users should only see transactional data of their organization and child organizations. But not from parent organization. For example the Create Lines from in Goods Shipment is not showing Sales Orders created in parent orgs.

Create Shipments in F&B España, S.A and F&B España - Región Norte organizations.

Create a role that ONLY has access to F&B España - Región Norte organization.

With that role:
   Create a Landed Cost Type
   Create a Landed Cost
   Set a Cost to it
   On Receipt tab open the receipt selector.
   Check that it is showing receipts from F&B España, S.A.

   
No tags attached.
related to defect 0040516 closed nonofrancisco Cannot process a Landed Cost if the role does not have access to its Legal Entity 
Issue History
2019-04-04 10:11gorkaionNew Issue
2019-04-04 10:11gorkaionAssigned To => Triage Finance
2019-04-04 10:11gorkaionModules => Core
2019-04-04 10:11gorkaionResolution time => 1556143200
2019-04-04 10:11gorkaionTriggers an Emergency Pack => No
2019-04-04 10:11gorkaionIssue generated from0040516
2019-04-04 10:11gorkaionRelationship addedrelated to 0040516
2019-04-04 10:35SandrahuguetAssigned ToTriage Finance => nonofrancisco
2019-04-05 14:58nonofranciscoStatusnew => scheduled
2019-04-05 15:04nonofranciscoNote Added: 0111006
2019-04-24 09:46ngarciaIssue Monitored: ngarcia
2019-04-24 12:50hgbotCheckin
2019-04-24 12:50hgbotNote Added: 0111271
2019-04-24 12:50hgbotStatusscheduled => resolved
2019-04-24 12:50hgbotResolutionopen => fixed
2019-04-24 12:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0bd36b5d697b12c106103ce4a73cc14ab697f982 [^]
2019-04-24 12:55SandrahuguetReview Assigned To => Sandrahuguet
2019-04-24 12:55SandrahuguetNote Added: 0111273
2019-04-24 12:55SandrahuguetStatusresolved => closed
2019-04-24 12:55SandrahuguetFixed in Version => 3.0PR19Q3
2019-05-21 15:16hudsonbotCheckin
2019-05-21 15:16hudsonbotNote Added: 0111994

Notes
(0111006)
nonofrancisco   
2019-04-05 15:04   
Test Plan

Create Shipments in F&B España, S.A and F&B España - Región Norte organizations.

Create a role that ONLY has access to F&B España - Región Norte organization.
  Grant access to windows
    Goods Receipt
    Landed Cost Type
    Landed Cost

With that role:
   Create a Landed Cost Type
   Create a Landed Cost
   Set a Cost to it
   On Receipt tab open the receipt selector.
   Verify that receipt from F&B España, S.A organization are not shown
(0111271)
hgbot   
2019-04-24 12:50   
Repository: erp/devel/pi
Changeset: 0bd36b5d697b12c106103ce4a73cc14ab697f982
Author: Nono Carballo <nonofce <at> gmail.com>
Date: Wed Apr 24 10:21:28 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0bd36b5d697b12c106103ce4a73cc14ab697f982 [^]

Fixes issue 40517: Prevents show receipts of parent organization

In Landed Cost/Receipt tab, only receipts from organization the user role has
access will be shown.

---
M src-db/database/sourcedata/OBUISEL_SELECTOR.xml
---
(0111273)
Sandrahuguet   
2019-04-24 12:55   
Code review + testing OK
(0111994)
hudsonbot   
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