Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038857Retail ModulesGift cards and gift voucherspublic2018-06-28 15:092018-08-17 12:58
rafaroda 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR18Q4 
marvintm
No
0038857: Error in Credit Note printed ticket when customer already had some solde client
Error in Credit Note printed ticket when customer already had some solde client
In Live Builds
* Terminal YS-11 (MUST be this one) user vallblanca https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=YS-11 [^]
* Created new customer RAFA RODA
* Ticket for this customer with Avalanche Transceiver product 150.50€
* Clicked on the line: Return Line
* Make the return in Credit Note: the Credit Note printed in Hardware Manager is OK, displays Credit Note YS-11/0000002 with Inital Balance 150.50 and barcode is OK too
* Go to backend https://livebuilds.openbravo.com/retail_modules_pgsql_pi/ [^]
* Gift Card Instance window: filter by business partner Rafa Roda, see record YS-11/0000002. Initial Balance 150.50, Current Balance 150.50
* In Return From Customer backend window: see record YS-11/0000002
* Create a new ticket to partially use this credit note
* Ticket line with Adhesive Body Warmers for customer RAFA RODA: 3.60€
* Pay it with Credit Note previously created YS-11/0000002
* Gift Card Instance window: filter by business partner Rafa Roda, see record YS-11/0000002. Initial Balance 150.50, Current Balance 146.90
* In WebPOS, Menu > Gift / Credit Notes: reprint YS-11/0000002 and check in the printed ticket Initial Balance 150.50, Current Balance 146.90
* Create a new ticket for customer RAFA RODA with Avalanche Transceiver product 150.50€
* Clicked on the line: Return Line
* Make the return in Credit Note: the Credit Note printed in Hardware Manager
 displays Credit Note YS-11/0000002 (OK) with Inital Balance 150.50 (NOK, should be 297.40) and Current Balance 146.90 (NOK, should be 297.40) and barcode is OK
* Gift Card Instance window: filter by business partner Rafa Roda, see record YS-11/0000002. Initial Balance 297.40 (150,50-3,60+150,50), Current Balance 297.40 and closed YS-11/0000002*C1 Initial Balance 150.50, Current Balance 0: OK
* In Return From Customer backend window: see record YS-11/0000004: OK
No tags attached.
Issue History
2018-06-28 15:09rafarodaNew Issue
2018-06-28 15:09rafarodaAssigned To => Retail
2018-06-28 15:09rafarodaTriggers an Emergency Pack => No
2018-07-02 15:07ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2018-07-03 08:23ranjith_qualiantech_comStatusnew => scheduled
2018-07-05 08:59ranjith_qualiantech_comNote Added: 0105610
2018-07-05 14:05ranjith_qualiantech_comStatusscheduled => resolved
2018-07-05 14:05ranjith_qualiantech_comResolutionopen => fixed
2018-07-31 09:05marvintmReview Assigned To => marvintm
2018-07-31 09:05marvintmStatusresolved => closed
2018-07-31 09:05marvintmFixed in Version => RR18Q4
2018-08-01 08:18guillermogilNote Added: 0106065
2018-08-01 08:18guillermogilStatusclosed => new
2018-08-01 08:18guillermogilResolutionfixed => open
2018-08-01 08:18guillermogilFixed in VersionRR18Q4 =>
2018-08-01 11:35ranjith_qualiantech_comStatusnew => scheduled
2018-08-01 12:28hgbotCheckin
2018-08-01 12:28hgbotNote Added: 0106079
2018-08-01 14:35ranjith_qualiantech_comStatusscheduled => resolved
2018-08-01 14:35ranjith_qualiantech_comResolutionopen => fixed
2018-08-17 12:58marvintmStatusresolved => closed
2018-08-17 12:58marvintmFixed in Version => RR18Q4

Notes
(0105610)
ranjith_qualiantech_com   
2018-07-05 08:59   
Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 2d3e49df99a75129aa0966b54d8062d582a2e6b2
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Jul 05 11:54:40 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/2d3e49df99a75129aa0966b54d8062d582a2e6b2 [^] [^]

Related to issue 38857 : Credit Note Balance should be printed for Unqiue Credit Note

* For Unique Credit Note, Credit Note will be processed when order is getting synced with backoffice.
  Before that, For printing credit note, Credit Note balance should be updated with order credit note
---
M web/org.openbravo.retail.giftcards/js/hooks/printGiftCardPrePrintHook.js
(0106065)
guillermogil   
2018-08-01 08:18   
Reopened due to wrong initial balance print
(0106079)
hgbot   
2018-08-01 12:28   
Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: c4e46a4744f814ee2e1a1669780f3954ab9d3d81
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Aug 01 15:58:05 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/c4e46a4744f814ee2e1a1669780f3954ab9d3d81 [^]

Related to issue 38857 : Initial Balance should be updated with current payment for Unique Credit Note

* For Unique Credit Note, Return receipt payment amount should be updated with both initial balance and current balance

---
M web/org.openbravo.retail.giftcards/js/hooks/printGiftCardPrePrintHook.js
---