Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035638Retail ModulesDiscounts and Promotionspublic2017-03-29 10:152017-04-10 09:53
airaceburu 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR17Q3 
guilleaer
No
0035638: [SERQA 2687] The field displayedtotalamt of c_orderline_offer is null in verified returns
The field displayedtotalamt of the table c_orderline_offer is null when a verified return of a ticket with discounts is completed
1.-Create a ticket
2.-Apply to that ticket a discretionary discount (using the discounts button in the keyboard)
3.-Complete the ticket
4.-Create a verified return of that ticket from Web POS main menu
5.-Select all the lines including the line of the discount
6.-Complete the return
7.-From Openbravo find the c_orderline_id of that discount
8.- Do select displayedtotalamt from c_orderline_offer where c_orderline_id = 'YOURID'
Notice that that value is null
No tags attached.
diff issue35638.diff (721) 2017-03-29 10:46
https://issues.openbravo.com/file_download.php?file_id=10616&type=bug
diff issue35638_returns.diff (733) 2017-03-29 15:44
https://issues.openbravo.com/file_download.php?file_id=10620&type=bug
Issue History
2017-03-29 10:15airaceburuNew Issue
2017-03-29 10:15airaceburuAssigned To => Retail
2017-03-29 10:15airaceburuResolution time => 1491948000
2017-03-29 10:15airaceburuTriggers an Emergency Pack => No
2017-03-29 10:30airaceburuSummaryThe field displayedtotalamt of c_orderline_offer is null in verified returns => [SERQA 2687] The field displayedtotalamt of c_orderline_offer is null in verified returns
2017-03-29 10:46marvintmFile Added: issue35638.diff
2017-03-29 15:44marvintmFile Added: issue35638_returns.diff
2017-03-29 15:46ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-03-29 15:46ranjith_qualiantech_comStatusnew => scheduled
2017-04-03 14:53hgbotCheckin
2017-04-03 14:53hgbotNote Added: 0095806
2017-04-03 14:55hgbotCheckin
2017-04-03 14:55hgbotNote Added: 0095807
2017-04-03 14:55hgbotStatusscheduled => resolved
2017-04-03 14:55hgbotResolutionopen => fixed
2017-04-03 14:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/20647fc5d06363bc66ea116156869d901262e55f [^]
2017-04-03 14:55hgbotCheckin
2017-04-03 14:55hgbotNote Added: 0095809
2017-04-10 09:53guilleaerReview Assigned To => guilleaer
2017-04-10 09:53guilleaerStatusresolved => closed
2017-04-10 09:53guilleaerFixed in Version => RR17Q3

Notes
(0095806)
hgbot   
2017-04-03 14:53   
Repository: erp/pmods/org.openbravo.retail.returns
Changeset: faf1c3e2ae9ce75d22c3a225021cf2a3810aed91
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Apr 03 18:23:07 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.returns/rev/faf1c3e2ae9ce75d22c3a225021cf2a3810aed91 [^]

Related to issue 35638 : Discount Total Amount updated to Return Order Line Discount

---
M web/org.openbravo.retail.returns/js/modalReturnLines.js
---
(0095807)
hgbot   
2017-04-03 14:55   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 20647fc5d06363bc66ea116156869d901262e55f
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Apr 03 18:23:17 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/20647fc5d06363bc66ea116156869d901262e55f [^]

Fixes issue 35638 : Discount Total Amount updated to Return Order Line Discount

---
M src/org/openbravo/retail/posterminal/PaidReceipts.java
---
(0095809)
hgbot   
2017-04-03 14:55   
Repository: tools/automation/pi-mobile
Changeset: e2ecb6d54ab5b689ffad10ae6d687af7909a606c
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Apr 03 18:23:10 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/e2ecb6d54ab5b689ffad10ae6d687af7909a606c [^]

Verifies issue 35638 : Added automated test 'I35638_VerifyReturnOrderLineDiscountAmt'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I35638_VerifyReturnOrderLineDiscountAmt.java
---