Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0049943 | Openbravo ERP | A. Platform | public | 2022-08-03 23:27 | 2022-11-02 13:42 |
|
Reporter | rafaroda | |
Assigned To | montse_cabanas | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR23Q1 | |
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 |
Additional Information | |
Tags | FASH |
Relationships | related to | feature request | 0050392 | | closed | montse_cabanas | Retail Modules | Add new stores created via Copy Retail Store to existing roles |
|
Attached Files | Screenshot from 2022-08-03 23-19-18.png (120,865) 2022-08-03 23:27 https://issues.openbravo.com/file_download.php?file_id=17368&type=bug

|
|
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 | 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 | |
Notes |
|
(0142569)
|
hgbot
|
2022-10-25 17:26
|
|
|
|
(0142617)
|
hgbot
|
2022-10-26 18:30
|
|
|
|
(0142807)
|
hgbot
|
2022-11-02 13:40
|
|
|
|
(0142808)
|
hgbot
|
2022-11-02 13:40
|
|
|
|
(0142809)
|
hgbot
|
2022-11-02 13:42
|
|
|
|
(0142810)
|
hgbot
|
2022-11-02 13:42
|
|
|