[
https://issues.apache.org/jira/browse/OFBIZ-7943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Andreyev updated OFBIZ-7943:
---------------------------------
Attachment: cancelRcptInv.diff
> 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 13.07, Release Branch 14.12
>
> Attachments: cancelRcptInv.diff
>
>
> 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)