Openbravo Issue Tracking System - POS2
View Issue Details
0051358POS2POSpublic2023-01-12 15:542023-04-03 11:27
philippe_mui 
andrea_lopez 
highmajoralways
closedfixed 
5
 
23Q3 
No
0051358: RM-5747: [Product LABELS] product line disappear while changing the quantity of labels to print in step 2
In WebPos, the product line is deleted when changing the quantity of labels to print by deleting the field to type a new value for the number of labels

See video attached

https://openbravo.atlassian.net/browse/RM-5747 [^]
Go to WebPos
Go to " Print Product Labels " screen
Select date, template and print option then click next
In step 2 : Select products to print and try to modify manually the quantity to print by deleting the default quantity and replace it with the new one

Current behavior : the product line disappear

Expected behavior : The value in the field can be deleted and changed for another value without dissappearing
FASH
? Untitled 130.mp4 (3,124,648) 2023-01-12 15:54
https://issues.openbravo.com/file_download.php?file_id=18028&type=bug
Issue History
2023-01-12 15:54philippe_muiNew Issue
2023-01-12 15:54philippe_muiAssigned To => Retail
2023-01-12 15:54philippe_muiFile Added: Untitled 130.mp4
2023-01-12 15:54philippe_muiTriggers an Emergency Pack => No
2023-01-12 15:56philippe_muiTag Attached: FASH
2023-02-21 23:45mtaalAssigned ToRetail => andrea_lopez
2023-02-24 14:47gorka_gilNote Added: 0146990
2023-03-06 14:00hgbotNote Added: 0147302
2023-03-20 09:55hgbotNote Added: 0147690
2023-03-20 12:21hgbotNote Added: 0147698
2023-03-20 12:28hgbotNote Added: 0147699
2023-03-27 12:37mtaalSummary[Product LABELS] product line disappear while changing the quantity of labels to print in step 2 => RM-5747: [Product LABELS] product line disappear while changing the quantity of labels to print in step 2
2023-03-27 12:37mtaalDescription Updatedbug_revision_view_page.php?rev_id=25769#r25769
2023-04-03 11:26hgbotResolutionopen => fixed
2023-04-03 11:26hgbotStatusnew => closed
2023-04-03 11:26hgbotFixed in Version => 23Q3
2023-04-03 11:26hgbotNote Added: 0148184
2023-04-03 11:26hgbotNote Added: 0148185
2023-04-03 11:27hgbotNote Added: 0148186
2023-04-03 11:27hgbotNote Added: 0148187

Notes
(0146990)
gorka_gil   
2023-02-24 14:47   
The component reacts to onChange, probably needed to create a new component that reacts to onblur (so it is only evaluated when lost the focus)
(0147302)
hgbot   
2023-03-06 14:00   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/merge_requests/14 [^]
(0147690)
hgbot   
2023-03-20 09:55   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/merge_requests/14 [^]
(0147698)
hgbot   
2023-03-20 12:21   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/merge_requests/15 [^]
(0147699)
hgbot   
2023-03-20 12:28   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1016 [^]
(0148184)
hgbot   
2023-04-03 11:26   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: bfeb5ff5c9161ffff2111b2f3bdde4689ce02ba1
Author: Andrea Lopez <andrea.lopez@openbravo.com>
Date: 03-04-2023 09:26:37
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/bfeb5ff5c9161ffff2111b2f3bdde4689ce02ba1 [^]

Fixes BUG-51358: [Product LABELS] product line disappear while changing the quantity of labels to print in step 2.

---
M web-jspack/org.openbravo.core2/src/components/IncrementalInput/IncrementalInput.jsx
M web-jspack/org.openbravo.core2/src/components/IncrementalInput/__test__/IncrementalInput.test.jsx
M web-jspack/org.openbravo.core2/src/hooks/useEditNumber/__test__/useEditNumber.test.jsx
M web-jspack/org.openbravo.core2/src/hooks/useEditNumber/useEditNumber.js
---
(0148185)
hgbot   
2023-04-03 11:26   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1016 [^]
(0148186)
hgbot   
2023-04-03 11:27   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/merge_requests/15 [^]
(0148187)
hgbot   
2023-04-03 11:27   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing [^]
Changeset: b5ef11c545a28f6e557c6d0e92e1b13cdea0beb4
Author: Andrea Lopez <andrea.lopez@openbravo.com>
Date: 03-04-2023 09:27:25
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/commit/b5ef11c545a28f6e557c6d0e92e1b13cdea0beb4 [^]

Fixes BUG-51358: [Product LABELS] product line disappear while changing the quantity of labels to print in step 2.

---
M web-jspack/org.openbravo.pos2.product.label.printing/src/components/PrintProductLabel/PrintProductLabelSelectProdStep/PrintProductLabelSelectProdIncrementalInput/PrintProductLabelSelectProdIncrementalInput.jsx
---