Openbravo Issue Tracking System - POS2
View Issue Details
0047742POS2POSpublic2021-09-23 08:532021-09-24 07:59
jorge-garcia 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
 
No
0047742: If two schemas has the same pricelist, adding a product from each schema grops the product in the same line
If two schemas are defined to use the same pricelist and each keymap has one or more same products, adding a product from schema A and then adding the same product from schema B results in having a unique line with the last schema selected
1) Login ERP
2) Go to Organization Window and select Vall Blanca Store organization
3) Select Schemas tab
  3.1) Open record Restaurant
  3.2) In Price List field, select "OBREST The White Valley Group Terrace Price List" and save the record
  3.3 Verify record Terrace has the same price list selected

4) Login in POS with terminal VBS-1 and user Vallblanca
5) Select "Restaurant" schema and add a Beer 0.5L
6) Change schema to "Terrace" and verify the previous Beer 0.5L line indicates the line correspond to "Restaurant" schema (this is OK
7) Add a Beer 0.5L product
8) Verify the previous line has increase qty to "2" and the line does not longer correspond to "Restaurant" schema (both are worng)
Products from different schemas should not be merged into same line even if the pricelist id are the same
No tags attached.
Issue History
2021-09-23 08:53jorge-garciaNew Issue
2021-09-23 08:53jorge-garciaAssigned To => Retail
2021-09-23 08:53jorge-garciaTriggers an Emergency Pack => No
2021-09-23 09:50jorge-garciaAssigned ToRetail => jorge-garcia
2021-09-23 09:50jorge-garciaStatusnew => scheduled
2021-09-23 12:03hgbotNote Added: 0131988
2021-09-24 07:59hgbotResolutionopen => fixed
2021-09-24 07:59hgbotStatusscheduled => closed
2021-09-24 07:59hgbotNote Added: 0131996
2021-09-24 07:59hgbotNote Added: 0131997

Notes
(0131988)
hgbot   
2021-09-23 12:03   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/688 [^]
(0131996)
hgbot   
2021-09-24 07:59   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 8e9df27dba4ec4ae85a36fc377e3194b6cc7dabd
Author: Jorge Garcia <jorge.garcia@openbravo.com>
Date: 2021-09-23T11:30:05+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/8e9df27dba4ec4ae85a36fc377e3194b6cc7dabd [^]

Fixed ISSUE-47742: Different schemas with same pricelist should add products to the ticket
in different lines

---
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/AddProductActionPreparation.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/AddProductActionPreparation.js
---
(0131997)
hgbot   
2021-09-24 07:59   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/688 [^]