Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0027920 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | critical | have not tried | 2014-10-20 18:58 | 2015-08-20 14:15 | |||
Reporter | adrianromero | View Status | public | |||||
Assigned To | adrianromero | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | a9b788ddc572 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|||||||||||||||
|
![]() |
|
(0071078) hgbot (developer) 2014-10-21 12:13 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 9192786617b042b4d51974846a8756a4e4467b93 Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com> Date: Tue Oct 21 12:13:30 2014 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9192786617b042b4d51974846a8756a4e4467b93 [^] fixed issue 27920:discountedGross is used only if it is not null --- M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js --- |
(0071082) migueldejuana (viewer) 2014-10-21 12:46 |
Tested and reviewed in 0be6bec9c7c8 |
(0078734) hgbot (developer) 2015-07-08 09:46 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: a9b788ddc57285e209e1e6782da962efceb883b5 Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com> Date: Tue Oct 21 12:13:30 2014 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a9b788ddc57285e209e1e6782da962efceb883b5 [^] fixed issue 27920:discountedGross is used only if it is not null --- M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js --- |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |