Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055412
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajoralways2024-03-19 20:492024-05-07 09:11
ReportersdossantosView Statuspublic 
Assigned ToTriage Omni OMS 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version24Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0055412: Error with Combo Fixed Price in POS 2

DescriptionWhen I configure two combos, which are related, it does not calculate the discount correctly.

Attached video - reproduced in https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql [^]
Steps To Reproduce1 - Create 2 discount - type Combo Fixed Price.
I attach the images of the discounts, the families are the same, that is, configure the same products in the same families of the two discounts.

2 - Do a sales with the 3 product (1 each family) adn see 1 discount - COMBO SINGLE
, then add more products to see the another discount - Combo DUO, and if you continue add more quantity, you see wrong amount

In the video you the final -The amount I expected is 56, since I see a duo combo for $36 and a single for $20 ---> total 56
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0055000 closedTriage Omni OMS Error with Combo Fixed Price in POS 2 

-  Notes
(0164127)
hgbot (developer)
2024-05-07 09:11

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.combo [^]
Changeset: 27c5ed3ec534a153ecbfee9925cb4a5ec7161337
Author: Kousalya Ramasamy <kousalya.ramasamy@openbravo.com>
Date: 07-05-2024 09:07:41
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.combo/-/commit/27c5ed3ec534a153ecbfee9925cb4a5ec7161337 [^]

Fixed ISSUE-55412: Apply next flag condition added to accumDiscounted calc

---
M web/org.openbravo.retail.discounts.combo/app/model/business-logic/discounts-engine/engine/rules/fixed-combo-discount.js
---

- Issue History
Date Modified Username Field Change
2024-05-06 17:57 aferraz Type defect => backport
2024-05-06 17:57 aferraz Target Version => 24Q2
2024-05-07 09:11 hgbot Resolution open => fixed
2024-05-07 09:11 hgbot Status scheduled => closed
2024-05-07 09:11 hgbot Note Added: 0164127


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker