Openbravo Issue Tracking System - Modules
View Issue Details
0057944ModulesDistribution Orderspublic2025-02-11 13:292025-02-20 10:26
javietxe 
AtulOpenbravo 
normalmajorhave not tried
closedfixed 
5
 
 
Sandrahuguet
0057944: 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 backport 0058035 closed AtulOpenbravo Distribution orders not working without advancedwarehouseoperations 
related to backport 0058036 closed AtulOpenbravo Distribution orders not working without advancedwarehouseoperations 
? DistributionOrderErrorLog (36,196) 2025-02-11 13:29
https://issues.openbravo.com/file_download.php?file_id=20895&type=bug
Issue History
2025-02-11 13:29javietxeNew Issue
2025-02-11 13:29javietxeAssigned To => Triage Omni WMS
2025-02-11 13:29javietxeFile Added: DistributionOrderErrorLog
2025-02-18 18:29hgbotNote Added: 0175833
2025-02-18 18:29AtulOpenbravoStatusnew => scheduled
2025-02-18 18:29AtulOpenbravoAssigned ToTriage Omni WMS => AtulOpenbravo
2025-02-18 18:29AtulOpenbravoReview Assigned To => Sandrahuguet
2025-02-18 18:30AtulOpenbravoNote Added: 0175834
2025-02-18 18:50AtulOpenbravoNote Edited: 0175834bug_revision_view_page.php?bugnote_id=0175834#r29262
2025-02-19 20:10AtulOpenbravoIssue cloned0058035
2025-02-19 20:10AtulOpenbravoRelationship addedrelated to 0058035
2025-02-19 20:11AtulOpenbravoIssue cloned0058036
2025-02-19 20:11AtulOpenbravoRelationship addedrelated to 0058036
2025-02-20 10:26hgbotNote Added: 0175953
2025-02-20 10:26hgbotResolutionopen => fixed
2025-02-20 10:26hgbotStatusscheduled => closed
2025-02-20 10:26hgbotNote Added: 0175954

Notes
(0175833)
hgbot   
2025-02-18 18:29   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder/-/merge_requests/89 [^]
(0175834)
AtulOpenbravo   
2025-02-18 18:30   
(edited on: 2025-02-18 18:50)
- Create an environment without AWO modules and distribution orders i.e (Core + module >> org.openbravo.retail.config and org.openbravo.distributionorder)
- 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.

(0175953)
hgbot   
2025-02-20 10:26   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder/-/merge_requests/89 [^]
(0175954)
hgbot   
2025-02-20 10:26   
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: 730185b8052652a59cd167281a7d26a843949cc3
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 20-02-2025 08:50:36
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder/-/commit/730185b8052652a59cd167281a7d26a843949cc3 [^]

Fixes ISSUE-0057944: Distribution orders not working without
advancedwarehouseoperations

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

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