Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041648 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Retail Modules] Web POS | minor | have not tried | 2019-08-14 09:49 | 2019-08-16 07:34 | |||
Reporter | jorge-garcia | View Status | public | |||||
Assigned To | jorge-garcia | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR19Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 7b1fc16107d5 | ||||
Projection | none | ETA | none | Target Version | RR19Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0041648: [NewDiscountEngine] Use JS classes to implement OB.DEC instead of regular functions | |||||||
Description | As part of the new discount engine proyect, it is necessary to implement OB.DEC from ob-arithmetic with js classes. These change allows to create a in-middle js class called OB.BIGDEC that only operates with BigDecimals. These new API allows to operate without precision lost on intermediate numeric operations OB.DEC should extend from OB.BIGDEC. | |||||||
Steps To Reproduce | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0114006) hgbot (developer) 2019-08-14 09:53 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 7b1fc16107d53e69aa40686b8de317c484507f8d Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Wed Aug 14 09:52:32 2019 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7b1fc16107d53e69aa40686b8de317c484507f8d [^] Fixed issue 41648: [NewDiscountEngine] Use JS classes to implement OB.DEC instead of regular functions This commit includes: * Refactor of ob-arithmetic to use javascript classes. * Include new calculation API called OB.BIGDEC to operate only with BigDecimals (no rounding or scale). --- M web/org.openbravo.mobile.core/source/utils/ob-arithmetic.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-08-14 09:49 | jorge-garcia | New Issue | |
2019-08-14 09:49 | jorge-garcia | Assigned To | => jorge-garcia |
2019-08-14 09:49 | jorge-garcia | OBNetwork customer | => No |
2019-08-14 09:49 | jorge-garcia | Triggers an Emergency Pack | => No |
2019-08-14 09:50 | jorge-garcia | Description Updated | View Revisions |
2019-08-14 09:53 | jorge-garcia | Status | new => scheduled |
2019-08-14 09:53 | hgbot | Checkin | |
2019-08-14 09:53 | hgbot | Note Added: 0114006 | |
2019-08-14 09:53 | hgbot | Status | scheduled => resolved |
2019-08-14 09:53 | hgbot | Resolution | open => fixed |
2019-08-14 09:53 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7b1fc16107d53e69aa40686b8de317c484507f8d [^] |
2019-08-16 07:34 | marvintm | Review Assigned To | => marvintm |
2019-08-16 07:34 | marvintm | Status | resolved => closed |
2019-08-16 07:34 | marvintm | Fixed in Version | => RR19Q4 |
Copyright © 2000 - 2009 MantisBT Group |