Openbravo Issue Tracking System - POS2
View Issue Details
0058009POS2POSpublic2025-02-17 20:402025-02-25 14:43
ffourcade 
fofarril 
normalmajoralways
closedfixed 
5
pi 
25Q2 
approved
No
120373
No
0058009: Split Lines in POS2 does not allow decimals
Both POS and POS2, if you have a product with a UOM that allows decimal quantities (e.g. Kilogram) and have a line with qty with decimals, you can't split the line because it is impossible to input a qty with decimals in the split lines pop up.
Having a product with UOM that allows decimals (Kilogram),
1- In POS or POS2, add the product to the order
2- Change the quantity to have decimals (i.e. 2.6kg)
3- Select the option Split Lines
4- in the split lines popup, check that you can not input a qty with decimals (in POS2 you can not even input with the keyboard, only with the - and + buttons)
If the UOM allows quantities with decimals, the split lines should allow it too.
No tags attached.
depends on backport 005801125Q1 closed fofarril Split Lines in POS2 does not allow decimals 
depends on backport 005801224Q4.1 closed fofarril Split Lines in POS2 does not allow decimals 
? split_lines_does_not_allow_decimals.mp4 (2,440,730) 2025-02-17 20:40
https://issues.openbravo.com/file_download.php?file_id=20923&type=bug
Issue History
2025-02-17 20:40ffourcadeNew Issue
2025-02-17 20:40ffourcadeAssigned To => Retail
2025-02-17 20:40ffourcadeFile Added: split_lines_does_not_allow_decimals.mp4
2025-02-17 20:40ffourcadeOBNetwork customer => No
2025-02-17 20:40ffourcadeSupport ticket => 120373
2025-02-17 20:40ffourcadeTriggers an Emergency Pack => No
2025-02-18 10:04jorgewederagoAssigned ToRetail => fofarril
2025-02-18 10:04jorgewederagoStatusnew => scheduled
2025-02-18 10:04jorgewederagoNote Added: 0175797
2025-02-18 10:26jorgewederagoStatusscheduled => feedback
2025-02-18 10:26jorgewederagoStatusfeedback => scheduled
2025-02-21 15:57hgbotMerge Request Status => open
2025-02-21 15:57hgbotNote Added: 0176023
2025-02-25 14:43hgbotMerge Request Statusopen => approved
2025-02-25 14:43hgbotResolutionopen => fixed
2025-02-25 14:43hgbotStatusscheduled => closed
2025-02-25 14:43hgbotNote Added: 0176108
2025-02-25 14:43hgbotFixed in Version => 25Q2
2025-02-25 14:43hgbotNote Added: 0176109

Notes
(0175797)
jorgewederago   
2025-02-18 10:04   
After discussing with PrM and UX we will block split lines for lines that are not using Unit as UOM
(0176023)
hgbot   
2025-02-21 15:57   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3536 [^]
(0176108)
hgbot   
2025-02-25 14:43   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3536 [^]
(0176109)
hgbot   
2025-02-25 14:43   
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: 679afa8eddb3c37d4afe6d6a55ac93f7080e9427
Author: Francisco Javier Deler O'Farril <francisco.ofarril@doceleguas.com>
Date: 25-02-2025 13:43:45
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/679afa8eddb3c37d4afe6d6a55ac93f7080e9427 [^]

Fixes ISSUE-58009: Block Split Lines for non-unit products

---
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/SplitLines.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/SplitLines.js
---