Fixed: Bug preventing proper explosion of BOM containing virtual nodes (OFBIZ-12191)
Thanks: Nameet for report and fix and Jacopo for test.
This commit is contained in:
+2
-1
@@ -96,6 +96,7 @@ public class BOMTree {
|
||||
|
||||
this.delegator = delegator;
|
||||
this.dispatcher = dispatcher;
|
||||
this.bomTypeId = bomTypeId;
|
||||
|
||||
inputProduct = EntityQuery.use(delegator).from("Product").where("productId", productId).queryOne();
|
||||
|
||||
@@ -153,7 +154,7 @@ public class BOMTree {
|
||||
} catch (GenericEntityException gee) {
|
||||
root = null;
|
||||
}
|
||||
this.bomTypeId = bomTypeId;
|
||||
|
||||
this.inDate = inDate;
|
||||
rootQuantity = BigDecimal.ONE;
|
||||
rootAmount = BigDecimal.ZERO;
|
||||
|
||||
Reference in New Issue
Block a user