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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055413
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajoralways2024-03-19 20:492024-05-06 18:03
ReportersdossantosView Statuspublic 
Assigned ToTriage Omni OMS 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version24Q1.3
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

0055413: 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
(0164122)
hgbot (developer)
2024-05-06 18:03

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.combo [^]
Changeset: cad40cba55cbc9f648ff2820765165d1d5fe5221
Author: Kousalya Ramasamy <kousalya.ramasamy@openbravo.com>
Date: 06-05-2024 18:02:39
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.combo/-/commit/cad40cba55cbc9f648ff2820765165d1d5fe5221 [^]

Fixed ISSUE-55413: 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 => 24Q1.3
2024-05-06 18:03 hgbot Resolution open => fixed
2024-05-06 18:03 hgbot Status scheduled => closed
2024-05-06 18:03 hgbot Note Added: 0164122


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker