You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Maurice Meyer (JIRA)" <ji...@apache.org> on 2017/02/07 09:36:41 UTC

[jira] [Updated] (OFBIZ-9204) Cancelled OrderItems are still included in orderGrandTotal

     [ https://issues.apache.org/jira/browse/OFBIZ-9204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maurice Meyer updated OFBIZ-9204:
---------------------------------
    Attachment: OFBIZ-9204.patch

With the suggestion from Deepak / Jacques it works. Thanks!

I noticed one more thing, but that doesn't belong to this ticket: The orderGrandTotal is - 0.04$ instead of 0$.

> Cancelled OrderItems are still included in orderGrandTotal
> ----------------------------------------------------------
>
>                 Key: OFBIZ-9204
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9204
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 16.11
>            Reporter: Maurice Meyer
>            Assignee: Michael Brohl
>         Attachments: OFBIZ-9204.patch
>
>
> Cancelled OrderItems are still included in the calculation of the order price.
> Tested with release 16.11, revision: 1781126
> Steps to reproduce:
> 1. Setup a fresh OFBiz and do loadDefault
> 2. Go to the Order Manager and cancel the only existing demo order named DEMO10090 here: https://localhost:8443/ordermgr/control/orderview?orderId=DEMO10090
> 3. The "Total Due" at the bottom right still states 38.36$. It should be 0$ because all the items got cancelled.
> The error is probably in OrderView.groovy line 119: OrderReadHelper.getOrderGrandTotal(orderItems, orderAdjustments)
> This method apparently includes cancelled OrderItems in the grandTotal.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)