Openbravo Issue Tracking System - POS2
View Issue Details
0048967POS2Restaurantspublic2022-04-05 11:262022-04-27 16:29
timothee_catteeuw 
sntgreale 
normalcriticalsometimes
closedfixed 
5
 
 
No
0048967: JIRA 2857 - OMS - Allow Mixing Schemas option does not work with menu
When configuring a schema as “allow Mixing Schemas” = “None” in Organization / Schema, it works well but only for some products

On POS it is possible to mix products from this schema with a menus from another schema for example

Reproducible on Livebuilds : https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/ [^]

1) Go to Bo as vallblanca user → Open organization Window

2) Select Vall Blanca Store line

3) Go to schema tab

4) for Store schema, change the value of Allow Mixing Schemas * to None

5) Go to webPOS as VallBlanca user

6) In store schema, select “avalanche transceiver”

7) switch to restaurant schema and select ceasar salad, the message “Restaurant schema does not allow to mix lines with Store schema” appears → OK

8) select bear 0.5L, the message “Restaurant schema does not allow to mix lines with Store schema” appears → OK

9) Select Stuffed Mushrooms, it is possible to add this product → KO

10) Select Simple menu , it is possible to add this menu → KO

It has to be forbidden to select all the products from restaurant schema
No tags attached.
Issue History
2022-04-05 11:26timothee_catteeuwNew Issue
2022-04-05 11:26timothee_catteeuwAssigned To => Retail
2022-04-05 11:26timothee_catteeuwTriggers an Emergency Pack => No
2022-04-12 14:41sntgrealeAssigned ToRetail => sntgreale
2022-04-12 14:41sntgrealeStatusnew => scheduled
2022-04-12 20:10hgbotNote Added: 0136497
2022-04-27 16:29hgbotResolutionopen => fixed
2022-04-27 16:29hgbotStatusscheduled => closed
2022-04-27 16:29hgbotNote Added: 0136816
2022-04-27 16:29hgbotNote Added: 0136817

Notes
(0136497)
hgbot   
2022-04-12 20:10   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/924 [^]
(0136816)
hgbot   
2022-04-27 16:29   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 981fa6feb1592e9db6b21315178120f81d539627
Author: Santiago Reale <santiago.reale@smfconsulting.es>
Date: 26-04-2022 08:25:55
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/981fa6feb1592e9db6b21315178120f81d539627 [^]

Fixes ISSUE-48967: Prevention of product combination when schemas do not allow it

---
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/AddProductActionPreparation.js
---
(0136817)
hgbot   
2022-04-27 16:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/924 [^]