Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039773Openbravo ERP07. Sales managementpublic2018-12-10 13:382018-12-17 13:48
anderaranguren 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
pi 
3.0PR19Q1 
Sandrahuguet
Core
No
0039773: If a role has access to a parent org and does not have access to a child org, can see the orders in Goods Receipts window
If a role has access to a parent org and does not have access to a child org, can see the orders in Goods Receipts window in Creates Lines From
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. Go to Role window, F&B International Group Admin role and delete the access to F&B España - Region Norte.
4. Log out -Log in
5. Go to Goods Receipts window and create a new record for F&B España
6. Click on Create Lines From and realize that you can select the created order for Region Norte, but the products are not shown
Analyze if it is a expected behavior to see the order. If it is, it should show the products. If it is not, it should not appear the order in the dropdown.
No tags attached.
Issue History
2018-12-10 13:38anderarangurenNew Issue
2018-12-10 13:38anderarangurenAssigned To => Triage Finance
2018-12-10 13:38anderarangurenModules => Core
2018-12-10 13:38anderarangurenTriggers an Emergency Pack => No
2018-12-10 16:47SandrahuguetAssigned ToTriage Finance => AtulOpenbravo
2018-12-13 10:34AtulOpenbravoStatusnew => scheduled
2018-12-14 08:50AtulOpenbravoNote Added: 0108596
2018-12-14 14:48hgbotCheckin
2018-12-14 14:48hgbotNote Added: 0108619
2018-12-14 14:48hgbotStatusscheduled => resolved
2018-12-14 14:48hgbotResolutionopen => fixed
2018-12-14 14:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/83a63cbaa7f09e43bfe0788c84027132133844ca [^]
2018-12-14 14:49SandrahuguetReview Assigned To => Sandrahuguet
2018-12-14 14:49SandrahuguetNote Added: 0108620
2018-12-14 14:49SandrahuguetStatusresolved => closed
2018-12-14 14:49SandrahuguetFixed in Version => 3.0PR19Q1
2018-12-17 13:48hudsonbotCheckin
2018-12-17 13:48hudsonbotNote Added: 0108640

Notes
(0108596)
AtulOpenbravo   
2018-12-14 08:50   
Test Plan
1. Login 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. Go to Role window, F&B International Group Admin role and delete the access to F&B España - Region Norte.
4. Log out -Log in again.
5. Go to Goods Receipts window and create a new record for F&B España.
6. Click on Create Lines From and realize that you cannot select the created order in Region Norte.
(0108619)
hgbot   
2018-12-14 14:48   
Repository: erp/devel/pi
Changeset: 83a63cbaa7f09e43bfe0788c84027132133844ca
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Fri Dec 14 10:49:32 2018 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/83a63cbaa7f09e43bfe0788c84027132133844ca [^]

Fixes Issue 39773: If a role has access to a parent org and
does not have access to a child org, can see the orders in
Goods Receipts window

** Child organization documents should not be used to create
linked documents in parent organizations.
** Use organization tree used to load order lines when
loaded order header

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
---
(0108620)
Sandrahuguet   
2018-12-14 14:49   
Code review + testing OK
(0108640)
hudsonbot   
2018-12-17 13:48   
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/5420c0828280 [^]
Maturity status: Test