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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026979
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Gift cards and gift vouchersmajoralways2014-06-30 19:462014-09-16 01:12
ReporterjecharriView Statuspublic 
Assigned ToOrekaria 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision3c37887a6f66
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toszapata
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026979: Gift cards does not inherit the sales value when the initial amount is empty

DescriptionGift cards does not inherit the sales value when the initial amount is empty
Steps To ReproduceWith Q2.1 installed and last version of gift cards 1.1.505
-define a gift card without initial amount
-go to Web POS and sale the product with one price

The gift car initial amount should be the sale price and it is zero.

Wiki:
"Gift card amount: select the initial balance gift cards will be created when sold. If you leave this field empty. The initial balance of the gift card created will be the same as the price it is sold."

It happens only when you are working with prices without taxes
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0068506)
Orekaria (administrator)
2014-07-02 16:37

Attached patch to update to rev. 110 of giftcards
(0068655)
Orekaria (administrator)
2014-07-15 17:17

This fix will update the gift cards module version with explicit version dependencies of other modules
(0068663)
hgbot (developer)
2014-07-16 13:12

Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 35d0f57f72b0edf19e3a865cfbb97ba2e7ae1e8d
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Wed Jul 16 13:12:19 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/35d0f57f72b0edf19e3a865cfbb97ba2e7ae1e8d [^]

Fixes issue 26979: the line net amount is the right amount to pick because the
gift cards can't have taxes

---
M src/org/openbravo/retail/giftcards/OrderLoaderHookGiftCard.java
---
(0068908)
dmitry_mezentsev (developer)
2014-07-28 12:24

Issue is not closed for 12 days!
Please take action.
(0069072)
dmitry_mezentsev (developer)
2014-08-04 16:34

Guys,

It is open for 19 days now!!!
(0069298)
szapata (reporter)
2014-08-11 17:36

Still getting price 0 instead of the price of the ticket.
(0069320)
szapata (reporter)
2014-08-12 17:48

Reopened. Fix not work as expected
(0069531)
Orekaria (administrator)
2014-08-19 23:53

How to reproduce it:

0) ERP: Log in into the ERP, White Valley
  In products, add a new product, type GiftCard
    - set name and id. e.g: 'Giftcard 50', 'GC050'
    - set taxes 'exento'
    - set grouped off
    - set initial price to 0
    - add to the price list White Valley Group Product List
      - leave values to 0
  In assorments:
  - add the gc to the price list

1) WebPOS: Log in; refresh if already logged in
  - search for the gc (if it does not show up, log out and in)
  - add it to the receipt, setting a random id. it should have price 0
  - select the receipt line, set another price, e.g: 50
  - pay the receipt

2) ERP:
  - in the sales order, verify that the sale has been made
  - in the Gift card Instance window, verify that the amount for the gift card id is correct

3) WebPOS: in an empty receipt:
  - add any product
  - search for the giftcard in the Menu ยป Giftcards/Vouchers
  - select the sold one
  - pay the receipt

4) ERP:
  - in the sales order, verify that the sale has been made
  - in the Gift card Instance window, verify that the amount for the gift card id is correct

5) WebPOS. In an empty receipt:
  - add a new product
  - add the same giftcard, the current balance should be updated
  - pay the receipt
  - Repeat until the giftcard amount is consumed
  - Verify that the giftcard is no longer available in the giftcards modal

6) Again back to the ERP
  - in the sales order, verify that the sale has been made
  - in the Gift card Instance window, verify that the amount for the gift card id is 0
(0069532)
hgbot (developer)
2014-08-20 00:02

Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 3c37887a6f668cb8be1eaecd9fc57f89e073c69e
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Wed Aug 20 00:01:58 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/3c37887a6f668cb8be1eaecd9fc57f89e073c69e [^]

Fixes issue 26979: the price of the Gift cards created with initial amount 0 can now have its price changed

---
M src/org/openbravo/retail/giftcards/GiftCardModel.java
M web/org.openbravo.retail.giftcards/js/components/GiftCardDetails.js
M web/org.openbravo.retail.giftcards/js/components/lineproperties.js
---

- Issue History
Date Modified Username Field Change
2014-06-30 19:46 jecharri New Issue
2014-06-30 19:46 jecharri Assigned To => marvintm
2014-06-30 19:46 jecharri Resolution time => 1404424800
2014-06-30 19:46 jecharri Regression level => Production - QA Approved
2014-06-30 19:46 jecharri Triggers an Emergency Pack => No
2014-06-30 19:51 jecharri Resolution time 1404424800 => 1404597600
2014-07-02 16:25 Orekaria File Added: 26979_toRev110.patch
2014-07-02 16:36 Orekaria File Deleted: 26979_toRev110.patch
2014-07-02 16:37 Orekaria File Added: 26979_toRev110.patch
2014-07-02 16:37 Orekaria Note Added: 0068506
2014-07-03 04:11 Orekaria File Deleted: 26979_toRev110.patch
2014-07-03 04:11 Orekaria File Added: 26979_org.openbravo.retail.giftcards.patch
2014-07-03 04:12 Orekaria File Added: 26979_org.openbravo.mobile.core.patch
2014-07-03 04:12 Orekaria File Added: 26979_org.openbravo.retail.posterminal.patch
2014-07-03 04:12 Orekaria File Added: 26979_org.openbravo.retail.returns.patch
2014-07-11 19:52 jecharri Steps to Reproduce Updated View Revisions
2014-07-15 16:46 jecharri Resolution time 1404597600 => 1407276000
2014-07-15 16:50 jecharri Regression level Production - QA Approved =>
2014-07-15 17:17 Orekaria Note Added: 0068655
2014-07-16 13:12 hgbot Checkin
2014-07-16 13:12 hgbot Note Added: 0068663
2014-07-16 13:12 hgbot Status new => resolved
2014-07-16 13:12 hgbot Resolution open => fixed
2014-07-16 13:12 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/35d0f57f72b0edf19e3a865cfbb97ba2e7ae1e8d [^]
2014-07-28 12:24 dmitry_mezentsev Note Added: 0068908
2014-08-04 16:34 dmitry_mezentsev Note Added: 0069072
2014-08-11 17:34 szapata Assigned To marvintm => Orekaria
2014-08-11 17:34 szapata Status resolved => new
2014-08-11 17:34 szapata Resolution fixed => open
2014-08-11 17:36 szapata Note Added: 0069298
2014-08-11 17:36 szapata Status new => feedback
2014-08-12 17:48 szapata Note Added: 0069320
2014-08-12 17:48 szapata Status feedback => new
2014-08-19 23:28 Orekaria File Deleted: 26979_org.openbravo.retail.giftcards.patch
2014-08-19 23:28 Orekaria File Deleted: 26979_org.openbravo.mobile.core.patch
2014-08-19 23:28 Orekaria File Deleted: 26979_org.openbravo.retail.posterminal.patch
2014-08-19 23:29 Orekaria File Deleted: 26979_org.openbravo.retail.returns.patch
2014-08-19 23:53 Orekaria Note Added: 0069531
2014-08-20 00:02 hgbot Checkin
2014-08-20 00:02 hgbot Note Added: 0069532
2014-08-20 00:02 hgbot Status new => resolved
2014-08-20 00:02 hgbot Resolution open => fixed
2014-08-20 00:02 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/35d0f57f72b0edf19e3a865cfbb97ba2e7ae1e8d [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/3c37887a6f668cb8be1eaecd9fc57f89e073c69e [^]
2014-09-16 01:12 szapata Review Assigned To => szapata
2014-09-16 01:12 szapata Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker