Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029139Retail ModulesWeb POSpublic2015-03-05 10:452015-03-05 10:45
marvintm 
marvintm 
normalminoralways
newopen 
5
 
 
No
0029139: Web POS shouldn't import javascript resources from Core
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).
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.
No tags attached.
related to defect 00291133.0PR15Q2 closed AugustoMauch Openbravo ERP Openbravo interface is not rounding properly the database data 
Issue History
2015-03-05 10:45marvintmNew Issue
2015-03-05 10:45marvintmAssigned To => marvintm
2015-03-05 10:45marvintmTriggers an Emergency Pack => No
2015-03-05 10:46AugustoMauchRelationship addedrelated to 0029113

There are no notes attached to this issue.