Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030034Retail ModulesWeb POSpublic2015-05-27 16:022015-06-17 16:40
marvintm 
aaroncalero 
urgentminoralways
closedfixed 
5
 
RR15Q2.2RR15Q2.2 
Orekaria
Production - Confirmed Stable
No
0030034: Pay button is enabled in the Receipt discounts tab, and allows the user to enter a wrong state in the Web POS
When the Receipt discounts tab is enabled, all the buttons in the toolbar should be disabled, to force the user to either apply a discount, or close the tab. However, the Pay button is enabled, so the user can mistakenly enter a wrong state, in which most of the Web POS is disabled, so the user becomes stuck and the only option is to refresh the window.
- Log in the Web POS
- Add some products to the ticket
- Go to Receipt Discounts option in the menu
- Realize that the Pay (total) button is enabled. This is not correct.
- Click on the Pay button. Realize that you are now in an incorrect state, the menu is disabled, and you basically can only pay, but if you do you are still in this incorrect state, and the only solution is to refresh the page.
- The Pay button should be disabled in the Receipt discounts tab, like it was in 2014Q3 release.
Approved
blocks defect 0030032RR15Q3 closed aaroncalero Pay button is enabled in the Receipt discounts tab, and allows the user to enter a wrong state in the Web POS 
? Issue30034.export (1,146) 2015-05-29 13:49
https://issues.openbravo.com/file_download.php?file_id=8139&type=bug
Issue History
2015-05-28 01:02marvintmTypedefect => backport
2015-05-28 01:02marvintmTarget VersionRR15Q3 => RR15Q2.2
2015-05-29 13:49aaroncaleroFile Added: Issue30034.export
2015-05-29 13:49aaroncaleroNote Added: 0077895
2015-05-29 13:55dmitry_mezentsevNote Added: 0077897
2015-05-29 13:55dmitry_mezentsevSeveritymajor => minor
2015-05-29 13:55dmitry_mezentsevTag Attached: Approved
2015-05-29 14:07aaroncaleroNote Edited: 0077895bug_revision_view_page.php?bugnote_id=0077895#r8711
2015-06-12 12:12hgbotCheckin
2015-06-12 12:12hgbotNote Added: 0078231
2015-06-12 12:12hgbotStatusscheduled => resolved
2015-06-12 12:12hgbotResolutionopen => fixed
2015-06-12 12:12hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q2.2/org.openbravo.retail.posterminal/rev/4e5b1393b0a482d93e3871696c61afaf463d7a04 [^]
2015-06-17 16:40OrekariaReview Assigned To => Orekaria
2015-06-17 16:40OrekariaNote Added: 0078341
2015-06-17 16:40OrekariaStatusresolved => closed
2015-06-17 16:40OrekariaFixed in Version => RR15Q2.2

Notes
(0077895)
aaroncalero   
2015-05-29 13:49   
(edited on: 2015-05-29 14:07)
Uploaded .export file with the fix. It will be pushed when the backport repository is available.

(0077897)
dmitry_mezentsev   
2015-05-29 13:55   
http://wiki.openbravo.com/wiki/Bug_Reporting_Guidelines#How_to_Choose_the_Right_Severity [^]
(0078231)
hgbot   
2015-06-12 12:12   
Repository: retail/backports/3.0RR15Q2.2/org.openbravo.retail.posterminal
Changeset: 4e5b1393b0a482d93e3871696c61afaf463d7a04
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Fri May 29 13:37:42 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2.2/org.openbravo.retail.posterminal/rev/4e5b1393b0a482d93e3871696c61afaf463d7a04 [^]

Fixed issue 30034: Pay button is enabled in the Receipt discounts tab

Take into account the isEnabled attribute of the button when changing its status

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js
---
(0078341)
Orekaria   
2015-06-17 16:40   
Related test added to the RR15Q2 tests of pi-mobile, and passed