[jira] [Created] (OFBIZ-5406) Cannot update order item ship group quantity with no address

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-5406) Cannot update order item ship group quantity with no address

Nicolas Malin (Jira)
Christian Carlow created OFBIZ-5406:
---------------------------------------

             Summary: Cannot update order item ship group quantity with no address
                 Key: OFBIZ-5406
                 URL: https://issues.apache.org/jira/browse/OFBIZ-5406
             Project: OFBiz
          Issue Type: Improvement
            Reporter: Christian Carlow


This error occurs when order item ship group quantities are changed for ship group with no address associated:

The address(es) used for tax calculation did not have State/Province or Country or other tax jurisdiction values set, so we cannot determine the taxes to charge.

This is caused by the call to coh.calcAndAddTax(); in saveUpdatedCartToOrder() of OrderServices.java.  Changing to coh.calcAndAddTax(true); resolves the problem.  The boolean provides the value for the skipEmptyAddresses parameter of the function.



--
This message was sent by Atlassian JIRA
(v6.1#6144)