Openbravo Issue Tracking System - Modules
View Issue Details
0058035ModulesDistribution Orderspublic2025-02-19 20:102025-02-25 16:10
AtulOpenbravo 
AtulOpenbravo 
normalmajorhave not tried
closedfixed 
5
 
 
approved
Gold
0058035: Distribution orders not working without advancedwarehouseoperations
In an environment with Distribution orders installed but without AWO modules, the Warehouse selector is not working.
- Create an environment without AWO modules and distribution orders.
- Do an install sources
- In the BO, import the Distribution Orders datasets
- Go to Distribution Order Issue
- Click on the Warehouse Selector

Check that an error is risen in the openbravo.log (attached)
In the WarehouseIssueSelectorFilterExpression class, check before adding the AND if sb.toString() is empty.
No tags attached.
related to defect 0057944 closed AtulOpenbravo Distribution orders not working without advancedwarehouseoperations 
Issue History
2025-02-19 20:10AtulOpenbravoNew Issue
2025-02-19 20:10AtulOpenbravoAssigned To => AtulOpenbravo
2025-02-19 20:10AtulOpenbravoOBNetwork customer => Gold
2025-02-19 20:10AtulOpenbravoIssue generated from0057944
2025-02-19 20:10AtulOpenbravoRelationship addedrelated to 0057944
2025-02-19 20:11AtulOpenbravoStatusnew => scheduled
2025-02-19 20:11AtulOpenbravoSeveritytrivial => major
2025-02-20 04:12hgbotMerge Request Status => open
2025-02-20 04:12hgbotNote Added: 0175937
2025-02-20 04:16AtulOpenbravoNote Added: 0175940
2025-02-20 10:15hgbotMerge Request Statusopen => approved
2025-02-20 10:27hgbotResolutionopen => fixed
2025-02-20 10:27hgbotStatusscheduled => closed
2025-02-20 10:27hgbotNote Added: 0175955
2025-02-20 10:27hgbotNote Added: 0175956
2025-02-24 10:29AtulOpenbravoStatusclosed => new
2025-02-24 10:29AtulOpenbravoResolutionfixed => open
2025-02-24 10:35AtulOpenbravoStatusnew => scheduled
2025-02-24 10:48hgbotResolutionopen => fixed
2025-02-24 10:48hgbotStatusscheduled => closed
2025-02-24 10:48hgbotNote Added: 0176074
2025-02-24 14:48hgbotNote Added: 0176082
2025-02-25 16:10hgbotNote Added: 0176120
2025-02-25 16:10hgbotNote Added: 0176121

Notes
(0175937)
hgbot   
2025-02-20 04:12   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder/-/merge_requests/90 [^]
(0175940)
AtulOpenbravo   
2025-02-20 04:16   
- Create an environment without AWO modules and distribution orders i.e (Core + module >> org.openbravo.retail.config and org.openbravo.distributionorder all in 25Q1 version)
- Do an install sources
- In the BO, import the Distribution Orders datasets
- Go to Distribution Order Issue
- Click on the Warehouse Selector
- Realize that selector works properly and shows options to select in it.
(0175955)
hgbot   
2025-02-20 10:27   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder [^]
Changeset: 3206441fa01a5421f10eebc4e7fbe2e556b4c3e9
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 20-02-2025 08:40:03
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder/-/commit/3206441fa01a5421f10eebc4e7fbe2e556b4c3e9 [^]

Fixes ISSUE-0058035: Distribution orders not working without
advancedwarehouseoperations

**Make sure the selector filters expression appends the AND clause
only when there is additional warehouse filter

** Fix issue package org.apache.commons.lang3 does not exist

---
M src/org/openbravo/distributionorder/actionHandler/OnChangeVendorActionHandler.java
M src/org/openbravo/distributionorder/filterexpression/WarehouseIssueSelectorFilterExpression.java
M src/org/openbravo/distributionorder/info/WarehouseIssueSelectorFilterExpression.java
M src/org/openbravo/distributionorder/info/WarehouseReceiptSelectorFilterExpression.java
---
(0175956)
hgbot   
2025-02-20 10:27   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder/-/merge_requests/90 [^]
(0176074)
hgbot   
2025-02-24 10:48   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder [^]
Changeset: d64b755eb1066c0ef268f93fa134d287d96b2099
Author: atul.gaware <atul.gaware@openbravo.com>
Date: 24-02-2025 15:18:22
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder/-/commit/d64b755eb1066c0ef268f93fa134d287d96b2099 [^]

Revert "Fixes ISSUE-0058035: Distribution orders not working without"

This reverts commit 3206441fa01a5421f10eebc4e7fbe2e556b4c3e9.

---
M src/org/openbravo/distributionorder/actionHandler/OnChangeVendorActionHandler.java
M src/org/openbravo/distributionorder/filterexpression/WarehouseIssueSelectorFilterExpression.java
M src/org/openbravo/distributionorder/info/WarehouseIssueSelectorFilterExpression.java
M src/org/openbravo/distributionorder/info/WarehouseReceiptSelectorFilterExpression.java
---
(0176082)
hgbot   
2025-02-24 14:48   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder/-/merge_requests/95 [^]
(0176120)
hgbot   
2025-02-25 16:10   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder/-/merge_requests/95 [^]
(0176121)
hgbot   
2025-02-25 16:10   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder [^]
Changeset: 7ed0582dbeda006001fa158d3c455502b3cd9ccb
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 24-02-2025 19:16:10
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder/-/commit/7ed0582dbeda006001fa158d3c455502b3cd9ccb [^]

Fixes ISSUE-0058035: Distribution orders not working without
advancedwarehouseoperations

**Make sure the selector filters expression appends the AND clause
only when there is non empty additional warehouse filter

** Fix issue package org.apache.commons.lang3 does not exist

---
M src/org/openbravo/distributionorder/actionHandler/OnChangeVendorActionHandler.java
M src/org/openbravo/distributionorder/filterexpression/WarehouseIssueSelectorFilterExpression.java
M src/org/openbravo/distributionorder/info/WarehouseIssueSelectorFilterExpression.java
M src/org/openbravo/distributionorder/info/WarehouseReceiptSelectorFilterExpression.java
---