Openbravo Issue Tracking System - POS2
View Issue Details
0052450POS2POSpublic2023-05-15 14:382023-05-17 10:19
jayala 
jayala 
normalminorhave not tried
closedfixed 
5
 
23Q1.323Q1.3 
approved
No
No
0052450: Open ticket with correct schema
When you open a ticket with a different schema or delivery mode than the terminal, the POS system should try to select it in order to display it correctly. If it cannot do so because it is not configured in the terminal, it should open it using the default schema. In either of these two cases, a small pop-up will be displayed with a warning indicating this anomaly to the user.
1. Search for a ticket which has the field "obpos2OrgSchema" filled.
2. Open the order.
3. See that order is opened but not in the schema indicated for the order.
It has been noticed that the current development did not take into account the deliveryModeSelection === 'A' (All) for the schema 'calculation,' so it is being added. Furthermore, the developed logic is the opposite. If deliveryModeSelection === 'I', the schema should be included, and if deliveryModeSelection === 'E', the schema should be excluded.
No tags attached.
blocks defect 0052448 closed jayala Open ticket with correct schema 
Issue History
2023-05-15 14:42jayalaTypedefect => backport
2023-05-15 14:42jayalaTarget Version => 23Q1.3
2023-05-16 14:04hgbotNote Added: 0149828
2023-05-17 10:19hgbotMerge Request Statusopen => approved
2023-05-17 10:19hgbotResolutionopen => fixed
2023-05-17 10:19hgbotStatusscheduled => closed
2023-05-17 10:19hgbotFixed in Version => 23Q1.3
2023-05-17 10:19hgbotNote Added: 0149866
2023-05-17 10:19hgbotNote Added: 0149867

Notes
(0149828)
hgbot   
2023-05-16 14:04   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1801 [^]
(0149866)
hgbot   
2023-05-17 10:19   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 540295754ab81e642af77c43dd8a49588dbb6efd
Author: Javier Ayala <javier.ayala@openbravo.com>
Date: 16-05-2023 16:22:25
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/540295754ab81e642af77c43dd8a49588dbb6efd [^]

Fixed ISSUE-52450: Open ticket with correct schema

---
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/SetCurrentSchema.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/SetCurrentSchema.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/SelectCurrentSchema.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/SelectCurrentSchema.js
---
(0149867)
hgbot   
2023-05-17 10:19   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1801 [^]