Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0058246
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajorhave not tried2025-03-13 17:352025-03-21 13:54
ReporterjavietxeView Statuspublic 
Assigned Toaaroncalero 
PrioritynormalResolutionfixedFixed in Version24Q4.2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version24Q4.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerGold
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0058246: Sales factor unit 0.01

DescriptionWhen a product is set with the sales factor unit 0.01 and selecting in the POS a value as for example 2.38 as quantity, several problems occur:

1) A popup is shown saying that the quantity is not a multiple of 0.01 while clearly it is (Popup.png). In fact one of the options is the written one.

2) While selecting any of the options in the popup, even apparently it is a valid multiple, the line is in error saying that the quantity selected is not multiple (ErrorNotValid.png)

3) While trying to modify this number using the + button does nothing (LineModifier.png)

Steps To ReproduceBackOffice

Create a new product defining the UOM = Kilogram and Sales factor unit = 0.01.

POS:

Error 1)
- Browse for the new product
- Add it to the order
- Click in the line
- Click in "Qty" so a numeric pad appears
- Click in Qty and set 2.38
- Click OK -> Check that the Quantity adjustment popup is opened

Error 2)
- After the steps on Error 1, click in any quantity suggested. See that the line has the error shown

Error 3)

- After the steps on Error 2, click in the line.
- Try to modify the quantity pressing in +. See that it doesn't work

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0058238 closedinaki_luque Sales factor unit 0.01 

-  Notes
(0176839)
hgbot (developer)
2025-03-14 10:19

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3612 [^]
(0176903)
hgbot (developer)
2025-03-17 16:28

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 2ce7065f16d272dde2c668839cfc177e57640246
Author: Aaron Calero <a.calero@orisha.com>
Date: 14-03-2025 10:18:12
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/2ce7065f16d272dde2c668839cfc177e57640246 [^]

Fixed ISSUE-58246: [Sales factor with decimals] Use OB.DEC.div to avoid rounding errors

---
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLineSalesUnitFactorQuantity/TicketLineSalesUnitFactorQuantityUtils.js
---
(0176904)
hgbot (developer)
2025-03-17 16:28

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3612 [^]
(0176973)
hgbot (developer)
2025-03-19 09:07

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3634 [^]
(0177116)
hgbot (developer)
2025-03-21 13:54

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 7c3ad239e24ebd25e69a5ad10748906108bfc97a
Author: IƱaki Luque <i.luque@orisha.com>
Date: 21-03-2025 13:54:12
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/7c3ad239e24ebd25e69a5ad10748906108bfc97a [^]

Related to ISSUE-58246: [24q4] Using OB.DEC for getting the previous and next multiples

---
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLineSalesUnitFactorQuantity/TicketLineSalesUnitFactorQuantityUtils.js
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLineSalesUnitFactorQuantity/__test__/TicketLineSalesUnitFactorQuantity.test.jsx
---
(0177117)
hgbot (developer)
2025-03-21 13:54

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3634 [^]

- Issue History
Date Modified Username Field Change
2025-03-14 09:54 jorgewederago Type defect => backport
2025-03-14 09:54 jorgewederago Target Version => 24Q4.2
2025-03-14 10:19 hgbot Merge Request Status => open
2025-03-14 10:19 hgbot Note Added: 0176839
2025-03-14 10:19 aaroncalero Assigned To Retail => aaroncalero
2025-03-17 16:27 hgbot Merge Request Status open => approved
2025-03-17 16:28 hgbot Resolution open => fixed
2025-03-17 16:28 hgbot Status scheduled => closed
2025-03-17 16:28 hgbot Fixed in Version => 24Q4.2
2025-03-17 16:28 hgbot Note Added: 0176903
2025-03-17 16:28 hgbot Note Added: 0176904
2025-03-19 09:07 hgbot Note Added: 0176973
2025-03-21 13:54 hgbot Note Added: 0177116
2025-03-21 13:54 hgbot Note Added: 0177117


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker