Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039856Openbravo ERP07. Sales managementpublic2018-12-27 10:182019-03-28 14:55
anderaranguren 
markmm82 
urgentmajoralways
closedfixed 
5
pi 
3.0PR19Q2 
Sandrahuguet
Core
No
0039856: If a role has access to a parent org and does not have access to a child org, can see and edit Pending Goods Receipt of child
If a role has access to a parent org and does not have access to a child org, can see and edit Pending Goods Receipt of child organization
1. Login Backoficce with F&B International Group Admin role
2. Go to Purchase Order window and create an order for F&B España - Region Norte, add some products an book it.
3. Check in Pending Goods Receipt that you can see the data from F&B España - Region Norte when selecting F&B España S.A. This is correct.

4. Go to Role window, F&B International Group Admin role and delete the access to F&B España - Region Norte.
5. Log out -Log in
6. Go to Pending Goods Receipt window and try to process again selecting parent organization (F&B España S.A), you can still see and edit the data of child organization (F&B España - Region Norte), even if you have deleted the access for this organization.
No tags attached.
Issue History
2018-12-27 10:18anderarangurenNew Issue
2018-12-27 10:18anderarangurenAssigned To => Triage Finance
2018-12-27 10:18anderarangurenModules => Core
2018-12-27 10:18anderarangurenResolution time => 1547679600
2018-12-27 10:18anderarangurenTriggers an Emergency Pack => No
2018-12-27 12:38SandrahuguetAssigned ToTriage Finance => markmm82
2018-12-27 17:30markmm82Statusnew => scheduled
2019-01-03 02:09markmm82Note Added: 0108793
2019-01-08 16:43hgbotCheckin
2019-01-08 16:43hgbotNote Added: 0108859
2019-01-08 16:43hgbotStatusscheduled => resolved
2019-01-08 16:43hgbotResolutionopen => fixed
2019-01-08 16:43hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e3f5cce51a50f20963a2179a56d9e49f1d11d54a [^]
2019-01-08 17:07SandrahuguetReview Assigned To => Sandrahuguet
2019-01-08 17:07SandrahuguetNote Added: 0108860
2019-01-08 17:07SandrahuguetStatusresolved => closed
2019-01-08 17:07SandrahuguetFixed in Version => 3.0PR19Q2
2019-03-28 14:55hudsonbotCheckin
2019-03-28 14:55hudsonbotNote Added: 0110717

Notes
(0108793)
markmm82   
2019-01-03 02:09   
Test Plan:
As F&B International Group Admin role
 Go to Purchase Order window and create an order for F&B España - Region Norte, add some products an book it.
 Check in Pending Goods Receipt that you can see the data from F&B España - Region Norte when selecting F&B España S.A. This is correct.
 Go to Purchase Order window and create an order for F&B España - Region Sur, add some products an book it.
 Check in Pending Goods Receipt that you can see the data from F&B España - Region Norte and Region Sur when selecting F&B España S.A. This is correct.

 Go to Role window, F&B International Group Admin role and delete the access to F&B España - Region Norte.
 Log out -Log in
 Go to Pending Goods Receipt window and try to process again selecting parent organization (F&B España S.A), you can see and edit only the data of child organization (F&B España - Region Sur), as you have deleted the access for Region Norte it is not possible to see lines for this organization.
(0108859)
hgbot   
2019-01-08 16:43   
Repository: erp/devel/pi
Changeset: e3f5cce51a50f20963a2179a56d9e49f1d11d54a
Author: Mark <markmm82 <at> gmail.com>
Date: Fri Jan 04 11:10:30 2019 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/e3f5cce51a50f20963a2179a56d9e49f1d11d54a [^]

Fixes issue 39856: If a role has access to a parent org and does not have access
to a child org, can see and edit Pending Goods Receipt of child

It is filtered also by the organizations accessible by the user's role. This avoid
to see records of child organizations where the role hasn't access.

---
M src/org/openbravo/erpCommon/ad_forms/MaterialReceiptPending.java
M src/org/openbravo/erpCommon/ad_forms/MaterialReceiptPending_data.xsql
---
(0108860)
Sandrahuguet   
2019-01-08 17:07   
Code review + testing OK
(0110717)
hudsonbot   
2019-03-28 14:55   
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/b2fbc1588df4 [^]
Maturity status: Test