Openbravo Issue Tracking System - POS2
View Issue Details
0051386POS2POSpublic2023-01-17 12:372023-02-02 12:20
meriem_azaf 
meriem_azaf 
normalmajorhave not tried
closedfixed 
5
 
 
No
0051386: Touchpoint type availability in Schemas
In this project we will add the ability to restrict the availability of the schemas of an organization depending on the touchpoint type.

-> In organization window -> Tab schemas a new field (label: Terminal type availability, Type: combo) will be added with three options:

1- All.

2- Only those defined.

3- All excluding defined.

-> Connected with “Schemas” tab a new Tab (3th level) will be added (Name. Terminal type availability). In this tab user will be able to select terminal types which are defined on its organization or in organizations above the current organization. Registers on this tab will mean different things (inclusion or exclusion) based on the value of the combo explained above.

Note: if value selected in the combo is ALL → Display logic should be added to hide subtab “Terminal type availability“ when ALL is selected in parent tab
-
No tags attached.
depends on backport 005149423Q1.2 closed meriem_azaf Touchpoint type availability in Schemas 
Issue History
2023-01-17 12:37meriem_azafNew Issue
2023-01-17 12:37meriem_azafAssigned To => Retail
2023-01-17 12:37meriem_azafTriggers an Emergency Pack => No
2023-01-17 12:37meriem_azafAssigned ToRetail => meriem_azaf
2023-01-17 12:37meriem_azafStatusnew => scheduled
2023-01-17 14:24hgbotNote Added: 0145497
2023-01-29 20:08hgbotNote Added: 0145979
2023-01-29 20:08hgbotNote Added: 0145980
2023-01-30 11:09guilleaerStatusscheduled => acknowledged
2023-01-30 11:09guilleaerStatusacknowledged => scheduled
2023-02-02 12:20guilleaerStatusscheduled => resolved
2023-02-02 12:20guilleaerResolutionopen => fixed
2023-02-02 12:20guilleaerStatusresolved => closed

Notes
(0145497)
hgbot   
2023-01-17 14:24   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1469 [^]
(0145979)
hgbot   
2023-01-29 20:08   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: dc873d1db32ae684c00ef70a299da59071d220de
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 29-01-2023 20:07:33
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/dc873d1db32ae684c00ef70a299da59071d220de [^]

FR-51386: Touchpoint type availability in Schemas

In this project we will add the ability to restrict the availability of the schemas of an organization depending on the touchpoint type.

- Create a new table "obpos2_org_schema_touchtype".

- Create a new column "touchpoint_Type_Selection" in the table "obpos2_org_schema".

- Create a new field/element "terminal type availability" on "the Organization -> Schema tab" as a reference list "All/Included/Excluded List".

- Create a new tab "touchpoint type" under "Organization -> Schema".

- Update the "schema.java" to only the relevant schemas are sent to the frontend according to the terminal type.

---
A src-db/database/model/tables/OBPOS2_ORG_SCHEMA_TOUCHTYPE.xml
M src-db/database/model/tables/OBPOS2_ORG_SCHEMA.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src/org/openbravo/pos2/term/Schema.java
---
(0145980)
hgbot   
2023-01-29 20:08   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1469 [^]