Openbravo Issue Tracking System - Retail Modules
View Issue Details
0024603Retail ModulesWeb POSpublic2013-08-28 08:342013-09-18 17:44
jecharri 
adrianromero 
urgentminoralways
closedfixed 
5
 
RMP27RMP27 
marvintm
No
0024603: Rounding in Web POS quantity
Rounding in Web POS quantity

Currently Web POS is rounding the quantity to 2 decimals
-Login in Web POS
-Insert a product

If you try to insert quantity --> 1.234 you will see that Web POS round it to 1.23

Above behaviour is wrong, the clients should be able to insert 3 decimals minimun. The real solution will be to allow the standard precision defined for Unit (window "Unit of Meassure" --> field "Standard precision")
No tags attached.
related to design defect 0024602 new Retail With 2 precisions we should manage the price list creation 
related to design defect 0024601 new Retail Still we continue having problems with rounding in web POS 
related to defect 0024563RMP27 closed adrianromero Problems with rounding in web POS 
related to design defect 0024604 new Retail It is neccesary to add 2 new entries in file "Format.xml" 
Issue History
2013-08-28 08:34jecharriNew Issue
2013-08-28 08:34jecharriAssigned To => adrianromero
2013-08-28 08:34jecharriResolution time => 1378504800
2013-08-28 08:34jecharriTriggers an Emergency Pack => No
2013-08-28 08:34jecharriRelationship addedrelated to 0024602
2013-08-28 08:34jecharriRelationship addedrelated to 0024601
2013-08-28 08:34jecharriRelationship addedrelated to 0024563
2013-08-28 08:40jecharriRelationship addedrelated to 0024604
2013-08-29 14:19hgbotCheckin
2013-08-29 14:19hgbotNote Added: 0060818
2013-08-29 14:19hgbotStatusnew => resolved
2013-08-29 14:19hgbotResolutionopen => fixed
2013-08-29 14:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f5484a29255e04edd7e9235fcb6ca67ccb7b3ba7 [^]
2013-08-30 13:22hgbotCheckin
2013-08-30 13:22hgbotNote Added: 0060837
2013-08-30 13:22hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f5484a29255e04edd7e9235fcb6ca67ccb7b3ba7 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5baa572f39a9e64ef56bf942dd4950d67d0d9d76 [^]
2013-09-10 09:54hgbotCheckin
2013-09-10 09:54hgbotNote Added: 0060994
2013-09-10 09:54hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5baa572f39a9e64ef56bf942dd4950d67d0d9d76 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core-levelpricing/rev/f5484a29255e04edd7e9235fcb6ca67ccb7b3ba7 [^]
2013-09-10 09:54hgbotCheckin
2013-09-10 09:54hgbotNote Added: 0060996
2013-09-10 09:54hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core-levelpricing/rev/f5484a29255e04edd7e9235fcb6ca67ccb7b3ba7 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-levelpricing/rev/5baa572f39a9e64ef56bf942dd4950d67d0d9d76 [^]
2013-09-18 17:44marvintmReview Assigned To => marvintm
2013-09-18 17:44marvintmStatusresolved => closed
2013-09-18 17:44marvintmFixed in Version => RMP27

Notes
(0060818)
hgbot   
2013-08-29 14:19   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: f5484a29255e04edd7e9235fcb6ca67ccb7b3ba7
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Aug 29 14:16:14 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f5484a29255e04edd7e9235fcb6ca67ccb7b3ba7 [^]

Fixes issue 0024603: Rounding in Web POS quantity.
Calculating quantity scale from qtyEdition format and adding scale parameter to decimal calculation functions.

---
M web/org.openbravo.mobile.core/source/utils/ob-arithmetic.js
M web/org.openbravo.mobile.core/source/utils/ob-i18n.js
---
(0060837)
hgbot   
2013-08-30 13:22   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5baa572f39a9e64ef56bf942dd4950d67d0d9d76
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Aug 29 13:54:49 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5baa572f39a9e64ef56bf942dd4950d67d0d9d76 [^]

Fixes issue 0024603: Rounding in Web POS quantity.
Now Web POS rounds quantities according format 'qtyEdition' of config file 'Format.xml'

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0060994)
hgbot   
2013-09-10 09:54   
Repository: erp/pmods/org.openbravo.mobile.core-levelpricing
Changeset: f5484a29255e04edd7e9235fcb6ca67ccb7b3ba7
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Aug 29 14:16:14 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core-levelpricing/rev/f5484a29255e04edd7e9235fcb6ca67ccb7b3ba7 [^]

Fixes issue 0024603: Rounding in Web POS quantity.
Calculating quantity scale from qtyEdition format and adding scale parameter to decimal calculation functions.

---
M web/org.openbravo.mobile.core/source/utils/ob-arithmetic.js
M web/org.openbravo.mobile.core/source/utils/ob-i18n.js
---
(0060996)
hgbot   
2013-09-10 09:54   
Repository: erp/pmods/org.openbravo.retail.posterminal-levelpricing
Changeset: 5baa572f39a9e64ef56bf942dd4950d67d0d9d76
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Aug 29 13:54:49 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-levelpricing/rev/5baa572f39a9e64ef56bf942dd4950d67d0d9d76 [^]

Fixes issue 0024603: Rounding in Web POS quantity.
Now Web POS rounds quantities according format 'qtyEdition' of config file 'Format.xml'

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---