Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0043038 | Retail Modules | Web POS | public | 2020-01-28 16:51 | 2020-01-31 09:05 |
Reporter | barbararoncato | ||||
Assigned To | ranjith_qualiantech_com | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR20Q2 | |||
Merge Request Status | |||||
Review Assigned To | guilleaer | ||||
OBNetwork customer | Gold | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0043038: The preference "Web POS Select Printer" doesn't work. | ||||
Description | If the preference "Web POS Select Printer" is set to = N, it doesn't hide the options "Select Printer" and "Select PDF Printer" from the menu in WebPOS. | ||||
Steps To Reproduce | CASE 1 Preconditions: - In Channel Touchpoint Type, uncheck the flag "Select Printer Always" for terminal VBS-1. - Configure the preference "Web POS Select Printer" as N for a manual role(Cashier Vallblanca in livebuilds retail with module). Steps: 1. Login to WebPOS VBS-1 terminal, with the role from step 2. -> The option "Select Printer" is still visible but when you click on it nothing happens (with an automatic role it works) CASE 2: Preconditions: - In Channel Touchpoint Type, check the flag "Select Printer Always" for terminal VBS-1. - Configure the preference "Web POS Select Printer" as N for a manual role(Cashier Vallblanca in livebuilds retail with module). Steps: 1. Login to WebPOS with the role from step 2. -> The option "Select Printer" is hidden. summary: Preference value does not affect to the visibility on the menu but makes the click action work or not. The logic to show or not the menu entry is based on the value of the flag "Select Printer Always" of Touchpoint Type current code to manage display logic displayLogic: function() { if ( !OB.MobileApp.model.get('terminal').terminalType.selectprinteralways && _.any(OB.POS.modelterminal.get('hardwareURL'), function(printer) { return printer.hasReceiptPrinter; }) ) { this.show(); } else { this.hide(); } } | ||||
Proposed Solution | Work as other menu entries. If preference is N -> Not show If preference is enabled or is a manual role -> Show If (show == true) { if (appropiate configuration) { Show } } To achieve above behavior we will transform the menu entry into an Action | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2020-01-28 16:51 | barbararoncato | New Issue | |||
2020-01-28 16:51 | barbararoncato | Assigned To | => Retail | ||
2020-01-28 16:51 | barbararoncato | OBNetwork customer | => Gold | ||
2020-01-28 16:51 | barbararoncato | Resolution time | => 1580511600 | ||
2020-01-28 16:51 | barbararoncato | Triggers an Emergency Pack | => No | ||
2020-01-29 15:19 | rqueralta | Assigned To | Retail => rqueralta | ||
2020-01-29 17:14 | barbararoncato | Description Updated | bug_revision_view_page.php?rev_id=20256#r20256 | ||
2020-01-29 17:14 | barbararoncato | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=20258#r20258 | ||
2020-01-29 18:09 | guilleaer | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=20259#r20259 | ||
2020-01-29 18:09 | guilleaer | Proposed Solution updated | |||
2020-01-30 10:41 | guilleaer | Proposed Solution updated | |||
2020-01-30 10:43 | ranjith_qualiantech_com | Assigned To | rqueralta => ranjith_qualiantech_com | ||
2020-01-30 10:43 | ranjith_qualiantech_com | Status | new => scheduled | ||
2020-01-31 06:54 | hgbot | Checkin | |||
2020-01-31 06:54 | hgbot | Note Added: 0117386 | |||
2020-01-31 06:54 | hgbot | Status | scheduled => resolved | ||
2020-01-31 06:54 | hgbot | Resolution | open => fixed | ||
2020-01-31 06:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eb963f9926c5b7cf0be8f805f6297ba55e4bd1eb [^] | ||
2020-01-31 09:05 | guilleaer | Review Assigned To | => guilleaer | ||
2020-01-31 09:05 | guilleaer | Status | resolved => closed | ||
2020-01-31 09:05 | guilleaer | Fixed in Version | => RR20Q2 |
Notes | |||||
|
|||||
|
|