Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051193
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2022-12-19 11:542022-12-27 13:07
Reportermeriem_azafView Statuspublic 
Assigned Tomeriem_azaf 
PrioritynormalResolutionfixedFixed in Version23Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051193: Button "Print last order" not working

DescriptionWhen we press the button "Reprint last order" it does not work, a pop up is supposed to appear and propose a printing mode but this is not the case in V2 and nothing appears in the dev console.
Steps To Reproduce1- Login in POS2.
2- Complete a ticket.
3- Press the button "Reprint last order".

It does not work.
TagsNo tags attached.
Attached Filespng file icon image-20221124-095417.png [^] (134,230 bytes) 2022-12-19 11:54

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0144813)
hgbot (developer)
2022-12-19 12:05

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1422 [^]
(0145036)
hgbot (developer)
2022-12-27 13:07

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 9f34dbde951d201122804bee4bfdd1b63819b447
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 27-12-2022 13:01:07
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/9f34dbde951d201122804bee4bfdd1b63819b447 [^]

Fixes ISSUE-51193: Button "Print last order" not working

When we press the button "Reprint last order" it does not work, a pop up is supposed to appear and propose a printing mode but this is not the case in V2 and nothing appears in the dev console.

The problem here was when we don't have permission related to the user action "Print Bill" related to the button "Reprint last order", this button was not disabled.

To fix this, we checked the permission related this user action in "ReprintLastOrder.js" and we removed the file "ReprintLastOrderReceipt.js" because it was redundant and also was extending UserAction and this was wrong and also we removed the test file related to this one.

---
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/ReprintLastOrderUserAction.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/ReprintLastOrder.js
M web-jspack/org.openbravo.pos2/src/ob-init.js
R web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/ReprintLastOrderReceiptUserAction.test.js
R web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/ReprintLastOrderReceipt.js
---
(0145037)
hgbot (developer)
2022-12-27 13:07

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1422 [^]

- Issue History
Date Modified Username Field Change
2022-12-19 11:54 meriem_azaf New Issue
2022-12-19 11:54 meriem_azaf Assigned To => Retail
2022-12-19 11:54 meriem_azaf File Added: image-20221124-095417.png
2022-12-19 11:54 meriem_azaf Triggers an Emergency Pack => No
2022-12-19 11:54 meriem_azaf Assigned To Retail => meriem_azaf
2022-12-19 11:54 meriem_azaf Status new => scheduled
2022-12-19 12:05 hgbot Note Added: 0144813
2022-12-19 12:32 meriem_azaf Summary Regression: Button - Print last order not working => Button : Print last order not working
2022-12-19 12:33 meriem_azaf Summary Button : Print last order not working => Button "Print last order" not working
2022-12-27 13:07 hgbot Resolution open => fixed
2022-12-27 13:07 hgbot Status scheduled => closed
2022-12-27 13:07 hgbot Fixed in Version => 23Q1
2022-12-27 13:07 hgbot Note Added: 0145036
2022-12-27 13:07 hgbot Note Added: 0145037


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker