Openbravo Issue Tracking System - Retail Modules | |||||||||||||
View Issue Details | |||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0029139 | Retail Modules | Web POS | public | 2015-03-05 10:45 | 2015-03-05 10:45 | ||||||||
Reporter | marvintm | ||||||||||||
Assigned To | marvintm | ||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | 5 | OS Version | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Merge Request Status | |||||||||||||
Review Assigned To | |||||||||||||
OBNetwork customer | |||||||||||||
Support ticket | |||||||||||||
Regression level | |||||||||||||
Regression date | |||||||||||||
Regression introduced in release | |||||||||||||
Regression introduced by commit | |||||||||||||
Triggers an Emergency Pack | No | ||||||||||||
Summary | 0029139: Web POS shouldn't import javascript resources from Core | ||||||||||||
Description | Right now, the Web POS is importing the following files: "../../org.openbravo.client.application/js/utilities/ob-utilities-number", "../../org.openbravo.client.application/js/utilities/ob-utilities-date", And also this one: globalResources.add(createComponentResource(ComponentResourceType.Static, prefix + "utils/unlinkDeviceOnLoad.js", ComponentResource.APP_OB3)); This is dangerous, because these files are maintained in the ERP, and the ERP has access to libraries that do not exist in the mobile platform. So we should stop using functions from these files and replace them with functions in our own libraries (for example for the ones in ob-utilities-number we have equivalent ones in ob-arithmetics.js). | ||||||||||||
Steps To Reproduce | Verify that in order.js, we use function OB.Utilities.Number.roundJSNumber, which was temporarily broken when a call to a Smartclient function was added there. | ||||||||||||
Proposed Solution | |||||||||||||
Additional Information | |||||||||||||
Tags | No tags attached. | ||||||||||||
Relationships |
| ||||||||||||
Attached Files | |||||||||||||
Issue History | |||||||||||||
Date Modified | Username | Field | Change | ||||||||||
2015-03-05 10:45 | marvintm | New Issue | |||||||||||
2015-03-05 10:45 | marvintm | Assigned To | => marvintm | ||||||||||
2015-03-05 10:45 | marvintm | Triggers an Emergency Pack | => No | ||||||||||
2015-03-05 10:46 | AugustoMauch | Relationship added | related to 0029113 |
There are no notes attached to this issue. |