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

Chirag Manocha updated OFBIZ-2527:
----------------------------------

    Attachment: PromotionFix_OFBiz-2527.patch

Here is the patch for the same.
Work done :-
1) Saved record for the promotion code in OrderProductPromoCode entity for 
further use.
2) Fixed the issue by reapplying the promotion while Recalculating Cart.
3) On deletion of promotion, deleted record from OrderProductPromoCode entity. 
This is done in deleteOrderAdjustment service because OrderProductPromoCode 
record should be deleted when order adjustment of type promotion and have 
promotion code gets deleted.

Special Thanks to Ratnesh Upadhyay

Thanks
--Chirag Manocha

> When editing items, Promotion Codes are getting deleted when we click Update 
> Items.
> -----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2527
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2527
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Chirag Manocha
>             Fix For: SVN trunk
>
>         Attachments: PromotionFix_OFBiz-2527.patch
>
>
> When edit items from order view screen and clicks on update items, the 
> promotion codes applied at the time of order creation, gets deleted from the 
> order.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to