Openbravo Issue Tracking System - POS2
View Issue Details
0050397POS2POSpublic2022-10-03 17:392022-10-07 08:54
philippe_mui 
cberner 
highmajoralways
closedfixed 
5
 
23Q1 
No
0050397: "available in multiline selection" NOT working properly in pos2
When "available in multiline selection" is unticked in backoffice, users are still able to select multiline and link an alteration to the whole selection
1. On backoffice, choose an alteration product and make sure "available in multiline selection" is unticked
2. on webpos, add a several products eligible for alteration in the basket and select them all
3. click on the alteration logo to add an alteration

Behavior should be it is not possible to add an alteration to several products at the same time
An message prompt should appear stating it is not possible to have an alteration on several products
FASH
Issue History
2022-10-03 17:39philippe_muiNew Issue
2022-10-03 17:39philippe_muiAssigned To => Retail
2022-10-03 17:39philippe_muiTriggers an Emergency Pack => No
2022-10-03 17:39philippe_muiTag Attached: FASH
2022-10-03 17:43cbernerTypedefect => feature request
2022-10-03 17:43cbernerSummary"available in multiline selection" NOT working properly => "available in multiline selection" NOT working properly in pos2
2022-10-04 12:30hgbotNote Added: 0141633
2022-10-04 13:46cbernerStatusnew => scheduled
2022-10-05 11:45cbernerAssigned ToRetail => cberner
2022-10-07 08:54hgbotResolutionopen => fixed
2022-10-07 08:54hgbotStatusscheduled => closed
2022-10-07 08:54hgbotNote Added: 0141825
2022-10-07 08:54hgbotFixed in Version => 23Q1
2022-10-07 08:54hgbotNote Added: 0141826

Notes
(0141633)
hgbot   
2022-10-04 12:30   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1244 [^]
(0141825)
hgbot   
2022-10-07 08:54   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1244 [^]
(0141826)
hgbot   
2022-10-07 08:54   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 5a1eebb32330508a83eab6dcd79c2fe9f5203ce1
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 07-10-2022 06:54:07
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/5a1eebb32330508a83eab6dcd79c2fe9f5203ce1 [^]

Fixes FR-50397: "available in multiline selection" product flag not working in pos2

The flag filtering was not yet implemented. With this change, those
products that are marked as not available in multiline selection, will
not appear when more than one order line is selected.

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