Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041201Retail ModulesWeb POSpublic2019-06-25 14:402019-08-06 16:21
aaroncalero 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR19Q2.2RR19Q2.2 
marvintm
Production - Confirmed Stable
RR19Q1
No
0041201: Total amount button remains enabled in a ticket without lines when Save Deleted Tickets is configured
Total amount button remains enabled in a ticket without lines when the Save Deleted Tickets preference is configured.
Since the button is enabled, the user can navigate to the payments tab and, depending on other configuration (i.e. prepayments), complete the current (empty) ticket/layaway.
Login in backend
Go to the preference window and configure the preference Web POS Save Removed Tickets with value 'Y'
Login in webpos
Create a new ticket
Add a line with any product.
Remove the line.
Verify that the total amount button is enabled.
No tags attached.
blocks defect 0041173 closed ranjith_qualiantech_com Total amount button remains enabled in a ticket without lines when Save Deleted Tickets is configured 
Issue History
2019-06-28 13:06marvintmTypedefect => backport
2019-06-28 13:06marvintmTarget Version => RR19Q2.1
2019-07-08 12:56ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-07-12 15:14guilleaerTarget VersionRR19Q2.1 => RR19Q2.2
2019-07-22 11:11hgbotCheckin
2019-07-22 11:11hgbotNote Added: 0113556
2019-07-22 11:11hgbotStatusscheduled => resolved
2019-07-22 11:11hgbotResolutionopen => fixed
2019-07-22 11:11hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q2.2/org.openbravo.retail.posterminal/rev/ca4b637c8a66735e7e5030fc4d01ed739f597688 [^]
2019-08-06 16:21marvintmReview Assigned To => marvintm
2019-08-06 16:21marvintmStatusresolved => closed
2019-08-06 16:21marvintmFixed in Version => RR19Q2.2

Notes
(0113556)
hgbot   
2019-07-22 11:11   
Repository: retail/backports/3.0RR19Q2.2/org.openbravo.retail.posterminal
Changeset: ca4b637c8a66735e7e5030fc4d01ed739f597688
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Jul 22 14:40:32 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q2.2/org.openbravo.retail.posterminal/rev/ca4b637c8a66735e7e5030fc4d01ed739f597688 [^]

Fixed issue 41201 : Total button should be disabled when there is no receipt lines

* If receipt has no lines and payment presents, then Total button should be enabled to remove the payments.
  In payment tab, all operation should be prevented except removing payments
* Line discountedLinePrice should be unset if line qty is zero

---
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js
---