Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036190Retail ModulesWeb POSpublic2017-06-07 12:222017-06-20 18:39
asiermartirena 
asiermartirena 
highmajoralways
closedfixed 
5
 
RR17Q3 
Sandrahuguet
Pre packaging ( pi )
2017-06-01
pi
https://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/20f098a38af83037f878fdaea5c8f05105031703 [^]
No
0036190: Is not possible to generate credit notes
It's not possible to generate credit notes.

The problem is that the process which generates a credit note tries to access to the context information, which is not accessible in import entries processes because these processes don't have a session.
Go to the Web POS.

Create a ticket with a negative amount.
Pay with credit notes.
Both order nor the credit note are not created.
No tags attached.
caused by defect 0036010 closed asiermartirena The order and payment is not set in some gift card transactions 
Issue History
2017-06-07 12:22asiermartirenaNew Issue
2017-06-07 12:22asiermartirenaAssigned To => asiermartirena
2017-06-07 12:22asiermartirenaResolution time => 1497391200
2017-06-07 12:22asiermartirenaRegression level => Coding ( Testing )
2017-06-07 12:22asiermartirenaRegression date => 2017-06-01
2017-06-07 12:22asiermartirenaRegression introduced in release => pi
2017-06-07 12:22asiermartirenaTriggers an Emergency Pack => No
2017-06-07 12:48dmitry_mezentsevRegression levelCoding ( Testing ) => Production - QA Approved
2017-06-07 12:56dmitry_mezentsevRegression levelProduction - QA Approved => Pre packaging ( pi )
2017-06-07 13:24hgbotCheckin
2017-06-07 13:24hgbotNote Added: 0097192
2017-06-07 13:24hgbotStatusnew => resolved
2017-06-07 13:24hgbotResolutionopen => fixed
2017-06-07 13:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/9d30fa666e27b76f63d71204336f546b82f5a4d0 [^]
2017-06-19 14:02asiermartirenaRelationship addedcaused by 0036010
2017-06-20 08:53SandrahuguetReview Assigned To => Sandrahuguet
2017-06-20 15:35SandrahuguetRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/20f098a38af83037f878fdaea5c8f05105031703 [^]
2017-06-20 18:39SandrahuguetNote Added: 0097537
2017-06-20 18:39SandrahuguetStatusresolved => closed
2017-06-20 18:39SandrahuguetFixed in Version => RR17Q3

Notes
(0097192)
hgbot   
2017-06-07 13:24   
Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 9d30fa666e27b76f63d71204336f546b82f5a4d0
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Wed Jun 07 13:23:43 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/9d30fa666e27b76f63d71204336f546b82f5a4d0 [^]

Fixed issue 36190: Is not possible to generate credit notes.

The problem is that the process which generates a credit note tries to access to the context information, which is not accessible in import entries processes because these processes don't have a session.

---
M src/org/openbravo/retail/giftcards/GiftCardModel.java
M src/org/openbravo/retail/giftcards/hooks/GiftCardHookUtils.java
---
(0097537)
Sandrahuguet   
2017-06-20 18:39   
Code review and testing OK