Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041202Retail ModulesWeb POSpublic2019-06-25 14:402019-08-06 16:22
aaroncalero 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR19Q1.3RR19Q1.3 
marvintm
Production - Confirmed Stable
RR19Q1
No
0041202: 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 => RR19Q1.2
2019-07-05 15:13marvintmTarget VersionRR19Q1.2 => RR19Q1.3
2019-07-08 12:56ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-07-18 09:06hgbotCheckin
2019-07-18 09:06hgbotNote Added: 0113494
2019-07-18 09:06hgbotStatusscheduled => resolved
2019-07-18 09:06hgbotResolutionopen => fixed
2019-07-18 09:06hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q1.3/org.openbravo.retail.posterminal/rev/444ad39d449425e2a87f4fc27fcecb9b988da3c6 [^]
2019-08-06 16:22marvintmReview Assigned To => marvintm
2019-08-06 16:22marvintmStatusresolved => closed
2019-08-06 16:22marvintmFixed in Version => RR19Q1.3

Notes
(0113494)
hgbot   
2019-07-18 09:06   
Repository: retail/backports/3.0RR19Q1.3/org.openbravo.retail.posterminal
Changeset: 444ad39d449425e2a87f4fc27fcecb9b988da3c6
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Jul 18 12:30:50 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1.3/org.openbravo.retail.posterminal/rev/444ad39d449425e2a87f4fc27fcecb9b988da3c6 [^]

Fixed issue 41202 : 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 src-db/database/sourcedata/OBMOBC_PROCESS_DEFINITION.xml
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
---