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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043038
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2020-01-28 16:512020-01-31 09:05
ReporterbarbararoncatoView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR20Q2
StatusclosedFix in branchFixed in SCM revisioneb963f9926c5
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0043038: The preference "Web POS Select Printer" doesn't work.

DescriptionIf 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 ReproduceCASE 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 SolutionWork 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

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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
---

- 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 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
Powered by Mantis Bugtracker