Openbravo Issue Tracking System - POS2
View Issue Details
0049376POS2POSpublic2022-05-23 14:162022-05-28 10:25
AugustoMauch 
sntgreale 
normalmajorhave not tried
closedfixed 
5
 
 
AugustoMauch
No
0049376: JIRA 3012: Keymap - some products are missing from the keymap
When building product keymaps, we only want to include those products that belong to the store assortment. That check is done here [1]. This [2] is the function where the products in the assortment are retrieved. Notice that there is no limit defined for the find() function, so the default limit (300) will be used, and as a result if the assortment contains more than 300 products, some of them will not be available in the keymap.

[1] https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/master/web-jspack/org.openbravo.pos2/src/configurations/keymapConfiguration/getKeymapInformation.js#L390 [^]
[2] https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/master/web-jspack/org.openbravo.pos2/src/configurations/keymapConfiguration/utils/getAssortmentProducts.js#L23 [^]
- Prepare an assortment with more then 300 products
- Prepare a keymap that contains all the products in the assortment
- Notice that only 300 of the products will be available in the keymap
No tags attached.
Issue History
2022-05-23 14:16AugustoMauchNew Issue
2022-05-23 14:16AugustoMauchAssigned To => Retail
2022-05-23 14:16AugustoMauchTriggers an Emergency Pack => No
2022-05-24 15:56sntgrealeAssigned ToRetail => sntgreale
2022-05-24 15:56sntgrealeStatusnew => scheduled
2022-05-25 19:42hgbotNote Added: 0137737
2022-05-26 13:13guilleaerSummaryKeymap - filter by products in the assortment is not working properly => JIRA 3036: Keymap - filter by products in the assortment is not working properly
2022-05-26 15:04guilleaerSummaryJIRA 3036: Keymap - filter by products in the assortment is not working properly => JIRA 3012: Keymap - filter by products in the assortment is not working properly
2022-05-26 17:26AugustoMauchSummaryJIRA 3012: Keymap - filter by products in the assortment is not working properly => JIRA 3012: Keymap - some products are missing from the keymap
2022-05-28 10:24hgbotResolutionopen => fixed
2022-05-28 10:24hgbotStatusscheduled => resolved
2022-05-28 10:24hgbotNote Added: 0137836
2022-05-28 10:24hgbotNote Added: 0137837
2022-05-28 10:24AugustoMauchStatusresolved => closed
2022-05-28 10:25AugustoMauchReview Assigned To => AugustoMauch

Notes
(0137737)
hgbot   
2022-05-25 19:42   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/972 [^]
(0137836)
hgbot   
2022-05-28 10:24   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 4c88b2bacf865d19696312b90f33a5cdcaea2f76
Author: Santiago Reale <santiago.reale@smfconsulting.es>
Date: 28-05-2022 10:21:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/4c88b2bacf865d19696312b90f33a5cdcaea2f76 [^]

Fixes ISSUE-49376: Set limit on criteria of Assortment Products.

---
M web-jspack/org.openbravo.pos2/src/configurations/keymapConfiguration/utils/getAssortmentProducts.js
---
(0137837)
hgbot   
2022-05-28 10:24   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/972 [^]