Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0051180 | POS2 | POS | public | 2022-12-16 12:43 | 2022-12-23 09:01 |
|
Reporter | jetxarri | |
Assigned To | Retail | |
Priority | high | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | pi | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0051180: Goodby message should enqueue a message to be treated by HardwareManager endpoint |
Description | Goodby message is not using message structure and it is doing a direct request to the hardware manager, what it is wrong.
Currently, in file org.openbravo.retail.posterminal/web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js it is possible to see function "printGoodBye" and how is not enqueueing any message.
It should work similar to "Welcome message" in function "printWelcome".
Apart from that, when the function "printGoodBye" is called, it is being checked that HM is configured and it should not be like that and delegate the responsibility into the class that implement the hardware manager endpoint.
Take into consideration that in POS2 the goodbye function is not being called when the session is closed and it should.
-file web/org.openbravo.retail.posterminal/js/login/model/login-model.js function postCloseSession. This is done for POS1 and it should be in POS2
|
Steps To Reproduce | -Login into Web POS
-Lock screen or do a cashup |
Proposed Solution | Take a look to function OB.OBPOSPointOfSale.Print.printWelcome and do the same for Goodbye message. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-12-16 12:43 | jetxarri | New Issue | |
2022-12-16 12:43 | jetxarri | Assigned To | => Retail |
2022-12-16 12:43 | jetxarri | Triggers an Emergency Pack | => No |
2022-12-16 12:50 | jetxarri | Description Updated | bug_revision_view_page.php?rev_id=25263#r25263 |
2022-12-23 08:55 | hgbot | Note Added: 0144954 | |
2022-12-23 08:56 | hgbot | Note Added: 0144955 | |
2022-12-23 08:59 | hgbot | Note Added: 0144956 | |
2022-12-23 09:01 | hgbot | Note Added: 0144957 | |