Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048084Retail ModulesDiscounts Combopublic2021-10-29 13:472021-11-24 07:47
martinsdan 
ranjith_qualiantech_com 
highmajorsometimes
closedfixed 
30Ubuntu 18.04.1 LTS
RR21Q3.4 
RR21Q3.6 
No
0048084: Error in prices adding several Combos Fixed Price
When more than one Combo Fixed Price with different prices are added to the ticket, the total amount is wrong.

This only happens for some combinations.
Change the currency price and POS precision to 4.
Create several combos fixed price with different prices where some products are common to more than one combo.
Add 2 combos to the ticket, see the price is wrong.
No tags attached.
blocks defect 0047950 closed ranjith_qualiantech_com Error in prices adding several Combos Fixed Price 
Issue History
2021-11-17 08:02marvintmTypedefect => backport
2021-11-17 08:02marvintmTarget Version => RR21Q3.6
2021-11-24 06:50hgbotNote Added: 0133314
2021-11-24 07:47hgbotResolutionopen => fixed
2021-11-24 07:47hgbotStatusscheduled => closed
2021-11-24 07:47hgbotNote Added: 0133317
2021-11-24 07:47hgbotNote Added: 0133318

Notes
(0133314)
hgbot   
2021-11-24 06:50   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.combo/-/merge_requests/17 [^]
(0133317)
hgbot   
2021-11-24 07:47   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.combo [^]
Changeset: da1d4f12c9fb213383fbbad3eef66713f1ed7f9e
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-11-23T13:35:18+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.combo/-/commit/da1d4f12c9fb213383fbbad3eef66713f1ed7f9e [^]

Fixed ISSUE-48084: OriginalLinePrice should be used to calculate multiple combo discount

---
M web/org.openbravo.retail.discounts.combo/app/model/business-logic/discounts-engine/engine/rules/combo-discount.js
---
(0133318)
hgbot   
2021-11-24 07:47   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.combo/-/merge_requests/17 [^]