Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048083Retail ModulesDiscounts Combopublic2021-10-29 13:472021-11-24 07:47
martinsdan 
ranjith_qualiantech_com 
highmajorsometimes
closedfixed 
30Ubuntu 18.04.1 LTS
RR21Q3.4 
RR21Q4.2 
No
0048083: 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 => RR21Q4.2
2021-11-24 06:50hgbotNote Added: 0133313
2021-11-24 07:47hgbotNote Added: 0133319
2021-11-24 07:47hgbotResolutionopen => fixed
2021-11-24 07:47hgbotStatusscheduled => closed
2021-11-24 07:47hgbotNote Added: 0133320

Notes
(0133313)
hgbot   
2021-11-24 06:50   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.combo/-/merge_requests/16 [^]
(0133319)
hgbot   
2021-11-24 07:47   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.combo/-/merge_requests/16 [^]
(0133320)
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: 5bed49964abf3ed990ade35346f5c7706644e776
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-11-23T13:35:00+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.combo/-/commit/5bed49964abf3ed990ade35346f5c7706644e776 [^]

Fixed ISSUE-48083: 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
---