A patch from Jyoti Sharma for "Add Item to approved order" https://issues.apache.org/jira/browse/OFBIZ-5340
While adding an item to an approved order if we select orderItemTypeId it gives an error message. The error was occurring because in "orderItemTypeId" field, value being passed was that of "reasonEnumId". I am submitting a patch having the correct value. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1529588 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -3490,7 +3490,7 @@ public class OrderServices {
|
||||
Timestamp itemDesiredDeliveryDate = (Timestamp) context.get("itemDesiredDeliveryDate");
|
||||
String overridePrice = (String) context.get("overridePrice");
|
||||
String reasonEnumId = (String) context.get("reasonEnumId");
|
||||
String orderItemTypeId = (String) context.get("reasonEnumId");
|
||||
String orderItemTypeId = (String) context.get("orderItemTypeId");
|
||||
String changeComments = (String) context.get("changeComments");
|
||||
Boolean calcTax = (Boolean) context.get("calcTax");
|
||||
if (calcTax == null) {
|
||||
|
||||
Reference in New Issue
Block a user