You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2016/08/28 05:05:21 UTC

[jira] [Closed] (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 ]

Jacques Le Roux closed OFBIZ-7943.
----------------------------------
       Resolution: Fixed
         Assignee: Jacques Le Roux
    Fix Version/s: Release Branch 15.12
                   Upcoming Branch

Thanks Oleg,

Your patch is in 
trunk r1758089
R15.12, R14.12, R13.07 r1758090

> 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
>            Assignee: Jacques Le Roux
>             Fix For: Upcoming Branch, Release Branch 15.12, Release Branch 14.12, Release Branch 13.07
>
>         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)