Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0057924Openbravo ERPA. Platformpublic2025-02-10 12:422025-03-13 09:21
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
PR25Q2 
Core
No
0057924: Product Category Tree Selector Improvements
It would be nice to enhance the product search based on the category tree. The following improvements would be needed:

- A new "Product Category Tree Selector" based on the hierarchy defined in the window ‘Product Category’ must be implemented
- The "Product Category Tree Selector" must be set by default in the backend window "Product".
- The selector should provide a means to filter by a parent category and all its children without making user to select manually all the nodes
- Some UI improvements would also be needed
.
No tags attached.
Issue History
2025-02-10 12:42caristuNew Issue
2025-02-10 12:42caristuAssigned To => caristu
2025-02-10 12:42caristuModules => Core
2025-02-10 12:42caristuTriggers an Emergency Pack => No
2025-02-10 12:54hgbotNote Added: 0175392
2025-03-10 12:55caristuRelationship addedrelated to 0058073
2025-03-11 10:42caristuRelationship deletedrelated to 0058073
2025-03-11 15:36hgbotResolutionopen => fixed
2025-03-11 15:36hgbotStatusnew => closed
2025-03-11 15:36hgbotFixed in Version => PR25Q2
2025-03-11 15:36hgbotNote Added: 0176673
2025-03-11 15:36hgbotNote Added: 0176674
2025-03-11 18:36hgbotNote Added: 0176691
2025-03-12 10:15hgbotNote Added: 0176709
2025-03-12 10:27hgbotNote Added: 0176710
2025-03-13 09:21hgbotNote Added: 0176771

Notes
(0175392)
hgbot   
2025-02-10 12:54   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1530 [^]
(0176673)
hgbot   
2025-03-11 15:36   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo [^]
Changeset: 9077f1d849b686b37b283dfe2640b329ee12059b
Author: Carlos Aristu <c.aristu@orisha.com>
Date: 11-03-2025 15:33:41
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/commit/9077f1d849b686b37b283dfe2640b329ee12059b [^]

fixes FR-57924: New Product Category Tree Selector

  - Support new childrenOf operator
  - Automatic descendants selection/deselection option for tree
    selectors
  - General UI improvements for tree selectors
  - Create a new Product Category Tree Selector reference and use it in
    the Product Category field of the standard Product window

---
---
(0176674)
hgbot   
2025-03-11 15:36   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1530 [^]
(0176691)
hgbot   
2025-03-11 18:36   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo [^]
Changeset: 3a7766dc3ce6950d18bff9db588514382f3ab0af
Author: Carlos Aristu <c.aristu@orisha.com>
Date: 11-03-2025 18:36:24
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/commit/3a7766dc3ce6950d18bff9db588514382f3ab0af [^]

related to FR-57924: prevent NPE on view generation

---
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/SelectorComponent.java
---
(0176709)
hgbot   
2025-03-12 10:15   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.module.productbomversion [^]
Changeset: 1c04077b2683737e348c8c0be23aa8b3f574daef
Author: Carlos Aristu <c.aristu@orisha.com>
Date: 12-03-2025 10:13:20
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.module.productbomversion/-/commit/1c04077b2683737e348c8c0be23aa8b3f574daef [^]

related to FR-57924: set missing AD_COLUMN_ID in selector field

  Now that the reference of the m_product.m_product_category column uses
a tree reference the selector field needs to have the ad_column_id
defined, otherwise the view generation fails with a NPE when building
the selector component.

---
M src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
---
(0176710)
hgbot   
2025-03-12 10:27   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo [^]
Changeset: abe3e5ab34e9180c8795c2ccfbde93a8c4bba774
Author: Carlos Aristu <c.aristu@orisha.com>
Date: 12-03-2025 10:27:04
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/commit/abe3e5ab34e9180c8795c2ccfbde93a8c4bba774 [^]

related to FR-57924: backout temporary fix

  Fixed the ViewGeneration test failure by fixing the specific selector
field present in other module which was causing the error. To fix it,
the missing ad_column_id has been set.

  We now revert the change in SelectorComponent so we let the view
generation fail in case this problem is raised again by another
incorrect selector field definition.

---
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/SelectorComponent.java
---
(0176771)
hgbot   
2025-03-13 09:21   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.module.productbomversion [^]
Changeset: 6b276ff225c63686e9579aa3fec97de75d5c20d2
Author: Carlos Aristu <c.aristu@orisha.com>
Date: 13-03-2025 09:21:30
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.module.productbomversion/-/commit/6b276ff225c63686e9579aa3fec97de75d5c20d2 [^]

related to FR-57924: synchronize terminology

---
M src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
---