You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Christian Carlow (JIRA)" <ji...@apache.org> on 2013/11/26 19:48:53 UTC

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

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)