Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056640 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [POS2] POS | major | have not tried | 2024-09-27 09:22 | 2024-10-07 12:56 | |||
Reporter | javietxe | View Status | public | |||||
Assigned To | Bimla_vm | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 24Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | 24Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | Gold | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0056640: Sales unit factor and decimals | |||||||
Description | We have detected some problems with the sales unit factor development and the usage of decimals | |||||||
Steps To Reproduce | 1- Wrong warning at ticket line level Steps to reproduce In the backoffice, go to the product tab and set a products Sales Unit Factor field to 0.3 Make all other configurations to make the product available at POS2 sale point Log into a POS2 terminal Add a unit of the product Click on the order line In the popover, use the + and - signs to set the quantity to 0.9 It displays the correct qty, but on the ticket line it displays a warning telling you that the sales factor multiple is not satisfied 2- Error when adding with + or - buttons In the backoffice, go to the product tab and set a products Sales Unit Factor field to 0.3 Make all other configurations to make the product available at POS2 sale point Log into a POS2 terminal Add a unit of the product Click on the order line In the popover, use the + and - signs to set the quantity to 0.9 Then try to go back to 0.6, it doesn’t let you do it. (it is actually adjusting the qty by 1.1^-16, so the amount is really small) 3- Error when inserting a valid amount Steps to reproduce In the backoffice, go to the product tab and set a products Sales Unit Factor field to 5.55 Make all other configurations to make the product available at POS2 sale point Log into a POS2 terminal Add a unit of the product Click on the order line In the popover, Click on the Qty input In the next keypad, insert 16.65 as the amount Click on the OK button The next dialog will ask you to use 16.65 or 22.2 as the closes multiples for the inserted number Expected behaviour It should not prompt the last dialog, as the inserted value is an actual multiple of the sales unit factor. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0170048) hgbot (developer) 2024-10-07 12:51 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2972 [^] |
(0170049) hgbot (developer) 2024-10-07 12:56 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: 8088f1c9bece0b67bd0c2063b35da6a79344e1d9 Author: Bimla Mayavan <b.mayavan@external.orisha.com> Date: 07-10-2024 16:14:40 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/8088f1c9bece0b67bd0c2063b35da6a79344e1d9 [^] Fixed ISSUE-56640: Handled decimal sales unit factor --- M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLinePopover.jsx 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 M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/TicketLineSalesUnitFactorMessage.jsx --- |
(0170050) hgbot (developer) 2024-10-07 12:56 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2972 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2024-10-03 12:56 | marvintm | Type | defect => backport |
2024-10-03 12:56 | marvintm | Target Version | => 24Q4 |
2024-10-07 12:51 | hgbot | Merge Request Status | => open |
2024-10-07 12:51 | hgbot | Note Added: 0170048 | |
2024-10-07 12:56 | hgbot | Merge Request Status | open => approved |
2024-10-07 12:56 | hgbot | Resolution | open => fixed |
2024-10-07 12:56 | hgbot | Status | scheduled => closed |
2024-10-07 12:56 | hgbot | Fixed in Version | => 24Q4 |
2024-10-07 12:56 | hgbot | Note Added: 0170049 | |
2024-10-07 12:56 | hgbot | Note Added: 0170050 | |
2024-10-16 16:07 | javietxe | Relationship added | related to 0056809 |
2024-10-16 16:29 | javietxe | Relationship deleted | related to 0056809 |
2024-12-05 18:28 | lorenzofidalgo | Relationship added | related to 0057377 |
Copyright © 2000 - 2009 MantisBT Group |