Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031978Retail ModulesGift cards and gift voucherspublic2016-01-21 11:482018-06-26 11:40
lorenzofidalgo 
ranjith_qualiantech_com 
normalminoralways
closedfixed 
5
main 
RR16Q2 
marvintm
No
0031978: [RR16Q1][New Entities For Gift Cards] It is not possible to sell a Gift Card under certain circumstances. Uncaught exceptions
Using the "New Entities for Gift Cards" module, it is not possible to sell a Gift Card under certain circumstances. After clicking "Apply" button in "Line-item Properties" popup, uncaught exceptions appear.
0-With "New Entities For Gift Cards" modules installed, and a Gift Card created to use it later in POS, login POS backend as Openbravo.
1-Using "The White Valley Group Admin" role, go to "Product" window and select the previously created Gift Card and watch it in from view.
2-In "Expires After (days)" field, enter "15". In "Tax Category" input field, choose "As per BOM" (not the usual casuistry, but it is possible to be selected). Save the record.
3-Login POS as vallblanca.
4-Search the previously aforementioned Gift Card and click it to add it to the receipt.
5-When "Line-item Properties" popup appears, add "1234" in ID field and "Testing" as Description. Then click "Apply" button. DEFECT: It is not possible to sell the Gift Card and an uncaught exception appears. Besides, if the popup is closed, the following message appears: "Cannot calculate receipt taxes
TypeError: Cannot read property 'bomgross' of undefined".
No tags attached.
depends on backport 0032075RR16Q1 closed marvintm [RR16Q1][New Entities For Gift Cards] It is not possible to sell a Gift Card under certain circumstances. Uncaught exceptions 
has duplicate defect 0031988 closed Retail [RR16Q1] Set Tax Category "as per BOM" in a product does not work. It throws error messages 
png NotPossibleTobuyGC.png (349,730) 2016-01-21 11:48
https://issues.openbravo.com/file_download.php?file_id=8952&type=bug
png TaxesMessage.png (97,354) 2016-01-21 11:49
https://issues.openbravo.com/file_download.php?file_id=8953&type=bug
png
Issue History
2016-01-21 11:48lorenzofidalgoNew Issue
2016-01-21 11:48lorenzofidalgoAssigned To => Retail
2016-01-21 11:48lorenzofidalgoFile Added: NotPossibleTobuyGC.png
2016-01-21 11:48lorenzofidalgoTriggers an Emergency Pack => No
2016-01-21 11:49lorenzofidalgoFile Added: TaxesMessage.png
2016-01-21 16:29lorenzofidalgoRelationship addedrelated to 0031968
2016-01-22 08:42lorenzofidalgoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=10747#r10747
2016-01-22 08:44lorenzofidalgoSeveritymajor => minor
2016-01-22 08:44lorenzofidalgoSummary[RR16Q1][New Entities For Gift Cards] It is not possible to sell a Gift Card. Several uncaught exceptions appear => [RR16Q1][New Entities For Gift Cards] It is not possible to sell a Gift Card under certain circumstances. Uncaught exceptions
2016-01-22 08:44lorenzofidalgoDescription Updatedbug_revision_view_page.php?rev_id=10749#r10749
2016-01-22 09:07lorenzofidalgoPriorityimmediate => normal
2016-01-22 09:18lorenzofidalgoRelationship deletedrelated to 0031968
2016-01-22 09:19lorenzofidalgoRelationship addedcaused by 0031988
2016-02-01 15:27OrekariaStatusnew => acknowledged
2016-02-01 15:28OrekariaTarget Version => RR16Q1.1
2016-02-01 15:29OrekariaTarget VersionRR16Q1.1 => RR16Q1
2016-02-01 15:29OrekariaTypedefect => backport
2016-02-01 15:29OrekariaTypebackport => defect
2016-02-01 15:29OrekariaTarget VersionRR16Q1 =>
2016-02-01 15:29OrekariaStatusacknowledged => scheduled
2016-02-01 15:29OrekariaStatusscheduled => acknowledged
2016-02-04 11:12ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-02-04 11:12ranjith_qualiantech_comStatusacknowledged => scheduled
2016-02-11 16:34OrekariaTarget Version => RR16Q1
2016-02-11 16:35OrekariaTarget VersionRR16Q1 =>
2016-02-18 10:13hgbotCheckin
2016-02-18 10:13hgbotNote Added: 0084315
2016-02-18 10:13hgbotStatusscheduled => resolved
2016-02-18 10:13hgbotResolutionopen => fixed
2016-02-18 10:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1821f615b8c835509d940d4df7797fd0df0fdbbc [^]
2016-02-18 10:13hgbotCheckin
2016-02-18 10:13hgbotNote Added: 0084316
2016-03-11 15:53marvintmReview Assigned To => marvintm
2016-03-11 15:53marvintmStatusresolved => closed
2016-03-11 15:53marvintmFixed in Version => RR16Q2
2016-03-21 14:27ranjith_qualiantech_comRelationship replacedhas duplicate 0031988
2018-06-26 11:40hgbotCheckin
2018-06-26 11:40hgbotNote Added: 0105414
2018-06-26 14:16gorka_gilNote Deleted: 0105414

Notes
(0084315)
hgbot   
2016-02-18 10:13   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 1821f615b8c835509d940d4df7797fd0df0fdbbc
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Feb 18 14:42:42 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1821f615b8c835509d940d4df7797fd0df0fdbbc [^]

Fixes issue 31978 : Validating Product BOM while Calculating Tax

---
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---
(0084316)
hgbot   
2016-02-18 10:13   
Repository: tools/automation/pi-mobile
Changeset: a1d25273a6846dd8dceb27afa98189daab67e642
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Feb 18 14:41:07 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a1d25273a6846dd8dceb27afa98189daab67e642 [^]

Verifies issue 31978: Added automated test 'I31978_VerfiyGiftCardWithBOMTax'

---
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/giftcards/I31978_VerfiyGiftCardWithBOMTax.java
---