Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0051193 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | have not tried | 2022-12-19 11:54 | 2022-12-27 13:07 | |||
Reporter | meriem_azaf | View Status | public | |||||
Assigned To | meriem_azaf | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 23Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0051193: Button "Print last order" not working | |||||||
Description | 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. | |||||||
Steps To Reproduce | 1- Login in POS2. 2- Complete a ticket. 3- Press the button "Reprint last order". It does not work. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(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 [^] |
![]() |
|||
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 | OBNetwork customer | => No |
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 | Merge Request Status | => open |
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 | Merge Request Status | open => approved |
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 |