Openbravo Issue Tracking System - Retail Modules
View Issue Details
0055124Retail ModulesWeb POSpublic2024-04-08 13:142024-04-23 08:15
XABIER_AGUADO 
caristu 
highmajoralways
closedfixed 
5
 
RR24Q3 
No
0055124: Cannot you print a duplicate for a ticket from another store (Cross Store) with Inmutable reports/reprintable Documents
After opening a sale done on Store X in store Y, a warning appears when opening the ticket :‘The loaded order didnt match with Schema’
Then, when trying to print an error appears.

This happens when activating Inmutable reports/reprintable Documents

1) Activate for store X and Store Y the Inmutable reports/reprintable Documents http://wiki.openbravo.com/wiki/Immutable_Reports [^]
2) Log in on Store X and do a sale
3) Log in on Store Y and recall the sale done in store X --> a warning appears 4) when opening the ticket :‘The loaded order didnt match with Schema’
5) Try reprinting the ticket --> an error appears.
FASH
related to feature request 0052134 closed Triage Platform Base Openbravo ERP Support Immutable Printable Reports 
related to defect 0054527 closed caristu Retail Modules You can't use Reprintable Documents in POS with an user with a Manual Role 
png schema1.png (6,392) 2024-04-08 13:14
https://issues.openbravo.com/file_download.php?file_id=19626&type=bug
png

png Error_reprint.png (222,966) 2024-04-08 13:14
https://issues.openbravo.com/file_download.php?file_id=19627&type=bug
png

png Screenshot from 2024-04-08 16-19-16.png (127,366) 2024-04-08 16:19
https://issues.openbravo.com/file_download.php?file_id=19629&type=bug
png
Issue History
2024-04-08 13:14XABIER_AGUADONew Issue
2024-04-08 13:14XABIER_AGUADOAssigned To => Retail
2024-04-08 13:14XABIER_AGUADOFile Added: schema1.png
2024-04-08 13:14XABIER_AGUADOTriggers an Emergency Pack => No
2024-04-08 13:14XABIER_AGUADOTag Attached: FASH
2024-04-08 13:14XABIER_AGUADOFile Added: Error_reprint.png
2024-04-08 13:42rafarodaSummaryCannot you print a duplicate for a ticket from another store (Cross Store) => Cannot you print a duplicate for a ticket from another store (Cross Store) with Inmutable reports/reprintable Documents
2024-04-08 13:42rafarodaDescription Updatedbug_revision_view_page.php?rev_id=27783#r27783
2024-04-08 13:42rafarodaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=27785#r27785
2024-04-08 13:49rafarodaRelationship addedrelated to 0052134
2024-04-08 13:50rafarodaRelationship addedrelated to 0054527
2024-04-08 16:18jorgewederagoAssigned ToRetail => Triage Platform Conn
2024-04-08 16:19jorgewederagoFile Added: Screenshot from 2024-04-08 16-19-16.png
2024-04-08 17:23adrianromeroNote Added: 0162926
2024-04-08 17:23adrianromeroStatusnew => feedback
2024-04-09 09:51adrianromeroAssigned ToTriage Platform Conn => caristu
2024-04-09 09:51adrianromeroStatusfeedback => scheduled
2024-04-12 13:56hgbotNote Added: 0163154
2024-04-12 13:59hgbotNote Added: 0163155
2024-04-23 08:14hgbotNote Added: 0163555
2024-04-23 08:14hgbotNote Added: 0163556
2024-04-23 08:15hgbotResolutionopen => fixed
2024-04-23 08:15hgbotStatusscheduled => closed
2024-04-23 08:15hgbotFixed in Version => RR24Q3
2024-04-23 08:15hgbotNote Added: 0163557
2024-04-23 08:15hgbotNote Added: 0163558

Notes
(0162926)
adrianromero   
2024-04-08 17:23   
Can you please verify the logged user has read permissions for orders / invoices of the order to be printed?

The exception is raised in this cases in the method that checks the permissions:

ReprintableDocumentManager.java -> findReprintableDocument -> checkReadableAccess()
(0163154)
hgbot   
2024-04-12 13:56   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1197 [^]
(0163155)
hgbot   
2024-04-12 13:59   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1529 [^]
(0163555)
hgbot   
2024-04-23 08:14   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1197 [^]
(0163556)
hgbot   
2024-04-23 08:14   
Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 85ea791b186d31450696af13d6b3a651c4576954
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 22-04-2024 14:10:09
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/85ea791b186d31450696af13d6b3a651c4576954 [^]

related to BUG-55124: support defining special read access checks

---
A src-test/src/org/openbravo/dal/security/SecurityCheckerTest.java
A src/org/openbravo/dal/security/SecurityCheckerExtension.java
M src-test/src/org/openbravo/test/StandaloneTestSuite.java
M src/org/openbravo/dal/security/SecurityChecker.java
---
(0163557)
hgbot   
2024-04-23 08:15   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 58edfc50e9176b908c9efa2ce51448e2762ffb2f
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 23-04-2024 06:15:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/58edfc50e9176b908c9efa2ce51448e2762ffb2f [^]

fixes BUG-55124: consider cross store config in readable object checks

---
A src/org/openbravo/retail/posterminal/security/CrossStoreSecurityCheckerExtension.java
---
(0163558)
hgbot   
2024-04-23 08:15   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1529 [^]