| Openbravo Issue Tracking System - Openbravo ERP | 
| View Issue Details | 
| 
 | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0040517 | Openbravo ERP | 04. Warehouse management | public | 2019-04-04 10:11 | 2019-05-21 15:16 | 
| 
 | 
| Reporter | gorkaion |  | 
| Assigned To | nonofrancisco |  | 
| Priority | urgent | Severity | major | Reproducibility | always | 
| Status | closed | Resolution | fixed |  | 
| Platform |  | OS | 5 | OS Version |  | 
| Product Version |  |  | 
| Target Version |  | Fixed in Version | 3.0PR19Q3 |  | 
| 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 | 0040517: In Landed Cost it is possible to see receipts of parent org when role does not have access to it | 
| Description | 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.
 
 
 | 
| Steps To Reproduce | 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.
 
 
 | 
| Proposed Solution |  | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | related to | defect | 0040516 |  | closed | nonofrancisco | Cannot process a Landed Cost if the role does not have access to its Legal Entity | 
 | 
| Attached Files |  | 
| 
 | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2019-04-04 10:11 | gorkaion | New Issue |  | 
| 2019-04-04 10:11 | gorkaion | Assigned To | => Triage Finance | 
| 2019-04-04 10:11 | gorkaion | OBNetwork customer | => OBPS | 
| 2019-04-04 10:11 | gorkaion | Modules | => Core | 
| 2019-04-04 10:11 | gorkaion | Support ticket | => 9099 | 
| 2019-04-04 10:11 | gorkaion | Resolution time | => 1556143200 | 
| 2019-04-04 10:11 | gorkaion | Triggers an Emergency Pack | => No | 
| 2019-04-04 10:11 | gorkaion | Issue generated from | 0040516 | 
| 2019-04-04 10:11 | gorkaion | Relationship added | related to 0040516 | 
| 2019-04-04 10:35 | Sandrahuguet | Assigned To | Triage Finance => nonofrancisco | 
| 2019-04-05 14:58 | nonofrancisco | Status | new => scheduled | 
| 2019-04-05 15:04 | nonofrancisco | Note Added: 0111006 |  | 
| 2019-04-24 09:46 | ngarcia | Issue Monitored: ngarcia |  | 
| 2019-04-24 12:50 | hgbot | Checkin |  | 
| 2019-04-24 12:50 | hgbot | Note Added: 0111271 |  | 
| 2019-04-24 12:50 | hgbot | Status | scheduled => resolved | 
| 2019-04-24 12:50 | hgbot | Resolution | open => fixed | 
| 2019-04-24 12:50 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/0bd36b5d697b12c106103ce4a73cc14ab697f982 [^] | 
| 2019-04-24 12:55 | Sandrahuguet | Review Assigned To | => Sandrahuguet | 
| 2019-04-24 12:55 | Sandrahuguet | Note Added: 0111273 |  | 
| 2019-04-24 12:55 | Sandrahuguet | Status | resolved => closed | 
| 2019-04-24 12:55 | Sandrahuguet | Fixed in Version | => 3.0PR19Q3 | 
| 2019-05-21 15:16 | hudsonbot | Checkin |  | 
| 2019-05-21 15:16 | hudsonbot | Note Added: 0111994 |  | 
	| Notes | 
	| 
 | 
	|  | 
		
			| 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
 ---
 
 |  | 
	| 
 | 
	|  |  | 
	| 
 | 
	|  |  |