Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032492Retail ModulesWeb POSpublic2016-03-16 12:512016-04-28 10:06
agete 
jorge-garcia 
urgentmajoralways
closedfixed 
5
 
RR16Q3 
marvintm
No
0032492: [SERQA 815] Lines with price cero in some ocassions
When the Best Deal case is executed and changes the promotions os some lines, new lines added afterwards are added with price 0.
Go to livebuilds and login in the Retail Modules instance (https://livebuilds.openbravo.com/retail_modules_pgsql_pi [^])
Define discounts as explained in issue 0032490.
Login in web pos, create an empty ticket and add an Insect Repelent to it.
Click on the Total Amount button to launch the BDC process and update the discounts.
Verify in the browser console that the isBeingDiscounted attribute of the receipt (OB.MobileApp.model.receipt.get('isBeingDiscounted')) is true (it should be false because the discount process has finished).
Try to add a new product to the ticket.
Verify that the new line remains with price 0 because the calculateGross is never executed.
SER-QA
depends on defect 0032490 closed jorge-garcia [SERQA 800] A line in a receipt is deleted when working with best deal case and there are discounts for all lines in the receipt 
? ErrorCero.bmp (4,320,054) 2016-03-16 12:51
https://issues.openbravo.com/file_download.php?file_id=9170&type=bug
Issue History
2016-03-16 12:51ageteNew Issue
2016-03-16 12:51ageteAssigned To => Retail
2016-03-16 12:51ageteFile Added: ErrorCero.bmp
2016-03-16 12:51ageteResolution time => 1458687600
2016-03-16 12:51ageteTriggers an Emergency Pack => No
2016-03-16 13:21ageteSummary[SERQA ] Lines with price cero in some ocassions => [SERQA 815] Lines with price cero in some ocassions
2016-03-16 13:21ageteTag Attached: SER-QA
2016-03-18 10:40aaroncaleroRelationship addeddepends on 0032490
2016-03-21 12:27dmitry_mezentsevNote Added: 0085243
2016-03-21 12:27dmitry_mezentsevSeveritycritical => major
2016-03-21 15:59aaroncaleroDescription Updatedbug_revision_view_page.php?rev_id=11524#r11524
2016-03-21 15:59aaroncaleroSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11526#r11526
2016-03-21 16:01aaroncaleroNote Added: 0085251
2016-03-22 09:55jorge-garciaStatusnew => acknowledged
2016-03-23 16:19jorge-garciaStatusacknowledged => scheduled
2016-03-23 16:19jorge-garciaAssigned ToRetail => jorge-garcia
2016-04-13 12:59hgbotCheckin
2016-04-13 12:59hgbotNote Added: 0085606
2016-04-18 10:42marvintmStatusscheduled => resolved
2016-04-18 10:42marvintmResolutionopen => fixed
2016-04-26 13:21marvintmNote Added: 0085986
2016-04-28 10:06marvintmReview Assigned To => marvintm
2016-04-28 10:06marvintmStatusresolved => closed
2016-04-28 10:06marvintmFixed in Version => RR16Q3

Notes
(0085243)
dmitry_mezentsev   
2016-03-21 12:27   
Random and has a workaround that fixes it temporary

http://wiki.openbravo.com/wiki/Bug_Reporting_Guidelines#How_to_Choose_the_Right_Severity [^]
(0085251)
aaroncalero   
2016-03-21 16:01   
Found a way to consistently reproduce the issue.
Description and Steps to reproduce updated accordingly.
(0085606)
hgbot   
2016-04-13 12:59   
Repository: tools/automation/pi-mobile
Changeset: 8cc30848a39a00d10b5da656ecf36ca64a8a7c71
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Mar 30 13:05:07 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/8cc30848a39a00d10b5da656ecf36ca64a8a7c71 [^]

Verifies issue 32492: [SERQA 815] Lines with price cero in some ocassions

Added test I32492_AddProductAfterBestDealIsExecuted.

---
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_bestdeal/I32492_AddProductAfterBestDealIsExecuted.java
---
(0085986)
marvintm   
2016-04-26 13:21   
Fixed by the changes done for this issue:

https://issues.openbravo.com/view.php?id=32379 [^]