Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049182 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Quotations | major | always | 2022-05-02 13:43 | 2022-06-01 11:08 | |||
Reporter | idiez | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR22Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | RR22Q1.2 | SCM revision | ||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0049182: Infinite Decimals Problem | |||||||
Description | Error reproduce in: https://livebuilds.openbravo.com/retail_mp_3.0RR22Q1.2/web/org.openbravo.retail.posterminal/?terminal=VBS-1#retail.pointofsale [^] https://livebuilds.openbravo.com/retail_mp_3.0RR22Q1.2 [^] | |||||||
Steps To Reproduce | 1) Go to the backoffice (system role) in the window "UNIT OF Measruge". 2) Look for the unit "Unit" we place in the tab "Standard Precision" 4 3) Go to the webpos 4) Add a product and modify the quantity, for example "0.06" 5) Open "DevTools" and select "DevTools". 5)Open "DevTools" and we look for the quantity we can see a large amount of decimals. 6)Look for "selectdReceiptLines.forEach(fuction(line)){" and we can observe that in the condition we get the decimal "0.60000000005". 7) It is expected that the quantity is not infinite, since it could bring problems at the time of making inventory. The video with steps: https://www.youtube.com/watch?v=-L9gpjs0pZU [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | 49182_20Q4_posterminal.diff [^] (3,934 bytes) 2022-06-01 11:08 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0136959) hgbot (developer) 2022-05-05 07:54 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/786 [^] |
(0137802) hgbot (developer) 2022-05-27 08:11 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/786 [^] |
(0137803) hgbot (developer) 2022-05-27 08:11 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: 9f11651a4e34597c01e80d76818a90e5cad99e5d Author: Ranjith S R <ranjith@qualiantech.com> Date: 27-05-2022 06:11:41 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/9f11651a4e34597c01e80d76818a90e5cad99e5d [^] Fixed ISSUE-49182: OB.DEC used when updating receipt line quantity --- M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/AddProductUtils.js M web/org.openbravo.retail.posterminal/js/actions/changequantity.js --- |
Issue History | |||
Date Modified | Username | Field | Change |
2022-05-02 13:43 | idiez | New Issue | |
2022-05-02 13:43 | idiez | Assigned To | => Retail |
2022-05-02 13:43 | idiez | Triggers an Emergency Pack | => No |
2022-05-02 15:32 | Practics | Issue Monitored: Practics | |
2022-05-04 13:16 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2022-05-04 15:32 | ranjith_qualiantech_com | Status | new => scheduled |
2022-05-05 07:54 | hgbot | Note Added: 0136959 | |
2022-05-27 08:11 | hgbot | Resolution | open => fixed |
2022-05-27 08:11 | hgbot | Status | scheduled => closed |
2022-05-27 08:11 | hgbot | Note Added: 0137802 | |
2022-05-27 08:11 | hgbot | Fixed in Version | => RR22Q3 |
2022-05-27 08:11 | hgbot | Note Added: 0137803 | |
2022-06-01 11:08 | ranjith_qualiantech_com | File Added: 49182_20Q4_posterminal.diff |
Copyright © 2000 - 2009 MantisBT Group |