Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035885Retail ModulesWeb POSpublic2017-04-28 15:002017-05-30 18:04
asiermartirena 
asiermartirena 
normalmajoralways
closedfixed 
5
 
RR17Q3 
marvintm
No
0035885: Errors in C&R when the replaced order has less gross than the paid amount
When doing a C&R process, if the replaced order has less value than the paid amount, the final order must be a receipt, not a layaway.

This only happens when generating overpayment.

The products must be delivered and the order completed.
Create a layaway with two avalanche transceivers and pay 200.
Load the layaway.
Do a C&R and remove an unit. Synchronize the order generating overpayment.

The result is a non delivered layaway (WRONG).
No tags attached.
Issue History
2017-04-28 15:00asiermartirenaNew Issue
2017-04-28 15:00asiermartirenaAssigned To => asiermartirena
2017-04-28 15:00asiermartirenaTriggers an Emergency Pack => No
2017-05-03 12:31asiermartirenaDescription Updatedbug_revision_view_page.php?rev_id=15098#r15098
2017-05-03 12:31asiermartirenaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=15100#r15100
2017-05-09 09:40hgbotCheckin
2017-05-09 09:40hgbotNote Added: 0096469
2017-05-09 09:40hgbotStatusnew => resolved
2017-05-09 09:40hgbotResolutionopen => fixed
2017-05-09 09:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/54873296a226840bbf617f9f80f19f1571a532cc [^]
2017-05-09 09:42hgbotCheckin
2017-05-09 09:42hgbotNote Added: 0096470
2017-05-30 18:04marvintmReview Assigned To => marvintm
2017-05-30 18:04marvintmStatusresolved => closed
2017-05-30 18:04marvintmFixed in Version => RR17Q3

Notes
(0096469)
hgbot   
2017-05-09 09:40   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 54873296a226840bbf617f9f80f19f1571a532cc
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Mon May 08 11:39:39 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/54873296a226840bbf617f9f80f19f1571a532cc [^]

Fixed issue 35885: Errors in C&R when the replaced order has less gross than the paid amount.

When doing a C&R process, if the replaced order has less value than the paid amount, the final order must be a receipt, not a layaway.

This only happens when generating overpayment.

The products must be delivered and the order completed.

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0096470)
hgbot   
2017-05-09 09:42   
Repository: tools/automation/pi-mobile
Changeset: 4cac3467c0c76580872b351bd84899df75e0a581
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Mon May 08 11:37:56 2017 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/4cac3467c0c76580872b351bd84899df75e0a581 [^]

Related to issue 35885: Automated tests modified

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/CancelAndRplcPartiallyReduced.java
---