[ 
https://issues.apache.org/jira/browse/OFBIZ-7359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15577790#comment-15577790
 ] 

Arvind Singh Tomar commented on OFBIZ-7359:
-------------------------------------------

Resolved the merge conflicts and updated the patch. Tested the functionality 
and run unit tests and found out it be working fine.

> Product based promotion calculation
> -----------------------------------
>
>                 Key: OFBIZ-7359
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7359
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: Trunk
>            Reporter: Arvind Singh Tomar
>            Assignee: Mridul Pathak
>            Priority: Minor
>         Attachments: OFBIZ-7359_trunk.patch, OFBIZ-7359_trunk.patch, 
> Promotion1.png, Promotion2.png
>
>
> I found the behavior of product base promotion calculation a bit strange. Any 
> further insights into the issue would be very helpful.
> The promotion which I used was to give 30% discount for the item (i.e. 
> RAM1GB_BRAND). I created a sales order with 10 quantity of the product. 
> During the promotion calculation, OFBiz created 10 OrderAdjustments, one for 
> each quantity for the same promotion type.
> I was expecting that in the case if same Promotion is applicable for more 
> than one quantity of a product then a single OrderAdjustment should be 
> created instead of creating one for each quantity. It is also messing up the 
> UI.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to