Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 455FD200BB0 for ; Sat, 15 Oct 2016 11:51:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 42BD5160AE7; Sat, 15 Oct 2016 09:51:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B71E2160AF1 for ; Sat, 15 Oct 2016 11:51:21 +0200 (CEST) Received: (qmail 88177 invoked by uid 500); 15 Oct 2016 09:51:20 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 88128 invoked by uid 99); 15 Oct 2016 09:51:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Oct 2016 09:51:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9320A2C4C71 for ; Sat, 15 Oct 2016 09:51:20 +0000 (UTC) Date: Sat, 15 Oct 2016 09:51:20 +0000 (UTC) From: "Arvind Singh Tomar (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OFBIZ-7359) Product base promotion calculation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 15 Oct 2016 09:51:22 -0000 [ https://issues.apache.org/jira/browse/OFBIZ-7359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arvind Singh Tomar updated OFBIZ-7359: -------------------------------------- Attachment: OFBIZ-7359_trunk.patch > Product base 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)