Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0027920 | Retail Modules | Web POS | public | 2014-10-20 18:58 | 2015-08-20 14:15 | ||||||||||||||
Reporter | adrianromero | ||||||||||||||||||
Assigned To | adrianromero | ||||||||||||||||||
Priority | normal | Severity | critical | Reproducibility | have not tried | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | migueldejuana | ||||||||||||||||||
OBNetwork customer | No | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0027920: If promotions field is not defined, a javascript error is raised when calculating taxes | ||||||||||||||||||
Description | In some instances, it is raised a javascript error when adding a new product to the receipt. The problem is when calculating taxes in the line: https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/dc09f9595d0b/web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js#l85 [^] If the 'promotions' field is not defined, discountedGross will be null, and raise an error in the line: https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/dc09f9595d0b/web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js#l153 [^] | ||||||||||||||||||
Steps To Reproduce | N.A. | ||||||||||||||||||
Proposed Solution | Initialize properly discontedGross when 'promotions' is not defined yet. | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=7398&type=bug | ||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2014-10-20 18:58 | adrianromero | New Issue | |||||||||||||||||
2014-10-20 18:58 | adrianromero | Assigned To | => adrianromero | ||||||||||||||||
2014-10-20 18:58 | adrianromero | OBNetwork customer | => No | ||||||||||||||||
2014-10-20 18:58 | adrianromero | Triggers an Emergency Pack | => No | ||||||||||||||||
2014-10-20 19:24 | adrianromero | File Added: Issue27920.patch | |||||||||||||||||
2014-10-21 12:13 | hgbot | Checkin | |||||||||||||||||
2014-10-21 12:13 | hgbot | Note Added: 0071078 | |||||||||||||||||
2014-10-21 12:13 | hgbot | Status | new => resolved | ||||||||||||||||
2014-10-21 12:13 | hgbot | Resolution | open => fixed | ||||||||||||||||
2014-10-21 12:13 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9192786617b042b4d51974846a8756a4e4467b93 [^] | ||||||||||||||||
2014-10-21 12:23 | malsasua | Relationship added | related to 0027928 | ||||||||||||||||
2014-10-21 12:46 | migueldejuana | Review Assigned To | => migueldejuana | ||||||||||||||||
2014-10-21 12:46 | migueldejuana | Note Added: 0071082 | |||||||||||||||||
2014-10-21 12:46 | migueldejuana | Status | resolved => closed | ||||||||||||||||
2014-10-21 12:54 | adrianromero | Relationship added | caused by 0027778 | ||||||||||||||||
2015-07-08 09:46 | hgbot | Checkin | |||||||||||||||||
2015-07-08 09:46 | hgbot | Note Added: 0078734 | |||||||||||||||||
2015-07-08 09:46 | hgbot | Status | closed => resolved | ||||||||||||||||
2015-07-08 09:46 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9192786617b042b4d51974846a8756a4e4467b93 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a9b788ddc57285e209e1e6782da962efceb883b5 [^] | ||||||||||||||||
2015-08-20 14:15 | marvintm | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|