Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030035Retail ModulesWeb POSpublic2015-05-27 16:022015-06-22 12:53
Production - Confirmed Stable
0030035: 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.
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 
? Issue30035.export (1,146) 2015-05-29 13:43
Issue History
2015-05-28 01:02marvintmTypedefect => backport
2015-05-28 01:02marvintmTarget VersionRR15Q3 => RR15Q1.5
2015-05-29 13:43aaroncaleroFile Added: Issue30035.export
2015-05-29 13:44aaroncaleroNote Added: 0077894
2015-05-29 13:55dmitry_mezentsevNote Added: 0077898
2015-05-29 13:55dmitry_mezentsevSeveritymajor => minor
2015-05-29 13:56dmitry_mezentsevTag Attached: Approved
2015-05-29 14:03hgbotCheckin
2015-05-29 14:03hgbotNote Added: 0077899
2015-05-29 14:03hgbotStatusscheduled => resolved
2015-05-29 14:03hgbotResolutionopen => fixed
2015-05-29 14:03hgbotFixed in SCM revision => [^]
2015-06-22 12:53malsasuaReview Assigned To => malsasua
2015-06-22 12:53malsasuaNote Added: 0078412
2015-06-22 12:53malsasuaStatusresolved => closed
2015-06-22 12:53malsasuaFixed in Version => RR15Q1.5

2015-05-29 13:44   
Uploaded .export file with the fix. It will be pushed if/when the backport is approved.
2015-05-29 13:55 [^]
2015-05-29 14:03   
Repository: retail/backports/3.0RR15Q1.5/org.openbravo.retail.posterminal
Changeset: e0e061b75b21efc50f769a07aa2620748f6e93eb
Author: Aaron Calero <aaron.calero <at>>
Date: Fri May 29 13:37:42 2015 +0200
URL: [^]

Fixed issue 30035: 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
2015-06-22 12:53