You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Oleg Andreyev (JIRA)" <ji...@apache.org> on 2016/08/04 19:45:20 UTC

[jira] [Created] (OFBIZ-7943) Cancelling shipment receipt doubles the inventory

Oleg Andreyev created OFBIZ-7943:
------------------------------------

             Summary: Cancelling shipment receipt doubles the inventory
                 Key: OFBIZ-7943
                 URL: https://issues.apache.org/jira/browse/OFBIZ-7943
             Project: OFBiz
          Issue Type: Bug
          Components: product
    Affects Versions: Release Branch 13.07
            Reporter: Oleg Andreyev
             Fix For: Release Branch 14.12, Release Branch 13.07


When user cancel shipment receipt on PO it calls the service cancelReceivedItems that should revert inventory received. It doubles it instead because expression ${-1 * inventoryItem.quantityOnHandTotal} does not work really and does not return negative value.

The patch can be applied to 12.04, 13.07 and 14.12. Not sure about newer code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)