Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034134Retail ModulesWeb POSpublic2016-09-29 16:552016-11-23 18:46
asiermartirena 
asiermartirena 
normalmajoralways
closedfixed 
5
 
RR17Q1 
marvintm
No
0034134: [SERQA 1866] Problems when returning products of canceled tickets
There are problems when trying to return products in a canceled ticket or a ticket that cancels other one.
It must be possible only to return products in a line with an associated shipment line that belongs to a shipment with a sum of movement quantity of it's lines distinct to 0.
Create and pay a ticket with one unit.
Load the ticket and do a cancel and replace of it. Complete the new ticket without doing any change.
Click on verified return and try to load the original ticket. This ticket doesn't appear, and it must be possible to return the originally delivered product.
Click on verified return and load the new ticket. It is possible to select the unit that was delivered in the first ticket to return. As this line has not a shipment related with total movement quantity distinct to 0 should not be possible to return it. Also is necessary to have in mind that the shipment can be moved to new ticket.
No tags attached.
depends on defect 0034166 closed asiermartirena Openbravo ERP Order lines with netting shipment lines shouldn't be returned 
Issue History
2016-09-29 16:55asiermartirenaNew Issue
2016-09-29 16:55asiermartirenaAssigned To => asiermartirena
2016-09-29 16:55asiermartirenaTriggers an Emergency Pack => No
2016-10-04 09:43asiermartirenaRelationship addeddepends on 0034166
2016-10-14 08:50hgbotCheckin
2016-10-14 08:50hgbotNote Added: 0090566
2016-10-14 08:50hgbotStatusnew => resolved
2016-10-14 08:50hgbotResolutionopen => fixed
2016-10-14 08:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/81fb189ec7d48722cce30559b552d9a175b9d94c [^]
2016-10-14 08:52hgbotCheckin
2016-10-14 08:52hgbotNote Added: 0090567
2016-10-14 08:56hgbotCheckin
2016-10-14 08:56hgbotNote Added: 0090568
2016-10-14 08:57hgbotCheckin
2016-10-14 08:57hgbotNote Added: 0090569
2016-11-23 18:46marvintmReview Assigned To => marvintm
2016-11-23 18:46marvintmStatusresolved => closed
2016-11-23 18:46marvintmFixed in Version => RR17Q1

Notes
(0090566)
hgbot   
2016-10-14 08:50   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 81fb189ec7d48722cce30559b552d9a175b9d94c
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Fri Oct 14 08:50:32 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/81fb189ec7d48722cce30559b552d9a175b9d94c [^]

Fixed issue 34134: Problems when returning products of canceled tickets

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
M src/org/openbravo/retail/posterminal/PaidReceiptLinesProperties.java
M src/org/openbravo/retail/posterminal/PaidReceipts.java
M src/org/openbravo/retail/posterminal/PaidReceiptsHeader.java
M web/org.openbravo.retail.posterminal/js/components/renderorderline.js
---
(0090567)
hgbot   
2016-10-14 08:52   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 8372be17943af31229056feb50abff8b2234999c
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Fri Oct 14 08:51:46 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8372be17943af31229056feb50abff8b2234999c [^]

Related to issue 34134: New icon to show canceled lines

---
M web/org.openbravo.mobile.core/assets/css/ob-standard.css
A web/org.openbravo.mobile.core/assets/img/iconCanceled.png
---
(0090568)
hgbot   
2016-10-14 08:56   
Repository: erp/pmods/org.openbravo.retail.returns
Changeset: d8f676541dac9e17e9dd14df216ad4692294daa0
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Fri Oct 14 08:56:11 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.returns/rev/d8f676541dac9e17e9dd14df216ad4692294daa0 [^]

Related to issue 34134: In verified returns, the remainingQty is the sum of the shipment lines units

---
M web/org.openbravo.retail.returns/js/modalReturnLines.js
---
(0090569)
hgbot   
2016-10-14 08:57   
Repository: tools/automation/pi-mobile
Changeset: ca249eca131855f93c2d53f2bca0ea8d34da31d2
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Fri Oct 14 08:57:17 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/ca249eca131855f93c2d53f2bca0ea8d34da31d2 [^]

Related to issue 34134: New automated tests

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I33274_VerifyReturnWithMultiShipmentII.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/CancelAndRplReturn.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/CancelLayawayReturn.java
---