Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0052309 | Modules | Freight Management | public | 2023-05-02 20:20 | 2023-05-19 14:48 |
|
Reporter | axelmercado | |
Assigned To | tonialcaide | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | approved |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | |
Support ticket | 61763 |
OBNetwork customer | OBPS |
Regression introduced in release | |
|
Summary | 0052309: Error when deleting more than 1 record with user with manual role. |
Description | When a user with a manual role tries to delete more than one line in the Sales Order window, it generates the error shown in the attached image. |
Steps To Reproduce | 1- Log in with a user with a manual role.
2- Go to the "Sales Order" window and select a record containing many lines.
3- If you try to delete more than 1, the following error occurs: "With your current role this action is not allowed". |
Proposed Solution | As Augusto from the Platform team observed, the problem is in the org.openbravo.materialmgmt.freightmgmt module, specifically here [1] where it tries to access the getProductType() method of Product without having write permission (in that case only the id and identifier can be accessed).
[1] https://gitlab.com/openbravo/product/pmods/org.openbravo.materialmgmt.freightmgmt/-/blob/master/src/org/openbravo/materialmgmt/freightmgmt/event/SalesOrderEventHandler.java#L72 [^]
You may need to add a setAdminMode block in that event handler. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | caperror.png (391,792) 2023-05-02 20:20 https://issues.openbravo.com/file_download.php?file_id=18471&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2023-05-02 20:20 | axelmercado | New Issue | |
2023-05-02 20:20 | axelmercado | Assigned To | => Triage Omni OMS |
2023-05-02 20:20 | axelmercado | File Added: caperror.png | |
2023-05-02 20:20 | axelmercado | Support ticket | => 61763 |
2023-05-02 20:20 | axelmercado | OBNetwork customer | => OBPS |
2023-05-02 20:21 | axelmercado | Assigned To | Triage Omni OMS => vmromanos |
2023-05-02 21:38 | Practics | Issue Monitored: Practics | |
2023-05-03 08:12 | vmromanos | Assigned To | vmromanos => Triage Omni WMS |
2023-05-04 10:51 | mtaal | Assigned To | Triage Omni WMS => tonialcaide |
2023-05-19 10:31 | hgbot | Merge Request Status | => open |
2023-05-19 10:31 | hgbot | Note Added: 0149967 | |
2023-05-19 14:36 | hgbot | Merge Request Status | open => approved |
2023-05-19 14:48 | hgbot | Resolution | open => fixed |
2023-05-19 14:48 | hgbot | Status | new => closed |
2023-05-19 14:48 | hgbot | Note Added: 0149995 | |
2023-05-19 14:48 | hgbot | Fixed in Version | => PR23Q3 |
2023-05-19 14:48 | hgbot | Note Added: 0149996 | |