Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030977Retail ModulesWeb POSpublic2015-09-01 13:062015-12-04 12:43
malsasua 
guilleaer 
immediateminoralways
closedfixed 
20Community Appliance
RR15Q3 
RR15Q3.3RR15Q3.3 
marvintm
Production - Confirmed Stable
No
0030977: JS error is displayed when taxes are not found
Regression found in RR15Q2 and RR15Q3


when in webpos the taxes are not found by one product, JS error is displayed[1], but the next message should be displayed:

Cannot calculate receipt taxes
Cannot find taxes for Headlamp ultralight. The line affected will be deleted. Please ensure that there is at least one tax rate and tax rate zone configured for the partner address.

[1] posterminal.main.js: Uncaught TypeError: Cannot read property 'get' of undefined; line: https://livebuilds.openbravo.com/retail_mp_3.0RR15Q3/web/js/gen/6e9be025440535e8669a13863669696b_WebPOS.js:1100 [^]
. go to backoffice:
 . business partner tax category window:
   . new record: name: test
 . business partner window
   select Carl Studson
  -> tab: customer
    . SO BP Tax Category: test

. go to WEB POS
 . select bp: Carl Studson
 . add a product

error is returned:
posterminal.main.js: Uncaught TypeError: Cannot read property 'get' of undefined; line: https://livebuilds.openbravo.com/retail_mp_3.0RR15Q3/web/js/gen/6e9be025440535e8669a13863669696b_WebPOS.js:1100 [^]
No tags attached.
blocks defect 0030717RR16Q1 closed guilleaer JS error is displayed when taxes are not found 
? diffTaxesIssue_15Q3_1.export (4,758) 2015-10-22 13:42
https://issues.openbravo.com/file_download.php?file_id=8621&type=bug
Issue History
2015-09-29 18:57OrekariaTypedefect => backport
2015-09-29 18:57OrekariaTarget VersionRR16Q1 => RR15Q3.3
2015-10-02 11:36guilleaerAssigned ToRetail => guilleaer
2015-10-02 11:38guilleaerFile Added: diffIssue30990.diff
2015-10-22 13:42guilleaerFile Deleted: diffIssue30990.diff
2015-10-22 13:42guilleaerFile Added: diffTaxesIssue_15Q3_1.export
2015-10-22 13:42guilleaerNote Added: 0081209
2015-12-02 18:43hgbotCheckin
2015-12-02 18:43hgbotNote Added: 0082551
2015-12-02 18:43hgbotStatusscheduled => resolved
2015-12-02 18:43hgbotResolutionopen => fixed
2015-12-02 18:43hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q3.3/org.openbravo.retail.posterminal/rev/bf1d903c39f2ad906ecdd3e9637bd2210868b852 [^]
2015-12-03 18:02guilleaerReview Assigned To => Orekaria
2015-12-04 12:43marvintmReview Assigned ToOrekaria => marvintm
2015-12-04 12:43marvintmStatusresolved => closed
2015-12-04 12:43marvintmFixed in Version => RR15Q3.3

Notes
(0081209)
guilleaer   
2015-10-22 13:42   
Attached diff has passed successfully Try.
(0082551)
hgbot   
2015-12-02 18:43   
Repository: retail/backports/3.0RR15Q3.3/org.openbravo.retail.posterminal
Changeset: bf1d903c39f2ad906ecdd3e9637bd2210868b852
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Dec 02 18:38:42 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q3.3/org.openbravo.retail.posterminal/rev/bf1d903c39f2ad906ecdd3e9637bd2210868b852 [^]

Fixed issue 30977: Error message in properly shown when no taxes are found

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