Openbravo Issue Tracking System - POS2
View Issue Details
0054551POS2[Retail Modules] Sessionspublic2024-02-02 08:372024-02-14 10:36
inaki_luque 
inaki_luque 
normaltrivialhave not tried
closedfixed 
5
 
 
No
0054551: Enable Print Sales Report in POS2
A report was available in the Enyo version but never ported to React. Therefore, it now needs to be enabled to launch the Sales Report in the pos2 version.
- It looks like the code and report code is still present in the session module but there is no menu entry available in React to launch it.

- The behaviour can be seen in EnyoPos by purchasing a ticket and clicking on the Print Sales Report menu entry
- Create a new user action: WebPOS Print Sales Report
- A new menu entry should be added to webPOS (React) linked to the user action described above. This menu entry should just be visible if the logged user has permissions.
No tags attached.
Issue History
2024-02-02 08:37inaki_luqueNew Issue
2024-02-02 08:37inaki_luqueAssigned To => inaki_luque
2024-02-02 08:37inaki_luqueTriggers an Emergency Pack => No
2024-02-02 08:38inaki_luqueStatusnew => scheduled
2024-02-09 15:03hgbotNote Added: 0160580
2024-02-09 15:23hgbotNote Added: 0160583
2024-02-12 10:54hgbotNote Added: 0160607
2024-02-13 10:21jorgewederagoProjectRetail Modules => POS2
2024-02-14 10:36hgbotResolutionopen => fixed
2024-02-14 10:36hgbotStatusscheduled => closed
2024-02-14 10:36hgbotNote Added: 0160726
2024-02-14 10:36hgbotNote Added: 0160727

Notes
(0160580)
hgbot   
2024-02-09 15:03   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/106 [^]
(0160583)
hgbot   
2024-02-09 15:23   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1362 [^]
(0160607)
hgbot   
2024-02-12 10:54   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1362 [^]
(0160726)
hgbot   
2024-02-14 10:36   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: a2d01df2b9274e735d0c6b36ea66ff359ff459b9
Author: IƱaki Luque <i.luque@orisha.com>
Date: 14-02-2024 09:36:17
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/a2d01df2b9274e735d0c6b36ea66ff359ff459b9 [^]

Fixed ISSUE-54551: Enable Print Sales Report in POS2

---
A web-jspack/org.openbravo.retail.sessions/src/assets/icons/sales-report.svg
A web-jspack/org.openbravo.retail.sessions/src/assets/style/iconography.scss
A web-jspack/org.openbravo.retail.sessions/src/assets/style/main.scss
A web-jspack/org.openbravo.retail.sessions/src/model/global/actions/PrintSalesReport.js
A web-jspack/org.openbravo.retail.sessions/src/model/global/actions/__test__/PrintSalesReport.test.js
A web-jspack/org.openbravo.retail.sessions/src/model/salesReport/user-actions/PrintSalesReport.js
A web/org.openbravo.retail.sessions/app/external-device/printing/PrintTemplateStore.js
A web/org.openbravo.retail.sessions/app/model/business-logic/salesreport/SalesReport.js
M src-db/database/sourcedata/OBC2_USER_ACTION.xml
M src-db/database/sourcedata/OBMOBC_SERVICES.xml
M src/org/openbravo/retail/sessions/POSSComponentProvider.java
M web-jspack/org.openbravo.retail.sessions/src/model/global/GlobalExtension.js
M web-jspack/org.openbravo.retail.sessions/src/ob-init.js
M web/org.openbravo.retail.sessions/js/reports/SalesReportMenu.js
M web/org.openbravo.retail.sessions/res/salesreport.xml
R web/org.openbravo.retail.sessions/js/reports/SalesReportUtils.js
---
(0160727)
hgbot   
2024-02-14 10:36   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/106 [^]