Openbravo Issue Tracking System - POS2
View Issue Details
0049642POS2Restaurantspublic2022-06-23 18:182022-07-05 11:42
Felixaka 
jorge-garcia 
normalmajoralways
closedopen 
5
 
 
approved
Gold
No
0049642: Jira 3112 - QR code :Use current selected schema price list for scanned products
When we use a QR code, and the QR code contains product to be added use the following rule:

If current schema has pricelist and the product to be added is set in the pricelist, use that shcema pricelist

If current schema has no pricelist or the product is not present in schema's pricelist, search the product in another defined schema pricelist with the product to add the product.

If previous serach fail, avoid to use the default pricelist from the terminal and raise a notification
-
No tags attached.
depends on backport 004972122Q3 closed jorge-garcia Jira 3112 - QR code :Use current selected schema price list for scanned products 
png 2022-06-23_18h18_26.png (62,758) 2022-06-23 18:18
https://issues.openbravo.com/file_download.php?file_id=17228&type=bug
png

png 2022-07-05_11h38_16.png (214,907) 2022-07-05 11:40
https://issues.openbravo.com/file_download.php?file_id=17275&type=bug
png
Issue History
2022-06-23 18:18FelixakaNew Issue
2022-06-23 18:18FelixakaAssigned To => Retail
2022-06-23 18:18FelixakaFile Added: 2022-06-23_18h18_26.png
2022-06-23 18:18FelixakaOBNetwork customer => Gold
2022-06-23 18:18FelixakaTriggers an Emergency Pack => No
2022-06-23 18:20FelixakaSummaryJira 3111 - QR code - Menu with a product modifier doesn't work => Jira 3112 - QR code : Several product with several modifier doesn't work
2022-07-01 14:08jorge-garciaStatusnew => scheduled
2022-07-01 14:08jorge-garciaAssigned ToRetail => jorge-garcia
2022-07-01 14:11jorge-garciaSummaryJira 3112 - QR code : Several product with several modifier doesn't work => Jira 3112 - QR code :Use current selected schema price list for scanned products
2022-07-01 14:11jorge-garciaDescription Updatedbug_revision_view_page.php?rev_id=24410#r24410
2022-07-01 14:11jorge-garciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=24412#r24412
2022-07-01 14:18hgbotMerge Request Status => open
2022-07-01 14:18hgbotNote Added: 0138931
2022-07-03 18:44hgbotMerge Request Statusopen => approved
2022-07-03 18:44hgbotResolutionopen => fixed
2022-07-03 18:44hgbotStatusscheduled => closed
2022-07-03 18:44hgbotNote Added: 0138989
2022-07-03 18:44hgbotNote Added: 0138990
2022-07-04 16:35guilleaerTypebackport => defect
2022-07-04 16:35guilleaerStatusclosed => new
2022-07-04 16:35guilleaerResolutionfixed => open
2022-07-04 16:35guilleaerStatusnew => scheduled
2022-07-04 16:35guilleaerStatusscheduled => resolved
2022-07-04 16:35guilleaerResolutionopen => fixed
2022-07-04 16:35guilleaerStatusresolved => closed
2022-07-05 11:40FelixakaFile Added: 2022-07-05_11h21_00.png
2022-07-05 11:40FelixakaFile Added: 2022-07-05_11h38_16.png
2022-07-05 11:41FelixakaFile Deleted: 2022-07-05_11h21_00.png
2022-07-05 11:42FelixakaNote Added: 0139077
2022-07-05 11:42FelixakaResolutionfixed => open

Notes
(0138931)
hgbot   
2022-07-01 14:18   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1064 [^]
(0138989)
hgbot   
2022-07-03 18:44   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 89d764bba4cb29ec590cc7fd238da3e16fa28428
Author: Jorge Garcia <jorge.garcia@openbravo.com>
Date: 03-07-2022 16:44:10
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/89d764bba4cb29ec590cc7fd238da3e16fa28428 [^]

Fixed ISSUE-49642: Use current selected schema price list for scanned by qr products

---
M web-jspack/org.openbravo.pos2/src/model/ticket/LinesCreatorInfrastructure.js
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/LinesCreatorInfrastructure.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/AddProductActionPreparation.js
M web-jspack/org.openbravo.pos2/src/services/scan/handlers/__test__/LinesCreatorScanEventHandler.test.js
---
(0138990)
hgbot   
2022-07-03 18:44   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1064 [^]
(0139077)
Felixaka   
2022-07-05 11:42   
When i use the code :

OB.App.BarcodeScanner.scanCode({ code: '30002 PLU0100127 DMN016750 PMN0118745 PMN0114655 FMN0117456 PLU0200843 PLU0117431 FIN0000000'})

That should contain a product + A menu

Only a product is display

And i have an error