Openbravo Issue Tracking System - POS2
View Issue Details
0046899POS2POSpublic2021-05-31 09:552021-06-03 10:38
jmelin 
agonzalez 
urgentcriticalalways
closedfixed 
30Openbravo Appliance 14.04
 
 
approved
Gold
No
0046899: JIRA 1988 - Keymap - Product not available in product list : only first 300 loaded
WHEN displaying the keymap
THEN some products are not available AND error message "... No price defined in product list ..."

The issue is only the first 300 products (on over 1000) from the product's price list.

Pre-requisites :
You need to have more than 300 products in price list

Context:
1 price list defined at org level with all products (>300)
1 price list defined at org/schema level (>300)

Step to reproduce:
1. In BO : Add to a keymap category all the product from the price list defined at org/schema level
2. Connect to POS and reload the data
3. Check keymap category on the POS
=> some product boxes have no product label, and an error "... No price defined in the price list ..." is shown when clicking on it
Takeaway
depends on backport 0046919TAP closed agonzalez JIRA 1988 - Keymap - Product not available in product list : only first 300 loaded 
Issue History
2021-05-31 09:55jmelinNew Issue
2021-05-31 09:55jmelinAssigned To => Retail
2021-05-31 09:55jmelinOBNetwork customer => Gold
2021-05-31 09:55jmelinTriggers an Emergency Pack => No
2021-05-31 09:55jmelinTag Attached: Takeaway
2021-05-31 09:59AugustoMauchAssigned ToRetail => AugustoMauch
2021-06-01 09:35guilleaerResolution time => 1622757600
2021-06-01 09:35guilleaerAssigned ToAugustoMauch => agonzalez
2021-06-01 09:35guilleaerStatusnew => scheduled
2021-06-01 16:51hgbotMerge Request Status => open
2021-06-01 16:51hgbotNote Added: 0128876
2021-06-03 10:35hgbotMerge Request Statusopen => approved
2021-06-03 10:38hgbotResolutionopen => fixed
2021-06-03 10:38hgbotStatusscheduled => closed
2021-06-03 10:38hgbotNote Added: 0129001
2021-06-03 10:38hgbotNote Added: 0129002

Notes
(0128876)
hgbot   
2021-06-01 16:51   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/508 [^]
(0129001)
hgbot   
2021-06-03 10:38   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 4c1b41e922b8e40aa62a43b32d745884e02a0b91
Author: Angel Eduardo <angel.gonzalez@smfconsulting.com>
Date: 2021-06-03T10:36:36+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/4c1b41e922b8e40aa62a43b32d745884e02a0b91 [^]

Fixes ISSUE-46899: Use as proper limit when retrieving list of products that belong to a pricelist

Even though a pricelist can have hundreds of thousands of products, this function is called passing the list of products included in a keymap, that are much fewer

---
M web-jspack/org.openbravo.pos2/src/model/ticket/TicketUtils.js
---
(0129002)
hgbot   
2021-06-03 10:38   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/508 [^]