Openbravo Issue Tracking System - POS2
View Issue Details
0056703POS2POSpublic2024-10-09 10:522024-10-30 13:31
inaki_luque 
inaki_luque 
normaltrivialhave not tried
closedfixed 
5
 
25Q1 
No
0056703: Decimals not properly displayed in SCO and POS2
1.- [POS2 && SCO] The total count of products in the basket (XXXXX products in basket) should be a whole quantity without decimals.

2.- [POS2 && SCO] For the case of products that are sold in units that can be fractioned (screws in this example which is a product that is sold by weight) it should count as just 1 item in the total count of products in the basket and show the amount of the unit scanned in the ticket line. (2.5 kg in this example)
    - SCO --> Not show the line amount.
    - POS2 --> Show the amount (1).

3.- [SCO] The group product counter should allow for a number of 6 digits as per the example.


https://www.figma.com/design/8A80vJPksi7UdbYQqG69ft/SCO-2.0-Design?node-id=1441-51859&t=e8FUrq94vlfvVzcl-4 [^]

https://openbravo.atlassian.net/browse/RM-16833 [^]
-
No tags attached.
png RM-16833.png (18,476) 2024-10-09 10:52
https://issues.openbravo.com/file_download.php?file_id=20257&type=bug
png

png 195aa3c3-dd03-4f51-889c-23d19ca62c9c.png (230,869) 2024-10-11 12:37
https://issues.openbravo.com/file_download.php?file_id=20281&type=bug
png
Issue History
2024-10-09 10:52inaki_luqueNew Issue
2024-10-09 10:52inaki_luqueAssigned To => inaki_luque
2024-10-09 10:52inaki_luqueFile Added: RM-16833.png
2024-10-09 10:52inaki_luqueTriggers an Emergency Pack => No
2024-10-09 11:51inaki_luqueStatusnew => scheduled
2024-10-10 10:25hgbotNote Added: 0170250
2024-10-10 10:27hgbotNote Added: 0170251
2024-10-11 12:35inaki_luqueSummaryDecimals not properly displayed in SCO => Decimals not properly displayed in SCO and POS2
2024-10-11 12:35inaki_luqueDescription Updatedbug_revision_view_page.php?rev_id=28579#r28579
2024-10-11 12:37inaki_luqueFile Added: 195aa3c3-dd03-4f51-889c-23d19ca62c9c.png
2024-10-11 14:25hgbotNote Added: 0170293
2024-10-14 11:58hgbotNote Added: 0170347
2024-10-14 16:45hgbotNote Added: 0170373
2024-10-14 16:47hgbotNote Added: 0170374
2024-10-22 11:43hgbotNote Added: 0170750
2024-10-30 13:31hgbotNote Added: 0171157
2024-10-30 13:31hgbotNote Added: 0171158
2024-10-30 13:31hgbotResolutionopen => fixed
2024-10-30 13:31hgbotStatusscheduled => closed
2024-10-30 13:31hgbotNote Added: 0171159
2024-10-30 13:31hgbotNote Added: 0171160
2024-10-30 13:31hgbotFixed in Version => 25Q1
2024-10-30 13:31hgbotNote Added: 0171161
2024-10-30 13:31hgbotNote Added: 0171162
2024-10-30 13:31hgbotNote Added: 0171163
2024-10-30 13:31hgbotNote Added: 0171164
2024-10-30 13:31hgbotNote Added: 0171165
2024-10-30 13:31hgbotNote Added: 0171166

Notes
(0170250)
hgbot   
2024-10-10 10:25   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1711 [^]
(0170251)
hgbot   
2024-10-10 10:27   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/merge_requests/98 [^]
(0170293)
hgbot   
2024-10-11 14:25   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2985 [^]
(0170347)
hgbot   
2024-10-14 11:58   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/300 [^]
(0170373)
hgbot   
2024-10-14 16:45   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/300 [^]
(0170374)
hgbot   
2024-10-14 16:47   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/301 [^]
(0170750)
hgbot   
2024-10-22 11:43   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1402 [^]
(0171157)
hgbot   
2024-10-30 13:31   
Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 50d778c1c2464071ccf82aaf50dd8ab72e35e4cf
Author: Iñaki Luque <i.luque@orisha.com>
Date: 30-10-2024 12:31:07
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/50d778c1c2464071ccf82aaf50dd8ab72e35e4cf [^]

Related to ISSUE-56703: Added help content to the UOM Type element

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0171158)
hgbot   
2024-10-30 13:31   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1402 [^]
(0171159)
hgbot   
2024-10-30 13:31   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout [^]
Changeset: e865f18b045ac708574d085458aa3cb2ffe5f352
Author: Iñaki Luque <i.luque@orisha.com>
Date: 30-10-2024 12:31:13
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/commit/e865f18b045ac708574d085458aa3cb2ffe5f352 [^]

Fixed ISSUE-56703: Decimals not properly displayed in SCO

---
A web-jspack/org.openbravo.pos2.selfcheckout/src/components/Ticket/SCOTicketView/SCOTicketLines/SCOTicketLine/SCOProductInfoContainer/SCOTicketLineCharacteristics/__test__/SCOTicketLineCharacteristics.test.jsx
A web-jspack/org.openbravo.pos2.selfcheckout/src/components/Ticket/SCOTicketView/SCOTicketLines/SCOTicketLine/SCOProductInfoContainer/SCOTicketLineExtraInfo/SCOTicketLineExtraInfo.jsx
A web-jspack/org.openbravo.pos2.selfcheckout/src/components/Ticket/SCOTicketView/SCOTicketLines/SCOTicketLine/SCOProductInfoContainer/SCOTicketLineExtraInfo/__test__/SCOTicketLineExtraInfo.test.jsx
A web-jspack/org.openbravo.pos2.selfcheckout/src/components/Ticket/SCOTicketView/SCOTicketLines/SCOTicketLine/SCOProductInfoContainer/SCOTicketLineExtraInfo/index.js
M web-jspack/org.openbravo.pos2.selfcheckout/src/components/Ticket/SCOTicketView/SCOTicketLines/SCOTicketLine/SCOProductInfoContainer/SCOTicketLineCharacteristics/SCOTicketLineCharacteristics.jsx
M web-jspack/org.openbravo.pos2.selfcheckout/src/components/Ticket/SCOTicketView/SCOTicketLines/SCOTicketLine/SCOQuantityItemContainer/SCOTicketLineQty/SCOTicketLineQty.jsx
M web-jspack/org.openbravo.pos2.selfcheckout/src/components/Ticket/SCOTicketView/SCOTicketLines/SCOTicketLines.scss
M web-jspack/org.openbravo.pos2.selfcheckout/src/components/TransactionSummary/TransactionSummary.jsx
---
(0171160)
hgbot   
2024-10-30 13:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/merge_requests/98 [^]
(0171161)
hgbot   
2024-10-30 13:31   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: fedca72425a5620d8dce04dad28a4b7dc462ac1f
Author: Iñaki Luque <i.luque@orisha.com>
Date: 30-10-2024 12:31:20
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/fedca72425a5620d8dce04dad28a4b7dc462ac1f [^]

Fixed ISSUE-56703: Decimals not properly displayed in POS

---
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/ProductExtraInfo.jsx
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/__test__/ProductExtraInfo.test.jsx
A web-jspack/org.openbravo.pos2/src/components/Ticket/UOMTicketUtils.js
A web-jspack/org.openbravo.pos2/src/components/Ticket/__test__/UOMTicketUtils.test.js
M web-jspack/org.openbravo.pos2/src/components/Exchange/ExchangeProductSelector/ExchangeOrderLineWrapper/__test__/ExchangeOrderLineWrapper.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Exchange/ExchangeProductSelector/ExchangeProductSelectorDialog/__test__/ExchangeProductSelectorDialog.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Exchange/ExchangeProductSelector/ExchangeTicketLine.config.json
M web-jspack/org.openbravo.pos2/src/components/Exchange/ExchangeProductSelector/__test__/ExchangeProductSelector.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductBundleWizard/ProductBundleWizardProductKeymapLayout/__test__/ProductBundleWizardProductKeymapLayout.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductButton/ProductButtonContent/__test__/ProductButtonContent.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductButton/ProductButtonContentQty/ProductButtonContentQty.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductButton/ProductPopover/__test__/ProductPopover.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductKeymap/__test__/ProductKeymap.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductSearch/FilteredProductsKeymap/__test__/FilteredProductsKeymap.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProofOfPayment/ProofOfPaymentDetails/ProofOfPaymentDetailLine/__test__/ProofOfPaymentDetailLine.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProofOfPayment/ProofOfPaymentDetails/__test__/ProofOfPaymentDetails.test.jsx
M web-jspack/org.openbravo.pos2/src/components/SelectLines/SelectedLinesGrid/__test__/SelectLines.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketArea/__test__/TicketArea.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketArea/stories/TicketArea.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLinePopover.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/ProductCharacteristics.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/SetLineQuantityButton.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/TicketLine.config.json
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/TicketLineQuantity.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/TicketLines.scss
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/__test__/ProductCharacteristics.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/__test__/TicketLineLite.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/__test__/TicketLines.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/__test__/TicketLinesLite.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/stories/TicketLines.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/TicketLineRenderCell/__test__/TicketLineRenderCell.test.jsx
M web-jspack/org.openbravo.pos2/src/components/VerifiedReturns/VerifiedReturnsGrid/TicketLineRenderCellWrapper/__test__/TicketLineRenderCellWrapper.test.jsx
M web-jspack/org.openbravo.pos2/src/components/VerifiedReturns/VerifiedReturnsGrid/VerifiedReturnTicketLine.config.json
M web-jspack/org.openbravo.pos2/src/components/VerifiedReturns/VerifiedReturnsGrid/__test__/VerifiedReturnsGrid.test.jsx
M web-jspack/org.openbravo.pos2/src/components/VerifiedReturns/VerifiedReturnsGrid/stories/VerifiedReturnsGrid.stories.jsx
M web-jspack/org.openbravo.pos2/src/model/user-interface/utils/calculateProductTicketQty.js
---
(0171162)
hgbot   
2024-10-30 13:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2985 [^]
(0171163)
hgbot   
2024-10-30 13:31   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 0dfd06c22f112543eb290a7d29b0835a945aa01b
Author: Iñaki Luque <i.luque@orisha.com>
Date: 30-10-2024 12:31:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/0dfd06c22f112543eb290a7d29b0835a945aa01b [^]

Related to ISSUE-56703: Decimals not properly displayed

---
M src/org/openbravo/retail/posterminal/master/ProductProperties.java
M web-test/model/business-object/ticket/CalculateTotalsModelHook.test.js
M web-test/model/business-object/ticket/actions/AddPaymentWithDiscount.test.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js
M web/org.openbravo.retail.posterminal/js/model/product.js
---
(0171164)
hgbot   
2024-10-30 13:31   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant [^]
Changeset: 08413638bcef74b9048a562823def72341c069e4
Author: Iñaki Luque <i.luque@orisha.com>
Date: 30-10-2024 12:31:32
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/commit/08413638bcef74b9048a562823def72341c069e4 [^]

Related to ISSUE-56703: Decimals not properly displayed

---
M web-jspack/org.openbravo.pos2.restaurant/src/components/TicketMenuLine/TicketMenuInProgressLineHeader/__test__/TicketMenuInProgressLineHeader.test.jsx
M web-jspack/org.openbravo.pos2.restaurant/src/components/TicketMenuLine/stories/TicketMenuLine.stories.jsx
---
(0171165)
hgbot   
2024-10-30 13:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/301 [^]
(0171166)
hgbot   
2024-10-30 13:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1711 [^]