Openbravo Issue Tracking System - POS2
View Issue Details
0057872POS2POSpublic2025-02-05 12:592025-02-18 11:56
nicolasuriz 
javierRodriguez 
highmajoralways
closedfixed 
5
 
 
guilleaer
No
0057872: KIT functionnality has had a regression in the Backoffice and in POS.
The KITs are not working anymore. I am going to summarize the problems in Backoffice and POS.

-In the backoffice:
* The validations for fields "Stocked" and "Grouped product" have stopped working and even though you select the Special use for "Kit"
* The tab "Product of the Kit" remains unavailable even though the condition is just to select in the header the Special use "KIT"

-In the POS:
*Even if you add an already existing and well configured Kit with its components, if you add the KIT to the ticket, the components list to add to the ticket in order to proceed to complete the KIT are not displayed anymore.
*If you add an unique component of an specific Kit, the Kit is not added to the ticket.
* If lets you add a component that is present in two different kits without showing the validation where it informs the user that the component cannot be added to the ticket as it is present in more than one different kit.
Backoffice:

1. Try to create a Kit adding the special Use to KIT and respecting the conditions of a KIT:
1.1 Grouped product cannot be selected to True
1.2 Stocked cannot be checked to True
1.3 Tab "Products of the Kit" is not available

POS:
1. If you had an already two existing kits with one unique component per kit and one component shared between them, do the following test.
1.1 Add one kit to the ticket, check that the components are not displayed
1.2 Add one unique component of one of the kits, the kit is not added to the ticket.
1.3 Add the shared component to the ticket, the validation is not present informing the user that the component cannot be added because it is present in more than one kit and it is removed until the kit itself is added when you could start scanning the component.
No tags attached.
depends on backport 005796225Q1 closed javierRodriguez KIT functionnality has had a regression in the Backoffice and in POS. 
Issue History
2025-02-05 12:59nicolasurizNew Issue
2025-02-05 12:59nicolasurizAssigned To => Retail
2025-02-05 12:59nicolasurizTriggers an Emergency Pack => No
2025-02-05 16:26javierRodriguezAssigned ToRetail => javierRodriguez
2025-02-05 16:46hgbotNote Added: 0175176
2025-02-07 14:02hgbotNote Added: 0175300
2025-02-07 14:03hgbotNote Added: 0175301
2025-02-10 12:21hgbotNote Added: 0175387
2025-02-10 14:11guilleaerStatusnew => scheduled
2025-02-10 15:18hgbotNote Added: 0175408
2025-02-12 16:26hgbotNote Added: 0175526
2025-02-12 16:26hgbotNote Added: 0175527
2025-02-12 16:26hgbotNote Added: 0175528
2025-02-12 16:26hgbotNote Added: 0175529
2025-02-12 16:26hgbotNote Added: 0175530
2025-02-12 16:26hgbotNote Added: 0175531
2025-02-12 16:26hgbotNote Added: 0175532
2025-02-12 16:26hgbotNote Added: 0175533
2025-02-12 16:26hgbotNote Added: 0175534
2025-02-12 16:26hgbotResolutionopen => fixed
2025-02-12 16:26hgbotStatusscheduled => closed
2025-02-12 16:26hgbotFixed in Version => PR25Q2
2025-02-12 16:26hgbotNote Added: 0175535
2025-02-12 18:31guilleaerStatusclosed => new
2025-02-12 18:31guilleaerResolutionfixed => open
2025-02-12 18:31guilleaerFixed in VersionPR25Q2 =>
2025-02-12 18:31guilleaerStatusnew => scheduled
2025-02-12 18:31guilleaerStatusscheduled => resolved
2025-02-12 18:31guilleaerResolutionopen => fixed
2025-02-12 18:31guilleaerReview Assigned To => guilleaer
2025-02-12 18:31guilleaerStatusresolved => closed
2025-02-13 12:19hgbotNote Added: 0175591
2025-02-15 17:23hgbotNote Added: 0175690
2025-02-17 10:28hgbotNote Added: 0175745
2025-02-17 10:28hgbotNote Added: 0175746
2025-02-17 12:26hgbotNote Added: 0175766
2025-02-18 11:56hgbotNote Added: 0175804
2025-02-18 11:56hgbotNote Added: 0175805

Notes
(0175176)
hgbot   
2025-02-05 16:46   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1521 [^]
(0175300)
hgbot   
2025-02-07 14:02   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/merge_requests/139 [^]
(0175301)
hgbot   
2025-02-07 14:03   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3474 [^]
(0175387)
hgbot   
2025-02-10 12:21   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.api/-/merge_requests/55 [^]
(0175408)
hgbot   
2025-02-10 15:18   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1910 [^]
(0175526)
hgbot   
2025-02-12 16:26   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1910 [^]
(0175527)
hgbot   
2025-02-12 16:26   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: b985c7821d15fb6e6c86e77e63c716a863baa2cb
Author: Javier Rodriguez Regueiro <j.rodriguez@orisha.com>
Date: 12-02-2025 15:08:55
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/b985c7821d15fb6e6c86e77e63c716a863baa2cb [^]

Related to ISSUE-57872: Move kit on save and on update validation

---
A src/org/openbravo/retail/posterminal/event/ValidateKitEventHandler.java
---
(0175528)
hgbot   
2025-02-12 16:26   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 06d2c4a356ea03b6084011776bd4c658981f5a82
Author: Javier Rodríguez Regueiro <j.rodriguez@orisha.com>
Date: 12-02-2025 15:26:24
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/06d2c4a356ea03b6084011776bd4c658981f5a82 [^]

Related to ISSUE-57872: Move several kit functionality parts from pos2 to core

---
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_MESSAGE.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/AD_REF_SEARCH.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src-db/database/sourcedata/OBUISEL_SELECTOR.xml
M src/org/openbravo/pos2/master/Kit.java
M src/org/openbravo/pos2/master/KitProperties.java
R src-db/database/model/tables/OBPOS2_KIT.xml
R src-db/database/sourcedata/OBCLKER_UIDEFINITION.xml
R src/org/openbravo/pos2/event/OBPOS2KitProductEventHandler.java
---
(0175529)
hgbot   
2025-02-12 16:26   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3474 [^]
(0175530)
hgbot   
2025-02-12 16:26   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/merge_requests/139 [^]
(0175531)
hgbot   
2025-02-12 16:26   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.sampledata [^]
Changeset: 3967456aa47eda4416b5cdca9d6d378b4f2ad960
Author: Javier Rodríguez Regueiro <j.rodriguez@orisha.com>
Date: 12-02-2025 15:26:26
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/commit/3967456aa47eda4416b5cdca9d6d378b4f2ad960 [^]

Related to ISSUE-57872: Move information from OBPOS2_Kit to M_PRODUCT_KIT

---
M referencedata/sampledata/The_White_Valley_Group/OBPOS2_KIT.xml
M src-db/database/sourcedata/AD_DATASET_TABLE.xml
---
(0175532)
hgbot   
2025-02-12 16:26   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.api [^]
Changeset: c5b094fdf2b73d60858bcaa11de640858cadadb6
Author: Javier Rodríguez Regueiro <j.rodriguez@orisha.com>
Date: 12-02-2025 15:26:29
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.api/-/commit/c5b094fdf2b73d60858bcaa11de640858cadadb6 [^]

Related to ISSUE-57872: Adapt API to fit with new kit attributes

---
M examples/POS 2 Api.postman_collection.json
M src-db/database/sourcedata/OBEI_ENTITY_MAPPING.xml
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0175533)
hgbot   
2025-02-12 16:26   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.api/-/merge_requests/55 [^]
(0175534)
hgbot   
2025-02-12 16:26   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1521 [^]
(0175535)
hgbot   
2025-02-12 16:26   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo [^]
Changeset: 5d1008794328452b9c29b259cde3c12e2e50f462
Author: Javier Rodríguez Regueiro <j.rodriguez@orisha.com>
Date: 12-02-2025 15:26:32
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/commit/5d1008794328452b9c29b259cde3c12e2e50f462 [^]

Fixed ISSUE-57872: Move kit configuration to be able to use in different applications

---
A src-db/database/model/tables/M_PRODUCT_KIT.xml
A src/org/openbravo/event/KitProductEventHandler.java
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_MESSAGE.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/AD_REF_SEARCH.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src-db/database/sourcedata/OBCLKER_UIDEFINITION.xml
M src-db/database/sourcedata/OBUISEL_SELECTOR.xml
---
(0175591)
hgbot   
2025-02-13 12:19   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo [^]
Changeset: 1eba2106ad68a0b87568d92aaf22c53998760ff7
Author: Javier Rodriguez Regueiro <j.rodriguez@orisha.com>
Date: 13-02-2025 12:19:07
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/commit/1eba2106ad68a0b87568d92aaf22c53998760ff7 [^]

Related to ISSUE-57872: Change KitProductEventHandler.java license from OBCL to OBPL

---
M src/org/openbravo/event/KitProductEventHandler.java
---
(0175690)
hgbot   
2025-02-15 17:23   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1540 [^]
(0175745)
hgbot   
2025-02-17 10:28   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo [^]
Changeset: 1770601e050bdc10bde74fe92dc25815c8b12ff3
Author: Guillermo Alvarez de Eulate <g.alvarez@orisha.com>
Date: 15-02-2025 17:16:54
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/commit/1770601e050bdc10bde74fe92dc25815c8b12ff3 [^]

Related to ISSUE-57872: Adjust some ad_element names

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0175746)
hgbot   
2025-02-17 10:28   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1540 [^]
(0175766)
hgbot   
2025-02-17 12:26   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1541 [^]
(0175804)
hgbot   
2025-02-18 11:56   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo [^]
Changeset: 3e4c8f49c5f454d0ae01528b95e7f972964876a9
Author: Javier Rodriguez Regueiro <j.rodriguez@orisha.com>
Date: 17-02-2025 12:19:55
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/commit/3e4c8f49c5f454d0ae01528b95e7f972964876a9 [^]

Related to ISSUE-57872: Include check to validate isactive column in M_PRODUCT_KIT

---
M src-db/database/model/tables/M_PRODUCT_KIT.xml
---
(0175805)
hgbot   
2025-02-18 11:56   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1541 [^]