Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049943 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2022-08-03 23:27 | 2022-11-02 13:42 | |||
Reporter | rafaroda | View Status | public | |||||
Assigned To | montse_cabanas | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | PR23Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | Gold | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0049943: Discounts and Promotions - Add Organizations button and roles odd behavior | |||||||
Description | Discounts 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 Reproduce | See 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 Solution | In 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 | |||||||
Tags | FASH | |||||||
Attached Files | ![]() | |||||||
![]() |
|||||||||
|
![]() |
|
(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 [^] |
![]() |
|||
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 | OBNetwork customer | => No |
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 | OBNetwork customer | No => Gold |
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 | Merge Request Status | => open |
2022-10-25 17:26 | hgbot | Note Added: 0142569 | |
2022-10-26 18:30 | hgbot | Note Added: 0142617 | |
2022-11-02 13:39 | hgbot | Merge Request Status | open => approved |
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 |