Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033759Retail ModulesWeb POSpublic2016-08-22 12:062016-09-01 12:41
adrianromero 
jorge-garcia 
urgentmajorhave not tried
closedfixed 
5
 
 
migueldejuana
No
0033759: [SER QA 1584] Saved deleted lines must have Net List Price, Gross Unit Price and Line Gross Amount equals to 0
With the functionality of Saved deleted tickets activated: http://wiki.openbravo.com/wiki/Retail:Web_POS_User_Guide#Deleting_a_ticket [^]

Saved deleted lines must have Net List Price, Gross Unit Price and Line Gross Amount equals to 0
1. Activate preference *Web POS Save Removed Tickets* and log into the WebPOS.

2. Create a new ticket.
3. Add some products
4. Click the 'Delete/Trash' button.
5. Log into the Backend.
6. In the sales order window, search the deleted ticket.
7. Check the deleted line item quantity and price

expected result: Check that Net List Price=Gross Unit Price=Line Gross Amount=0

Actual result: Net List Price=Gross Unit Price=Line Gross Amount field values are picked from price list.
See attached diff
SER-QA
diff Issue33759.diff (859) 2016-08-22 12:17
https://issues.openbravo.com/file_download.php?file_id=9743&type=bug
Issue History
2016-08-22 12:06adrianromeroNew Issue
2016-08-22 12:06adrianromeroAssigned To => Retail
2016-08-22 12:06adrianromeroResolution time => 1472421600
2016-08-22 12:06adrianromeroTriggers an Emergency Pack => No
2016-08-22 12:09adrianromeroSummarySaved deleted lines must have Net List Price, Gross Unit Price and Line Gross Amount equals to 0 => [SER QA 1584] Saved deleted lines must have Net List Price, Gross Unit Price and Line Gross Amount equals to 0
2016-08-22 12:09adrianromeroSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=12880#r12880
2016-08-22 12:09adrianromeroTag Attached: SER-QA
2016-08-22 12:11adrianromeroProposed Solution updated
2016-08-22 12:12adrianromeroFile Added: Issue33759.diff
2016-08-22 12:17adrianromeroFile Deleted: Issue33759.diff
2016-08-22 12:17adrianromeroFile Added: Issue33759.diff
2016-08-26 14:08jorge-garciaStatusnew => scheduled
2016-08-26 14:08jorge-garciaAssigned ToRetail => jorge-garcia
2016-08-29 14:53hgbotCheckin
2016-08-29 14:53hgbotNote Added: 0089502
2016-08-29 14:53hgbotCheckin
2016-08-29 14:53hgbotNote Added: 0089503
2016-08-29 14:53hgbotStatusscheduled => resolved
2016-08-29 14:53hgbotResolutionopen => fixed
2016-08-29 14:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/22bd8e24b4ddd99600a6b40e35b1df09a0246a69 [^]
2016-09-01 12:41migueldejuanaReview Assigned To => migueldejuana
2016-09-01 12:41migueldejuanaNote Added: 0089656
2016-09-01 12:41migueldejuanaStatusresolved => closed

Notes
(0089502)
hgbot   
2016-08-29 14:53   
Repository: tools/automation/pi-mobile
Changeset: 5d80779ac23763c4f5acafed762cf4417491f5b5
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Aug 29 11:34:02 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/5d80779ac23763c4f5acafed762cf4417491f5b5 [^]

Verifies issue 33759: [SER QA 1584] Saved deleted lines must have Net
List Price, Gross Unit Price and Line Gross Amount equals to 0

Added test I33759_DeleteReceiptLinesToZero

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/I33759_DeleteReceiptLinesToZero.java
---
(0089503)
hgbot   
2016-08-29 14:53   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 22bd8e24b4ddd99600a6b40e35b1df09a0246a69
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Aug 29 11:33:07 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/22bd8e24b4ddd99600a6b40e35b1df09a0246a69 [^]

Fixed issue 33759: [SER QA 1584] Saved deleted lines must have Net
List Price, Gross Unit Price and Line Gross Amount equals to 0

The solution is to change these values in the order loader when the
preference of save delete receipts is active.

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0089656)
migueldejuana   
2016-09-01 12:41   
Tested and reviewed