Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0044554Openbravo ERP04. Warehouse managementpublic2020-07-03 18:162020-07-31 10:08
lbressan 
inigo_lerga 
normalmajoralways
closedfixed 
5
 
PR20Q4 
Core
No
0044554: New Physical Inventory documents created with incorrect organization
When user logs in with a role which has multiple organization access, then new Physical Inventory document is populated with incorrect organization. The bug could be reproduced in RR19Q4.4 and also RR20Q2

Please see the attached document which contains all the details.
    1) Login with any role (having multiple organization access) in any organization
    2) Open Physical inventory window.
    3) Click on any row with organization, other than the organization selected during login.
    4) Create a new Physical inventory document.
    5) The new inventory document is populated with organization as in step 3 and not the default organization.
No tags attached.
docx Bug – Physical Inventory document created with incorrect organization.docx (16,616) 2020-07-03 18:16
https://issues.openbravo.com/file_download.php?file_id=14733&type=bug
Issue History
2020-07-03 18:16lbressanNew Issue
2020-07-03 18:16lbressanAssigned To => Retail
2020-07-03 18:16lbressanFile Added: Bug – Physical Inventory document created with incorrect organization.docx
2020-07-03 18:16lbressanTriggers an Emergency Pack => No
2020-07-07 16:06ngarciaResolution time => 1595541600
2020-07-10 08:28marvintmProjectRetail Modules => Openbravo ERP
2020-07-10 08:29marvintmModules => Core
2020-07-10 08:29marvintmAssigned ToRetail => Triage Finance
2020-07-10 08:29marvintmCategoryMobile Physical Inventory => 04. Warehouse management
2020-07-10 08:29marvintmversionRR19Q4.4 =>
2020-07-10 08:29marvintmTarget VersionRR20Q2.2 =>
2020-07-10 10:43SandrahuguetAssigned ToTriage Finance => inigo_lerga
2020-07-10 12:14inigo_lergaStatusnew => scheduled
2020-07-23 09:57inigo_lergaNote Added: 0121575
2020-07-24 10:24dmiguelezAssigned Toinigo_lerga => platform
2020-07-30 01:09AugustoMauchAssigned Toplatform => Triage Finance
2020-07-30 08:40dmiguelezAssigned ToTriage Finance => inigo_lerga
2020-07-30 15:23hgbotNote Added: 0121717
2020-07-31 10:08hgbotResolutionopen => fixed
2020-07-31 10:08hgbotStatusscheduled => closed
2020-07-31 10:08hgbotNote Added: 0121731
2020-07-31 10:08hgbotFixed in Version => PR20Q4
2020-07-31 10:08hgbotNote Added: 0121732

Notes
(0121575)
inigo_lerga   
2020-07-23 09:57   
--Test Plan Mantis HQL--

As the F&B International Group Admin role in Backend (with a specific Organization):
  - Go to Physical Inventory window and select any record with a different Organization
    than the one selected in your login preferences.
    Create a new Physical Inventory record. It is now populated with the correct Organization.
(0121717)
hgbot   
2020-07-30 15:23   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/117 [^]
(0121731)
hgbot   
2020-07-31 10:08   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/117 [^]
(0121732)
hgbot   
2020-07-31 10:08   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: c24aba2e67ef609032695c3c2571364ebf17d9e6
Author: inigo_lerga <inigo.lerga@openbravo.com>
Date: 2020-07-30T09:51:31+02:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/c24aba2e67ef609032695c3c2571364ebf17d9e6 [^]

fixes BUG-44554:Default Organization instead of selected one

Now the default Organization in the User login preferences
is the one used for a new record instead of the selected
one in the grid view of Physical Inventory window.

---
M src-db/database/sourcedata/AD_COLUMN.xml
---