Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036010Retail ModulesGift cards and gift voucherspublic2017-05-16 13:202017-06-20 18:39
asiermartirena 
asiermartirena 
normalmajoralways
closedfixed 
5
 
RR17Q3 
Sandrahuguet
No
0036010: The order and payment is not set in some gift card transactions
When a layaway is created in a terminal that doesn't contain the Gift Certificate or Credit Note payment method, if that layaway is then paid by these payment methods in other terminal, the generated gift card transaction doesn't have matched the generated payment and order.
Create a layaway in a terminal that doesn't contain the Gift Certificate nor the Credit Note payment methods.

Login in a terminal that contains those payment methods. Pay the layaway using both payment methods (also happens if is paid with only one of them).

The generated gift card transactions don't contain the generated sales order and payment.
No tags attached.
related to defect 0036278 closed rqueralta Customer button is out of its layout in Create Gift Certificate popup 
depends on design defect 0036122 scheduled jorge-garcia [SERQA 2908]If a partial payment is added, buttons and external input are not blocked. 
causes defect 0036190 closed asiermartirena Is not possible to generate credit notes 
Not all the children of this issue are yet resolved or closed.
Issue History
2017-05-16 13:20asiermartirenaNew Issue
2017-05-16 13:20asiermartirenaAssigned To => asiermartirena
2017-05-16 13:20asiermartirenaTriggers an Emergency Pack => No
2017-06-01 16:22hgbotCheckin
2017-06-01 16:22hgbotNote Added: 0097078
2017-06-01 16:22hgbotStatusnew => resolved
2017-06-01 16:22hgbotResolutionopen => fixed
2017-06-01 16:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/20f098a38af83037f878fdaea5c8f05105031703 [^]
2017-06-02 12:11hgbotCheckin
2017-06-02 12:11hgbotNote Added: 0097101
2017-06-19 11:24SandrahuguetReview Assigned To => Sandrahuguet
2017-06-19 14:02asiermartirenaRelationship addedcauses 0036190
2017-06-19 17:40SandrahuguetRelationship addeddepends on 0036122
2017-06-19 18:22SandrahuguetRelationship addedrelated to 0036278
2017-06-20 18:39SandrahuguetNote Added: 0097536
2017-06-20 18:39SandrahuguetStatusresolved => closed
2017-06-20 18:39SandrahuguetFixed in Version => RR17Q3

Notes
(0097078)
hgbot   
2017-06-01 16:22   
Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 20f098a38af83037f878fdaea5c8f05105031703
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Tue May 30 12:37:44 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/20f098a38af83037f878fdaea5c8f05105031703 [^]

Fixed issue 36010: The order and payment is not set in some gift card transactions.

When a layaway is created in a terminal that doesn't contain the Gift Certificate or Credit Note payment method, if that layaway is then paid by these payment methods in other terminal, the generated gift card transaction doesn't have matched the generated payment and order.

---
M src/org/openbravo/retail/giftcards/hooks/GiftCardHookUtils.java
---
(0097101)
hgbot   
2017-06-02 12:11   
Repository: tools/automation/pi-mobile
Changeset: cb84bfbda06877325b27d63781a0fc16a6d9b7ea
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Fri Jun 02 12:10:24 2017 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/cb84bfbda06877325b27d63781a0fc16a6d9b7ea [^]

Related to issue 36010: Automated test

---
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/giftcards/I36010_PayCertificateTicketOtherTerminal.java
---
(0097536)
Sandrahuguet   
2017-06-20 18:39   
Code review and testing OK