Openbravo Issue Tracking System - POS2
View Issue Details
0057962POS2POSpublic2025-02-05 12:592025-02-17 10:30
nicolasuriz 
javierRodriguez 
highmajoralways
closedfixed 
5
 
25Q1 
No
0057962: 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.
blocks defect 0057872 closed javierRodriguez KIT functionnality has had a regression in the Backoffice and in POS. 
Issue History
2025-02-12 18:31guilleaerTypedefect => backport
2025-02-12 18:31guilleaerTarget Version => 25Q1
2025-02-13 16:42hgbotNote Added: 0175601
2025-02-13 16:42hgbotNote Added: 0175602
2025-02-13 16:42hgbotNote Added: 0175603
2025-02-13 16:42hgbotNote Added: 0175604
2025-02-13 16:42hgbotNote Added: 0175605
2025-02-17 10:30hgbotResolutionopen => fixed
2025-02-17 10:30hgbotStatusscheduled => closed
2025-02-17 10:30hgbotFixed in Version => PR25Q1
2025-02-17 10:30hgbotNote Added: 0175747
2025-02-17 10:30hgbotNote Added: 0175748
2025-02-17 10:30hgbotNote Added: 0175749
2025-02-17 10:30hgbotNote Added: 0175750
2025-02-17 10:30hgbotNote Added: 0175751
2025-02-17 10:30hgbotNote Added: 0175752
2025-02-17 10:30hgbotNote Added: 0175753
2025-02-17 10:30hgbotNote Added: 0175754
2025-02-17 10:30hgbotNote Added: 0175755
2025-02-17 10:30hgbotNote Added: 0175756

Notes
(0175601)
hgbot   
2025-02-13 16:42   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1534 [^]
(0175602)
hgbot   
2025-02-13 16:42   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1919 [^]
(0175603)
hgbot   
2025-02-13 16:42   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.api/-/merge_requests/56 [^]
(0175604)
hgbot   
2025-02-13 16:42   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3500 [^]
(0175605)
hgbot   
2025-02-13 16:42   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/merge_requests/141 [^]
(0175747)
hgbot   
2025-02-17 10:30   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo [^]
Changeset: a762a86110bdeccb4003aa95f15fed4c5a953e31
Author: Guillermo Alvarez de Eulate <g.alvarez@orisha.com>
Date: 17-02-2025 09:30:26
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/commit/a762a86110bdeccb4003aa95f15fed4c5a953e31 [^]

Fixed ISSUE-57962: Move Kits from POS2 to core

---
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
---
(0175748)
hgbot   
2025-02-17 10:30   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1534 [^]
(0175749)
hgbot   
2025-02-17 10:30   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/merge_requests/141 [^]
(0175750)
hgbot   
2025-02-17 10:30   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.sampledata [^]
Changeset: fdf93449496266c4b809608cd27b7d2128b88f79
Author: Guillermo Alvarez de Eulate <g.alvarez@orisha.com>
Date: 17-02-2025 09:30:28
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/commit/fdf93449496266c4b809608cd27b7d2128b88f79 [^]

Related to ISSUE-57962: Move Kits from POS2 to core

---
M referencedata/sampledata/The_White_Valley_Group/M_PRODUCT.xml
M referencedata/sampledata/The_White_Valley_Group/OBPOS2_KIT.xml
M src-db/database/sourcedata/AD_DATASET_TABLE.xml
---
(0175751)
hgbot   
2025-02-17 10:30   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.api [^]
Changeset: 4a9e949362df56a9fa34c403b95b598277d17920
Author: Guillermo Alvarez de Eulate <g.alvarez@orisha.com>
Date: 13-02-2025 16:38:32
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.api/-/commit/4a9e949362df56a9fa34c403b95b598277d17920 [^]

Related to ISSUE-57962: Move Kits from POS2 to core

---
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
---
(0175752)
hgbot   
2025-02-17 10:30   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3500 [^]
(0175753)
hgbot   
2025-02-17 10:30   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 91bbe1a29f02526e1f28d72000c099e591f67bbd
Author: Guillermo Alvarez de Eulate <g.alvarez@orisha.com>
Date: 17-02-2025 09:30:33
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/91bbe1a29f02526e1f28d72000c099e591f67bbd [^]

Related to ISSUE-57962: Move Kits 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/hook/orderloader/AddKitItemsLinkOrderLoaderHook.java
M src/org/openbravo/pos2/master/Kit.java
M src/org/openbravo/pos2/master/KitProperties.java
M web-jspack/org.openbravo.pos2/src-test/cypress/runAllSpecs/runIntegrationSpecsPOS2.spec.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/AddProductActionPreparation.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/__test__/includeKitInformationFromTicketLines.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/includeKitInformationFromTicketLines.js
M web-jspack/org.openbravo.pos2/src/ob-init.js
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
---
(0175754)
hgbot   
2025-02-17 10:30   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.api/-/merge_requests/56 [^]
(0175755)
hgbot   
2025-02-17 10:30   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1919 [^]
(0175756)
hgbot   
2025-02-17 10:30   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: f167cd1dec03073897d52b2f375fd3fc0f8ae3ef
Author: Guillermo Alvarez de Eulate <g.alvarez@orisha.com>
Date: 17-02-2025 09:30:35
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/f167cd1dec03073897d52b2f375fd3fc0f8ae3ef [^]

Related to ISSUE-57962: Move Kits from POS2 to core

---
A src/org/openbravo/retail/posterminal/event/ValidateKitEventHandler.java
M web/org.openbravo.retail.posterminal/res/printcanceledlayaway.xml
M web/org.openbravo.retail.posterminal/res/printcanceledreceipt.xml
M web/org.openbravo.retail.posterminal/res/printclosedinvoice.xml
M web/org.openbravo.retail.posterminal/res/printclosedreceipt.xml
M web/org.openbravo.retail.posterminal/res/printinvoice.xml
M web/org.openbravo.retail.posterminal/res/printlayaway.xml
M web/org.openbravo.retail.posterminal/res/printquotation.xml
M web/org.openbravo.retail.posterminal/res/printreceipt.xml
M web/org.openbravo.retail.posterminal/res/printreceipt32.xml
M web/org.openbravo.retail.posterminal/res/printreturn.xml
M web/org.openbravo.retail.posterminal/res/printsimplifiedclosedinvoice.xml
M web/org.openbravo.retail.posterminal/res/printsimplifiedinvoice.xml
M web/org.openbravo.retail.posterminal/res/printsimplifiedreturninvoice.xml
---