Openbravo Issue Tracking System - POS2
View Issue Details
0049721POS2Restaurantspublic2022-06-23 18:182022-07-04 16:41
Felixaka 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
22Q3 
No
0049721: 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.
blocks defect 0049642 closed jorge-garcia Jira 3112 - QR code :Use current selected schema price list for scanned products 
Issue History
2022-07-04 16:35guilleaerTypedefect => backport
2022-07-04 16:35guilleaerTarget Version => 22Q3
2022-07-04 16:41hgbotResolutionopen => fixed
2022-07-04 16:41hgbotStatusscheduled => closed
2022-07-04 16:41hgbotNote Added: 0139032

Notes
(0139032)
hgbot   
2022-07-04 16:41   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: f863867cd579b7d71337fb0911e19936baec280c
Author: Guillermo Alvarez de Eulate <guillermo.alvarez@openbravo.com>
Date: 04-07-2022 16:41:31
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/f863867cd579b7d71337fb0911e19936baec280c [^]

Fixed ISSUE-49721: 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
---