Posted by
Nicolas Malin (Jira) on
Jun 05, 2009; 9:58am
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-2560-On-order-view-page-when-editing-items-on-clicking-update-items-all-the-adjus-tp203219p203226.html
[
https://issues.apache.org/jira/browse/OFBIZ-2560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716556#action_12716556 ]
Vikas Mayur commented on OFBIZ-2560:
------------------------------------
I reviewed the patch and I think it is done exactly it should be done to fix the issue, that is to just remove the existing adjustments from the database and add the complete new set of re-calculated adjustments back to the database.
While adding re-calculated adjustments, existing code does not acknowledge the existing adjustments and neither it update them. It just add a bunch of new adjustments which bring up the issue mentioned in the jira issue.
> On order view page when editing items, on clicking update items all the adjustments are duplicated.
> ----------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-2560
> URL:
https://issues.apache.org/jira/browse/OFBIZ-2560> Project: OFBiz
> Issue Type: Bug
> Components: order
> Affects Versions: Release Branch 9.04, SVN trunk
> Reporter: Ratnesh Upadhyay
> Fix For: Release Branch 9.04, SVN trunk
>
> Attachments: OrderAdjustmentFix_OFBiz-2560.patch
>
>
> Steps to regenerate the issue :-
> 1). Create an sales order.
> 2). Click on Edit Item button available in action block of order view page.
> 3). Click on Update Items.
> Now you can see that all the adjustment are duplicated and also added/subtracted in order total.
> -- Ratnesh Upadhyay
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.