Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0049954Openbravo ERP03. Procurement managementpublic2022-06-07 10:062022-08-10 00:47
kousalya_r 
AtulOpenbravo 
highmajoralways
closedfixed 
5
 
PR22Q3PR22Q3 
Core
No
0049954: Warehouse dropdown showing all warehouse in PO window
Please see the attached video. In Purchase order's warehouse dropdown, all warehouses are available and user can select any warehouse even if it is not even linked to that user's assigned organization.

To reproduce this issue we have created a role at organization level and user with that role has access to only one generic organization. But in Purchase order window all warehouses are available for selection.
video has been attached to reproduce the issue
No tags attached.
blocks defect 0049494 closed AtulOpenbravo Warehouse dropdown showing all warehouse in PO window 
Issue History
2022-08-04 12:43mtaalTypedefect => backport
2022-08-04 12:43mtaalTarget Version => PR22Q3
2022-08-09 16:44hgbotNote Added: 0140007
2022-08-09 19:25AtulOpenbravoNote Added: 0140013
2022-08-10 00:47hgbotResolutionopen => fixed
2022-08-10 00:47hgbotStatusscheduled => closed
2022-08-10 00:47hgbotFixed in Version => PR22Q3
2022-08-10 00:47hgbotNote Added: 0140018
2022-08-10 00:47hgbotNote Added: 0140019

Notes
(0140007)
hgbot   
2022-08-09 16:44   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/674 [^]
(0140013)
AtulOpenbravo   
2022-08-09 19:25   
Test Plan

- Login with Role F&B US Inc Procurement Role. This role has access to F&B US Inc, East Coast and West Coast Organzination.
- Create Purchase Order with F&B US Inc Organization.
- Check in Warehouse you have two options available i.e East Coast Warehouse and West Coast Warehouse.
- Set Organization as F&B US East Coast Org, check that only organization available is East Coast Warehouse
- Set Organziation as F&B US West Coast Org, check that only organization available is West Coast Warehouse
- Create a new Warehouse in F&B Internation Group Organization i.e for eg Group Warehouse.
- Create Purchase Order with F&B US Inc Organization.
- Check in Warehouse you have three options available i.e Group Warehouse, East Coast Warehouse and West Coast Warehoue.
- Set Organization as F&B US East Coast Org, check that only organization available are Group Warehouse and East Coast Warehouse
- Set Organziation as F&B US West Coast Org, check that only organization available are Group Warehouse and West Coast Warehouse

- Same also applies for Goods Receipt, Return To Vendor, Return To Vendor Shipment, Return Material Receipt window
- For Return From Customer and Sales Order, warehouse defined in natural tree org of transaction are available only if they
are defined in On Hand Warehouse tab.
(0140018)
hgbot   
2022-08-10 00:47   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 8ae798674a2e4371006db02796882126f0dead09
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 09-08-2022 20:06:39
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/8ae798674a2e4371006db02796882126f0dead09 [^]

Fixes BUG-0049954: Warehouse dropdown showing all warehouse
in PO window

**Added check whether warehouse organization is in the
transaction org natural tree or not only in the case of
non sales transaction

---
M src-db/database/sourcedata/OBUISEL_SELECTOR.xml
---
(0140019)
hgbot   
2022-08-10 00:47   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/674 [^]