Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032075Retail ModulesGift cards and gift voucherspublic2016-01-21 11:482016-03-08 19:23
lorenzofidalgo 
marvintm 
normalminoralways
closedfixed 
5
main 
RR16Q1RR16Q1 
guilleaer
No
0032075: [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.
blocks defect 0031978 closed ranjith_qualiantech_com [RR16Q1][New Entities For Gift Cards] It is not possible to sell a Gift Card under certain circumstances. Uncaught exceptions 
Issue History
2016-02-01 15:29OrekariaTypedefect => backport
2016-02-01 15:29OrekariaTarget Version => RR16Q1
2016-03-02 17:35hgbotCheckin
2016-03-02 17:35hgbotNote Added: 0084667
2016-03-02 17:35hgbotStatusscheduled => resolved
2016-03-02 17:35hgbotResolutionopen => fixed
2016-03-02 17:35hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/64c5e8d1ddaa3e98b178b12e063fddbe5891eebc [^]
2016-03-08 10:19marvintmAssigned ToRetail => marvintm
2016-03-08 19:23guilleaerReview Assigned To => guilleaer
2016-03-08 19:23guilleaerStatusresolved => closed
2016-03-08 19:23guilleaerFixed in Version => RR16Q1

Notes
(0084667)
hgbot   
2016-03-02 17:35   
Repository: retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal
Changeset: 64c5e8d1ddaa3e98b178b12e063fddbe5891eebc
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Mar 02 17:35:24 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/64c5e8d1ddaa3e98b178b12e063fddbe5891eebc [^]

Fixed issue 32075. Validating Product BOM while Calculating Tax

---
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---