Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||||||||||||
| View Issue Details | |||||||||||||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||||||||||
| 0054527 | Retail Modules | Web POS | public | 2024-01-31 15:32 | 2024-04-09 09:49 | ||||||||||||||||||||||||
| Reporter | XABIER_AGUADO | ||||||||||||||||||||||||||||
| Assigned To | caristu | ||||||||||||||||||||||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||||||||||||||||||||||
| Status | closed | Resolution | fixed | ||||||||||||||||||||||||||
| Platform | OS | 5 | OS Version | ||||||||||||||||||||||||||
| Product Version | |||||||||||||||||||||||||||||
| Target Version | Fixed in Version | RR24Q2 | |||||||||||||||||||||||||||
| Merge Request Status | approved | ||||||||||||||||||||||||||||
| Review Assigned To | |||||||||||||||||||||||||||||
| OBNetwork customer | Gold | ||||||||||||||||||||||||||||
| Support ticket | |||||||||||||||||||||||||||||
| Regression level | |||||||||||||||||||||||||||||
| Regression date | |||||||||||||||||||||||||||||
| Regression introduced in release | |||||||||||||||||||||||||||||
| Regression introduced by commit | |||||||||||||||||||||||||||||
| Triggers an Emergency Pack | No | ||||||||||||||||||||||||||||
| Summary | 0054527: You can't use Reprintable Documents in POS with an user with a Manual Role | ||||||||||||||||||||||||||||
| Description | When using a Manual Role we cant use Reprintable documents. Most relevant stack line is: at org.openbravo.mobile.core.report.ReprintableDocumentService.exec(ReprintableDocumentService.java:69) [classes/:?] Line´s GitLab: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/blob/master/src/org/openbravo/mobile/core/report/ReprintableDocumentService.java?ref_type=heads#L69 [^] That process does not have a setAdminMode, so everything it executes, it does with the user's real permissions. That process ends up calling another core process, which does an explicit check of the user permissions: modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/ReprintableDocumentManager.java · master · openbravo / product / openbravo · GitLab As the particular user does not have read permissions for the Order entity, the process fails to retrieve the report. | ||||||||||||||||||||||||||||
| Steps To Reproduce | In window Organization select 'Reprintable Documents' = ENABLED and log in on a POS using the Vall Blanca Manual role. Do a sale on the POS Try Reprinting the Document --> An error appears | ||||||||||||||||||||||||||||
| Proposed Solution | |||||||||||||||||||||||||||||
| Additional Information | |||||||||||||||||||||||||||||
| Tags | No tags attached. | ||||||||||||||||||||||||||||
| Relationships |
| ||||||||||||||||||||||||||||
| Attached Files | |||||||||||||||||||||||||||||
| Issue History | |||||||||||||||||||||||||||||
| Date Modified | Username | Field | Change | ||||||||||||||||||||||||||
| 2024-01-31 15:32 | XABIER_AGUADO | New Issue | |||||||||||||||||||||||||||
| 2024-01-31 15:32 | XABIER_AGUADO | Assigned To | => Retail | ||||||||||||||||||||||||||
| 2024-01-31 15:32 | XABIER_AGUADO | OBNetwork customer | => Gold | ||||||||||||||||||||||||||
| 2024-01-31 15:32 | XABIER_AGUADO | Triggers an Emergency Pack | => No | ||||||||||||||||||||||||||
| 2024-02-06 13:44 | guillermogil | Assigned To | Retail => Triage Platform Base | ||||||||||||||||||||||||||
| 2024-02-08 17:56 | caristu | Relationship added | depends on 0054625 | ||||||||||||||||||||||||||
| 2024-02-08 17:58 | caristu | Relationship deleted | depends on 0054625 | ||||||||||||||||||||||||||
| 2024-02-09 09:02 | adrianromero | Assigned To | Triage Platform Base => Triage Platform Conn | ||||||||||||||||||||||||||
| 2024-02-12 18:07 | hgbot | Merge Request Status | => open | ||||||||||||||||||||||||||
| 2024-02-12 18:07 | hgbot | Note Added: 0160651 | |||||||||||||||||||||||||||
| 2024-02-13 17:17 | hgbot | Merge Request Status | open => approved | ||||||||||||||||||||||||||
| 2024-02-13 18:28 | hgbot | Note Added: 0160704 | |||||||||||||||||||||||||||
| 2024-02-13 18:28 | hgbot | Resolution | open => fixed | ||||||||||||||||||||||||||
| 2024-02-13 18:28 | hgbot | Status | new => closed | ||||||||||||||||||||||||||
| 2024-02-13 18:28 | hgbot | Fixed in Version | => RR24Q2 | ||||||||||||||||||||||||||
| 2024-02-13 18:28 | hgbot | Note Added: 0160705 | |||||||||||||||||||||||||||
| 2024-02-23 09:56 | caristu | Relationship added | related to 0054752 | ||||||||||||||||||||||||||
| 2024-02-26 16:01 | caristu | Relationship deleted | related to 0054752 | ||||||||||||||||||||||||||
| 2024-02-26 16:04 | caristu | Relationship added | related to 0054753 | ||||||||||||||||||||||||||
| 2024-04-02 17:16 | adrianromero | Issue cloned | 0055079 | ||||||||||||||||||||||||||
| 2024-04-02 17:16 | adrianromero | Relationship added | blocks 0055079 | ||||||||||||||||||||||||||
| 2024-04-08 13:50 | rafaroda | Relationship added | related to 0055124 | ||||||||||||||||||||||||||
| 2024-04-09 09:49 | adrianromero | Assigned To | Triage Platform Conn => caristu | ||||||||||||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||