Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034621Retail ModulesWeb POSpublic2016-11-24 20:062017-01-25 10:08
Osmany 
marvintm 
highmajoralways
closedfixed 
5
 
 
migueldejuana
No
0034621: [SER-QA 2115] Impossible remove ticket because it have a payment.
When we create a ticket with a partial payment and we remove all product lines, it is impossible to remove the ticket. Because we can't delete payments.
- Go to the Web POS.
- Create a ticket.
- Add a product.
- Pay it partially.
- Add a new product.
- Remove both products.
- Try to delete the ticket.
- Appears a message indicate action for can delete ticket. But is not possible do.
SER-QA
related to defect 0034151 closed ranjith_qualiantech_com [SER QA 1884] It should not be allowed to close a layaway with new payments added 
Issue History
2016-11-24 20:06OsmanyNew Issue
2016-11-24 20:06OsmanyAssigned To => Retail
2016-11-24 20:06OsmanyResolution time => 1481151600
2016-11-24 20:06OsmanyTriggers an Emergency Pack => No
2016-11-24 20:09OsmanyDescription Updatedbug_revision_view_page.php?rev_id=13881#r13881
2016-11-24 20:22OsmanyTag Attached: SER-QA
2016-11-24 20:23OsmanySummaryImpossible remove ticket because it have a payment. => [SER-QA 2115]Impossible remove ticket because it have a payment.
2016-11-24 20:24OsmanySummary[SER-QA 2115]Impossible remove ticket because it have a payment. => [SER-QA 2115] Impossible remove ticket because it have a payment.
2016-11-28 13:59adrianromeroNote Added: 0091894
2016-12-12 15:22mario_castelloAssigned ToRetail => mario_castello
2016-12-12 15:22mario_castelloStatusnew => acknowledged
2016-12-13 12:09marvintmAssigned Tomario_castello => marvintm
2016-12-13 12:09marvintmStatusacknowledged => scheduled
2016-12-13 19:06hgbotCheckin
2016-12-13 19:06hgbotNote Added: 0092326
2016-12-13 19:06hgbotCheckin
2016-12-13 19:06hgbotNote Added: 0092327
2016-12-13 19:06hgbotStatusscheduled => resolved
2016-12-13 19:06hgbotResolutionopen => fixed
2016-12-13 19:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b13f6e29c2d219331809561f55099ef910e0bb7d [^]
2016-12-13 19:06hgbotCheckin
2016-12-13 19:06hgbotNote Added: 0092328
2016-12-13 19:06hgbotCheckin
2016-12-13 19:06hgbotNote Added: 0092329
2016-12-19 10:50migueldejuanaReview Assigned To => migueldejuana
2016-12-19 10:50migueldejuanaNote Added: 0092759
2016-12-19 10:50migueldejuanaStatusresolved => closed
2017-01-25 10:08marvintmRelationship addedrelated to 0034151

Notes
(0091894)
adrianromero   
2016-11-28 13:59   
Actually the problem is that the order has a partial payment but the cashier cannot access the payment panel because the receipt has no lines, the total is zero and the button to access the payments panel is disabled.

The workaround is to add temporary a line to the receipt, go to the payments panel, delete the payment, and finally delete the receipt.
(0092326)
hgbot   
2016-12-13 19:06   
Repository: tools/automation/pi-mobile
Changeset: af4ea48a680f4307d6910e2d640970173e11c01b
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Dec 13 12:41:01 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/af4ea48a680f4307d6910e2d640970173e11c01b [^]

Related to issue 34621. Added test for the issue

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I34621_RemovePaymentFromTicketWithoutLines.java
---
(0092327)
hgbot   
2016-12-13 19:06   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b13f6e29c2d219331809561f55099ef910e0bb7d
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Dec 13 12:40:17 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b13f6e29c2d219331809561f55099ef910e0bb7d [^]

Fixed issue 34621. Now it will be possible to remove tickets if they have payments and don't have lines, as the total button will be enabled.

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js
---
(0092328)
hgbot   
2016-12-13 19:06   
Repository: tools/automation/pi-mobile
Changeset: d1e82667afe7d895f1d6ab161aa7e6425e199614
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Dec 13 19:05:28 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/d1e82667afe7d895f1d6ab161aa7e6425e199614 [^]

Related to issue 34621. Added license to test

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I34621_RemovePaymentFromTicketWithoutLines.java
---
(0092329)
hgbot   
2016-12-13 19:06   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 1c421c66b4b0cd1b2a75f17afc1b4d95a08a9219
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Dec 13 15:48:54 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1c421c66b4b0cd1b2a75f17afc1b4d95a08a9219 [^]

Related to issue 34621. Ran beautifier

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js
---
(0092759)
migueldejuana   
2016-12-19 10:50   
Tested and reviewed