Openbravo Issue Tracking System - POS2
View Issue Details
0052409POS2Corepublic2023-05-10 15:282023-05-29 14:14
AugustoMauch 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
23Q3 
approved
No
No
0052409: [multiselection] In multiselect mode, clicking on a row should selected/deselected if at least another row is already selected
In multiselect mode, clicking on a row should selected/deselected if at least another row already selected.

Currently in in Checkbox multi selection mode, records can only be selected/deselected by clicking on the checkbox.
- Open POS2
- Open the Print Product Labels window
- Click on Next
- Enter 'a' in the Product Name filter and press Enter
- Click on a record in the Product grid (not in the checkbox). The record should not be selected (OK)
- Click on the checkbox of a record in the Product grid. The record should be selected (OK)
- Click on another record in the Product grid (not in the checkbox). The record should be selected (NOT OK)
No tags attached.
Issue History
2023-05-10 15:28AugustoMauchNew Issue
2023-05-10 15:28AugustoMauchAssigned To => Triage Platform Base
2023-05-10 15:28AugustoMauchOBNetwork customer => No
2023-05-10 15:28AugustoMauchTriggers an Emergency Pack => No
2023-05-10 15:29AugustoMauchAssigned ToTriage Platform Base => AugustoMauch
2023-05-10 15:30hgbotMerge Request Status => open
2023-05-10 15:30hgbotNote Added: 0149573
2023-05-10 17:27AugustoMauchStatusnew => scheduled
2023-05-29 10:20AugustoMauchSummary[Grid-multiselection] In multiselect mode, clicking on a row should selected/deselected if at least another row already selected => [multiselection] In multiselect mode, clicking on a row should selected/deselected if at least another row is already selected
2023-05-29 14:14hgbotMerge Request Statusopen => approved
2023-05-29 14:14hgbotNote Added: 0150420
2023-05-29 14:14hgbotResolutionopen => fixed
2023-05-29 14:14hgbotStatusscheduled => closed
2023-05-29 14:14hgbotFixed in Version => 23Q3
2023-05-29 14:14hgbotNote Added: 0150421
2023-05-29 14:14hgbotNote Added: 0150422

Notes
(0149573)
hgbot   
2023-05-10 15:30   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1093 [^]
(0150420)
hgbot   
2023-05-29 14:14   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1093 [^]
(0150421)
hgbot   
2023-05-29 14:14   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 4b97c92c7ede6ada58ef97efa58b779a4d9d600c
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 29-05-2023 14:13:32
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/4b97c92c7ede6ada58ef97efa58b779a4d9d600c [^]

Fixes ISSUE-52409: Records are selected/unselected on click in MultipleSelectionCheckbox mode

Now in MultipleSelectionCheckbox the first record must be selected by clicking on a checkbox, but after that
other records can be selected/unselected by clicking anywhere in the row.

---
M web-jspack/org.openbravo.core2/src/components/Grid/DataGrid/DataGrid.jsx
---
(0150422)
hgbot   
2023-05-29 14:14   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 67e1a87dc4e0b41eab2816d24ef50b078f74e7f7
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 29-05-2023 14:13:32
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/67e1a87dc4e0b41eab2816d24ef50b078f74e7f7 [^]

Related to ISSUE-52409: Adds test

---
M web-jspack/org.openbravo.core2/src/components/Grid/DataGrid/DataGrid.jsx
M web-jspack/org.openbravo.core2/src/components/Grid/DataGrid/__test__/DataGrid.test.jsx
---