Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037541
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2017-12-21 15:252018-01-09 13:46
ReportermrecasensView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR18Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version7.x
OS VersionOpenbravo Appliance 14.04Database version9.3.xAnt version1.9.x
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0037541: [SER-QA] The Credit Note printed is not the one actually redeemed, when paying with someone else's Credit Note

DescriptionThe Credit Note printed is not the one used when redeeming using some other customer's Credit Note

SHORT VERSION

1. Cancel a partially paid Layaway, and reimburse with Credit Note for a customer A.
2. Cancel a partially paid Layaway, and reimburse with Credit Note for a customer B with different amount.
3. Pay a ticket for the customer A using partially the Credit Note of customer B.

ERROR: Check that in the printed ticket the total amount corresponds to the Credit Note of the customer A, instead of corresponfing to the Credit Note of B actually used.
Steps To Reproduce0. Log into backoffice https://livebuilds.openbravo.com/retail_modules_pgsql_pi/ [^]

    Change role to "The White Valley Group Admin"
    
    Go to "Hardware Manager" window, and create a new record for
        *
        HW Manager main
        http://127.0.0.1 [^]
    
    Go to "POS Terminal Type", and in Tab "Hardware URL", select 'HW Manager main'

    Go to "Open Store" window to open up "Yosemite Store" for the current date
    
1. Log in WebPOS livebuilds
https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=YS-11#retail.pointofsale [^]
    Using 1234 as terminal key identifier, and credentials vallblanca / openbravo
    
2. Select a Customer different from the anonymous, e.g. Mara Paillot
3. Create a Layaway and pay for it partially, e.g. with Cash
=> YS-11/0000001

4. Select a Customer different from the anonymous, e.g. Carl Studston
5. Create a Layaway and pay for it partially, e.g. with Cash
=> YS-11/0000004

6. From menu, select option Open Receipt and select the first of the two, e.g., YS-11/0000001
7. Click on "Cancel this Layaway" and refund with Solde Client
=> See that cancellation document YS-11/0000001*R has been created
=> as well as a credit note for 10 EUR

8. From menu, select option Open Receipt and select the second of the two, e.g., YS-11/0000004
9. Click on "Cancel this Layaway" and refund with Solde Client
=> See that cancellation document YS-11/0000004*R has been created
=> as well as a credit note for 100 EUR, YS-11/0000004

10. Create a new ticket for Mara Paillot
=> YS-11/0000005
11. Add some products and pay with Solde Client of Carl Studston, 100 € credit, YS-11/0000004
=> See that the credit note printed is not the one you just used, but the one belonging to Mara Paillot, that it mentions Mara Maillot and shows the other credit note balance and code.

12. Open menu option "Gift / Credit notes" to check Credit Note YS-0000004 balance
=> See that the remaining credit does correspond with the initial - consumed.
=> Also check that the credit note YS-0000004 balance, not used but nonetheless printed, is correct: 10
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0053142 closedranjith_qualiantech_com Error with Credit note after adding the changes from issue 49409 

-  Notes
(0101577)
hgbot (developer)
2018-01-05 06:37

Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: f16692f5f415c629d8732a7b71a88bb7670b022a
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Jan 05 11:07:34 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/f16692f5f415c629d8732a7b71a88bb7670b022a [^]

Related to issue 37541 : Show Credit balance based on credit owner instead of receipt customer

* Credit Print should print both initial balance and current balance

---
M src/org/openbravo/retail/giftcards/FindCreditNote.java
M web/org.openbravo.retail.giftcards/js/components/GiftCardDetails.js
M web/org.openbravo.retail.giftcards/js/hooks/preaddpaymenthook.js
M web/org.openbravo.retail.giftcards/js/hooks/printGiftCardPrePrintHook.js
---
(0101579)
hgbot (developer)
2018-01-05 08:50

Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 9734d9be25e8ee33802106031f40aee1134621a2
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Jan 05 13:20:04 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/9734d9be25e8ee33802106031f40aee1134621a2 [^]

Related to issue 37541 : Backed out changeset: f16692f5f415

Try failed due to the changes

---
M src/org/openbravo/retail/giftcards/FindCreditNote.java
M web/org.openbravo.retail.giftcards/js/components/GiftCardDetails.js
M web/org.openbravo.retail.giftcards/js/hooks/preaddpaymenthook.js
M web/org.openbravo.retail.giftcards/js/hooks/printGiftCardPrePrintHook.js
---
(0101605)
hgbot (developer)
2018-01-07 18:30

Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: fde03d37a01c5248dd829c9d4917d988b6881ec8
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sun Jan 07 23:00:34 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/fde03d37a01c5248dd829c9d4917d988b6881ec8 [^]

Related to issue 37541 : Show Credit balance based on credit owner instead of receipt customer

* Credit Print should print both initial balance and current balance

---
M src/org/openbravo/retail/giftcards/FindCreditNote.java
M web/org.openbravo.retail.giftcards/js/components/GiftCardDetails.js
M web/org.openbravo.retail.giftcards/js/hooks/preaddpaymenthook.js
M web/org.openbravo.retail.giftcards/js/hooks/printGiftCardPrePrintHook.js
M web/org.openbravo.retail.giftcards/js/model/GiftCardUtils.js
M web/org.openbravo.retail.giftcards/res/creditnote.xml
---

- Issue History
Date Modified Username Field Change
2017-12-21 15:25 mrecasens New Issue
2017-12-21 15:25 mrecasens Assigned To => Retail
2017-12-21 15:25 mrecasens Triggers an Emergency Pack => No
2017-12-21 15:51 avicente Resolution time => 1515020400
2017-12-28 12:07 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2018-01-05 06:37 hgbot Checkin
2018-01-05 06:37 hgbot Note Added: 0101577
2018-01-05 06:37 ranjith_qualiantech_com Status new => scheduled
2018-01-05 08:50 hgbot Checkin
2018-01-05 08:50 hgbot Note Added: 0101579
2018-01-07 18:30 hgbot Checkin
2018-01-07 18:30 hgbot Note Added: 0101605
2018-01-08 11:01 ranjith_qualiantech_com Status scheduled => resolved
2018-01-08 11:01 ranjith_qualiantech_com Resolution open => fixed
2018-01-09 13:46 marvintm Review Assigned To => marvintm
2018-01-09 13:46 marvintm Status resolved => closed
2018-01-09 13:46 marvintm Fixed in Version => RR18Q1
2023-08-30 01:42 rafaroda Relationship added related to 0053142


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker