Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049943
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2022-08-03 23:272022-11-02 13:42
ReporterrafarodaView Statuspublic 
Assigned Tomontse_cabanas 
PrioritynormalResolutionfixedFixed in VersionPR23Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049943: Discounts and Promotions - Add Organizations button and roles odd behavior

DescriptionDiscounts and Promotions - Add Organizations button and roles odd behavior

With a role definition and org access to a parent organization, when adding records in subtab Organization of Discounts and Promotions window (same happens in OTF Generation Rules window) using Add Organizations button, we get an error message like Organization E443A31992CB4635AFCAEABE7183CE85 of object (PricingAdjustmentOrganization(144D209D6B7F4164AABE095D928EEAB7) (priceAdjustment: EE555A825B954E9A986991E7521DEB8A, organization: E443A31992CB4635AFCAEABE7183CE85)) is not present in OrganizationList [0, B843C30461EA4501935CB1D125C9C25A]
Steps To ReproduceSee video https://drive.google.com/file/d/1OFPEuLRT3Dg7N0MaC8NuwHj3w4Eho0ZD/view?usp=sharing [^]
* In Live Builds for F&B International https://livebuilds.openbravo.com/retail_modules_pgsql_pi/security/Login [^]
* We define a role Marketing Manager F&B España, S.A, with Org Access F&B España (in the organization tree it is above F&B España Region Norte and F&B España Region Sur), and access to Discounts and Promotions window
* We create a user mmanageres with role acess Marketing Manager F&B España, S.A
* We now log with user mmanageres and go to Discounts and Promotions window: we create a header
* We go to Organization subtab and try to add a record: we can only add F&B España and *
* We use Add Organization button: we can see tree of organization, including F&B España Region Norte and F&B España Region Sur but when selecting them we get an error message
Proposed SolutionIn order to avoid such errors in the process, in ADD ORGANIZATION popup button you should only display the organizations the user has access to in his Role > Org Access tab

This is to be fixed in ADD ORGANIZATION popup button in the windows:
* Discounts and Promotions
* OTF Generation Rules
TagsFASH
Attached Filespng file icon Screenshot from 2022-08-03 23-19-18.png [^] (120,865 bytes) 2022-08-03 23:27

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0050392 closedmontse_cabanas Retail Modules Add new stores created via Copy Retail Store to existing roles 

-  Notes
(0142569)
hgbot (developer)
2022-10-25 17:26

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/742 [^]
(0142617)
hgbot (developer)
2022-10-26 18:30

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/18 [^]
(0142807)
hgbot (developer)
2022-11-02 13:40

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/742 [^]
(0142808)
hgbot (developer)
2022-11-02 13:40

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 2010652e23904bc3a74f7d0fc9e69c1bf801e24b
Author: Montserrat Cabañas <montserrat.cabanas@openbravo.com>
Date: 02-11-2022 12:40:41
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/2010652e23904bc3a74f7d0fc9e69c1bf801e24b [^]

Fixes ISSUE-49943: Add organizations popup button should only display the ones the user has access to in the Role | Org Access tab

---
M src-db/database/sourcedata/AD_TAB.xml
---
(0142809)
hgbot (developer)
2022-11-02 13:42

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf [^]
Changeset: e914abea27f40dac2ef1b5cde4a223de3262f994
Author: Montserrat Cabañas <montserrat.cabanas@openbravo.com>
Date: 02-11-2022 12:42:41
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/commit/e914abea27f40dac2ef1b5cde4a223de3262f994 [^]

Fixes ISSUE-49943: Add organizations popup button should only display the ones the user has access to in the Role | Org Access tab

---
M src-db/database/sourcedata/AD_TAB.xml
---
(0142810)
hgbot (developer)
2022-11-02 13:42

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/18 [^]

- Issue History
Date Modified Username Field Change
2022-08-03 23:27 rafaroda New Issue
2022-08-03 23:27 rafaroda Assigned To => Triage Platform Base
2022-08-03 23:27 rafaroda File Added: Screenshot from 2022-08-03 23-19-18.png
2022-08-03 23:27 rafaroda Modules => Core
2022-08-03 23:27 rafaroda Triggers an Emergency Pack => No
2022-08-03 23:27 rafaroda Tag Attached: FASH
2022-10-03 15:28 rafaroda Type design defect => defect
2022-10-03 15:28 rafaroda Proposed Solution updated
2022-10-20 14:32 AugustoMauch Assigned To Triage Platform Base => Triage Omni OMS
2022-10-20 15:54 rafaroda Relationship added related to 0050392
2022-10-25 12:39 aferraz Assigned To Triage Omni OMS => montse_cabanas
2022-10-25 17:26 hgbot Note Added: 0142569
2022-10-26 18:30 hgbot Note Added: 0142617
2022-11-02 13:40 hgbot Resolution open => fixed
2022-11-02 13:40 hgbot Status new => closed
2022-11-02 13:40 hgbot Note Added: 0142807
2022-11-02 13:40 hgbot Fixed in Version => PR23Q1
2022-11-02 13:40 hgbot Note Added: 0142808
2022-11-02 13:42 hgbot Note Added: 0142809
2022-11-02 13:42 hgbot Note Added: 0142810


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker