Completes r985856 "Cost calculation is still broken and no shipping costs are returned"
I forgot to commit the change in ShipmentCostEstimate: add productStoreShipMethId to ShipmentCostEstimate when created by createShipmentEstimate. Else new created ShipmentCostEstimate would be inconsistent, see http://markmail.org/message/2f6ryfm6fvvrvx74 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985902 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -73,6 +73,7 @@ public class ShipmentServices {
|
||||
GenericValue estimate = delegator.makeValue("ShipmentCostEstimate");
|
||||
|
||||
estimate.set("shipmentCostEstimateId", delegator.getNextSeqId("ShipmentCostEstimate"));
|
||||
estimate.set("productStoreShipMethId", productStoreShipMethId);
|
||||
estimate.set("shipmentMethodTypeId", productStoreShipMeth.getString("shipmentMethodTypeId"));
|
||||
estimate.set("carrierPartyId", productStoreShipMeth.getString("partyId"));
|
||||
estimate.set("carrierRoleTypeId", "CARRIER");
|
||||
|
||||
Reference in New Issue
Block a user