Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042195Retail ModulesWeb POSpublic2019-11-05 13:292019-11-18 22:17
nicolasuriz 
ranjith_qualiantech_com 
immediatecriticalalways
closedfixed 
5
 
RR20Q1 
marvintm
Packaging and release
2019-08-23
main
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/079f14931c5f/src/org/openbravo/retail/posterminal/OrderLoader.java [^]
No
0042195: While doing a Cancel this layaway, the payment no. of the returned its taking the docno.
While doing a Cancel this layaway, the payment no. of the returned its taking the docno. even if the preference "Use Order Document Number for Related Docs" its in N. It should take the sequence and it is not doing it.

We confirmed that it is a regression of the latest release because previously it is not being reproducible in livebuilds.
1. Create a layaway with a partial payment.
2. Synchronize it as a layaway.
3. Open the previous layaway.
4. Do the cancel layaway process and rembourse the money.
5. Check in backend the payment no generated.
No tags attached.
depends on backport 0042209RR19Q4 closed ranjith_qualiantech_com While doing a Cancel this layaway, the payment no. of the returned its taking the docno. 
caused by defect 0041604 closed ranjith_qualiantech_com Deadlocks in the Orderloader updating AD_Sequence using Synchronized Mode 
patch issue 42195 source posterminal.patch (2,458) 2019-11-06 11:01
https://issues.openbravo.com/file_download.php?file_id=13486&type=bug
Issue History
2019-11-05 13:29nicolasurizNew Issue
2019-11-05 13:29nicolasurizAssigned To => Retail
2019-11-05 13:29nicolasurizResolution time => 1575586800
2019-11-05 13:29nicolasurizTriggers an Emergency Pack => No
2019-11-06 08:00ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-11-06 08:00ranjith_qualiantech_comStatusnew => scheduled
2019-11-06 08:17ranjith_qualiantech_comRegression level => Packaging and release
2019-11-06 08:17ranjith_qualiantech_comRegression date => 2019-08-23
2019-11-06 08:17ranjith_qualiantech_comRegression introduced in release => main
2019-11-06 08:17ranjith_qualiantech_comRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/079f14931c5f/src/org/openbravo/retail/posterminal/OrderLoader.java [^]
2019-11-06 08:17ranjith_qualiantech_comRelationship addedcaused by 0041604
2019-11-06 11:01ranjith_qualiantech_comFile Added: issue 42195 source posterminal.patch
2019-11-06 15:18marvintmStatusscheduled => acknowledged
2019-11-06 15:18marvintmStatusacknowledged => scheduled
2019-11-07 08:09hgbotCheckin
2019-11-07 08:09hgbotNote Added: 0115442
2019-11-07 08:09hgbotStatusscheduled => resolved
2019-11-07 08:09hgbotResolutionopen => fixed
2019-11-07 08:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2f4f7984b5ade9b2ae4af842ff42a58d306a5f36 [^]
2019-11-07 18:10marvintmReview Assigned To => marvintm
2019-11-07 18:10marvintmStatusresolved => closed
2019-11-07 18:10marvintmFixed in Version => RR20Q1
2019-11-18 22:17hgbotCheckin
2019-11-18 22:17hgbotNote Added: 0115674

Notes
(0115442)
hgbot   
2019-11-07 08:09   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 2f4f7984b5ade9b2ae4af842ff42a58d306a5f36
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Nov 07 12:39:28 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2f4f7984b5ade9b2ae4af842ff42a58d306a5f36 [^]

Fixed issue 42195 : DocumentNoHandler should be implemented in CancelLayawayLoader

* To Update DocumentNo for Payments, DocumentNoHandler should be implemented

---
M src/org/openbravo/retail/posterminal/CancelLayawayLoader.java
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0115674)
hgbot   
2019-11-18 22:17   
Repository: tools/automation/pi-mobile
Changeset: f7405abd4225a7ebd4a63a5e84cec9742bb6f34f
Author: Fidel <fidel.campos <at> doceleguas.com>
Date: Wed Nov 13 12:27:19 2019 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/f7405abd4225a7ebd4a63a5e84cec9742bb6f34f [^]

Related to issue 42195: Added automated test I42195_CancelLayewayAndRembourse

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/I42195_CancelLayewayAndRembourse.java
---