Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030904Retail ModulesWeb POSpublic2015-09-23 17:552015-12-14 18:17
aaroncalero 
jorge-garcia 
normalmajoralways
closedfixed 
5
pi 
RR15Q4 
marvintm
Coding ( Testing )
pi
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/92e150fb18152d7831b7cfbe74329e5582a0eaf9 [^]
No
0030904: Taxes and total not updated when a line is removed with the old discount flow
When the old flow for discounts is configured (the WEB POS Enable New Flow Discount preference is configured with value N), and a line is removed in a webpos ticket, taxes and total amounts are not properly recalculated.
Login on the ERP and ensure the WEB POS Enable New Flow Discount is configured with value N
Login on webpos and create a ticket.
Add a product (e.g. the Avalanche Transceiver).
Verify that the total/qty/taxes are correctly updated.
Select the line and remove it.
Verify that the total/qty/taxes remain on the screen (see attached screenshot).
The discountsApplied event is fired when the discount calculation finishes, but there is no event handler for that event with the old discount flow.
No tags attached.
depends on defect 0030771RR16Q1 closed jorge-garcia CalculateTaxes should not be executed when the receipt is being closed 
caused by defect 0030498 closed jorge-garcia infinite loop with discounts of type "Buy X pay Y of different product" 
png taxes_total_not_removed.png (122,762) 2015-09-24 11:00
https://issues.openbravo.com/file_download.php?file_id=8480&type=bug
png
Issue History
2015-09-23 17:55aaroncaleroNew Issue
2015-09-23 17:55aaroncaleroAssigned To => Retail
2015-09-23 17:55aaroncaleroResolution time => 1443564000
2015-09-23 17:55aaroncaleroRegression level => Coding ( Testing )
2015-09-23 17:55aaroncaleroRegression introduced in release => pi
2015-09-23 17:55aaroncaleroTriggers an Emergency Pack => No
2015-09-24 11:00aaroncaleroFile Added: taxes_total_not_removed.png
2015-09-28 23:07fmolinaStatusnew => scheduled
2015-09-28 23:07fmolinaAssigned ToRetail => fmolina
2015-09-29 13:12OrekariaRelationship addedcaused by 0030498
2015-09-29 13:13OrekariaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/92e150fb18152d7831b7cfbe74329e5582a0eaf9 [^]
2015-09-30 16:16marvintmAssigned Tofmolina => jorge-garcia
2015-10-01 13:28marvintmNote Added: 0080785
2015-10-01 13:28marvintmStatusscheduled => resolved
2015-10-01 13:28marvintmFixed in Version => RR15Q4
2015-10-01 13:28marvintmResolutionopen => fixed
2015-10-01 13:28marvintmReview Assigned To => marvintm
2015-10-01 13:28marvintmStatusresolved => closed
2015-12-14 18:17OrekariaNote Added: 0082734
2015-12-14 18:17OrekariaRelationship addeddepends on 0030771
2015-12-14 18:17hgbotCheckin
2015-12-14 18:17hgbotNote Added: 0082735

Notes
(0080785)
marvintm   
2015-10-01 13:28   
This issue has been fixed by the following commit:

https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b70def10baf657a615021299c25522008096eb17 [^]
(0082734)
Orekaria   
2015-12-14 18:17   
The issue is not working in pi, but the issue 30771 will fix it
(0082735)
hgbot   
2015-12-14 18:17   
Repository: tools/automation/pi-mobile
Changeset: 2f76c35026f6586e1aeba0721db588e3738afc7d
Author: Christian Goni <christian.goni <at> openbravo.com>
Date: Fri Dec 11 09:42:40 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/2f76c35026f6586e1aeba0721db588e3738afc7d [^]

Related to Issue 30904, issue 30771: Taxes and total not updated when a line is removed with the old discount flow

This test is expected to pass when the 30771 is finished

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I30904_TaxesAndTotalNotUpdated.java
---