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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0058238
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2025-03-13 17:352025-03-17 16:27
ReporterjavietxeView Statuspublic 
Assigned Toaaroncalero 
PrioritynormalResolutionfixedFixed in Version25Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0058238: 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 Filespng file icon Popup.png [^] (38,060 bytes) 2025-03-13 17:36


png file icon ErrorNotValid.png [^] (17,098 bytes) 2025-03-13 17:36


png file icon LineModifier.png [^] (14,318 bytes) 2025-03-13 17:36

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 005824525Q1.1 closedaaroncalero Sales factor unit 0.01 
depends on backport 005824624Q4.2 closedaaroncalero Sales factor unit 0.01 

-  Notes
(0176836)
hgbot (developer)
2025-03-14 10:01

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

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3610 [^]
(0176900)
hgbot (developer)
2025-03-17 16:27

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: 56e9d921d7c62b97144294773d30909a0ea79682
Author: Aaron Calero <a.calero@orisha.com>
Date: 17-03-2025 16:23:27
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/56e9d921d7c62b97144294773d30909a0ea79682 [^]

Fixed ISSUE-58238: [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
---

- Issue History
Date Modified Username Field Change
2025-03-13 17:35 javietxe New Issue
2025-03-13 17:35 javietxe Assigned To => Retail
2025-03-13 17:35 javietxe Triggers an Emergency Pack => No
2025-03-13 17:36 javietxe File Added: Popup.png
2025-03-13 17:36 javietxe File Added: ErrorNotValid.png
2025-03-13 17:36 javietxe File Added: LineModifier.png
2025-03-14 09:54 jorgewederago Type design defect => defect
2025-03-14 09:54 jorgewederago Status new => scheduled
2025-03-14 09:54 jorgewederago Assigned To Retail => aaroncalero
2025-03-14 10:01 hgbot Note Added: 0176836
2025-03-17 16:27 hgbot Resolution open => fixed
2025-03-17 16:27 hgbot Status scheduled => closed
2025-03-17 16:27 hgbot Note Added: 0176899
2025-03-17 16:27 hgbot Fixed in Version => 25Q2
2025-03-17 16:27 hgbot Note Added: 0176900


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker