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:46:20 UTC

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

     [ 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)