Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0043038 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | always | 2020-01-28 16:51 | 2020-01-31 09:05 | |||
Reporter | barbararoncato | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR20Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | eb963f9926c5 | ||||
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 | ||||||||
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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0117386) hgbot (developer) 2020-01-31 06:54 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: eb963f9926c5b7cf0be8f805f6297ba55e4bd1eb Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Fri Jan 31 11:24:36 2020 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eb963f9926c5b7cf0be8f805f6297ba55e4bd1eb [^] Fixed issue 43038 : Added ActionCommand for SelectPrinter and SelectPDFPrinter Menu --- M src-db/database/sourcedata/OBMOBC_ACTION.xml M src-db/database/sourcedata/OBMOBC_ACTION_CTYPE.xml M src/org/openbravo/retail/posterminal/OBPOSComponentProvider.java M web/org.openbravo.retail.posterminal/js/components/menu.js A web/org.openbravo.retail.posterminal/js/actions/selectpdfprinter.js A web/org.openbravo.retail.posterminal/js/actions/selectprinter.js --- |
![]() |
|||
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 | View Revisions |
2020-01-29 17:14 | barbararoncato | Steps to Reproduce Updated | View Revisions |
2020-01-29 18:09 | guilleaer | Steps to Reproduce Updated | View Revisions |
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 |
Copyright © 2000 - 2009 MantisBT Group |