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

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

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

Nicolas Malin (Jira)
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)