Openbravo Issue Tracking System - POS2
View Issue Details
0055725POS2POSpublic2024-06-10 13:192024-06-18 13:11
gorka_gil 
gorka_gil 
normalminorN/A
closedfixed 
5
 
 
No
0055725: promotion product fixed amount: allow multiple dates same product
promotion product fixed amount - manage multiple date for the same product + override product prices within one promotion

jira: https://openbravo.atlassian.net/browse/RM-13102 [^]
-
No tags attached.
Issue History
2024-06-10 13:19gorka_gilNew Issue
2024-06-10 13:19gorka_gilAssigned To => gorka_gil
2024-06-10 13:19gorka_gilTriggers an Emergency Pack => No
2024-06-11 19:46hgbotNote Added: 0165813
2024-06-11 19:54hgbotNote Added: 0165814
2024-06-18 13:10hgbotResolutionopen => fixed
2024-06-18 13:10hgbotStatusnew => closed
2024-06-18 13:10hgbotFixed in Version => PR24Q3
2024-06-18 13:10hgbotNote Added: 0166056
2024-06-18 13:10hgbotNote Added: 0166057
2024-06-18 13:11hgbotNote Added: 0166058
2024-06-18 13:11hgbotFixed in VersionPR24Q3 => RR24Q3
2024-06-18 13:11hgbotNote Added: 0166059

Notes
(0165813)
hgbot   
2024-06-11 19:46   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1276 [^]
(0165814)
hgbot   
2024-06-11 19:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/145 [^]
(0166056)
hgbot   
2024-06-18 13:10   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 9bce5e9c68d7c2349532ea990ed491cdf76c49ab
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 18-06-2024 11:10:20
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/9bce5e9c68d7c2349532ea990ed491cdf76c49ab [^]

Fixes ISSUE-55725: Allow to define many dates for a product in a priceAdjustment discount

* Only when scope is each product
* Only when all the start and end dates for all that products are defined
* They should not overlap

---
M src-db/database/model/tables/M_OFFER_PRODUCT.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/event/PriceAdjustmentProductEventHandler.java
---
(0166057)
hgbot   
2024-06-18 13:10   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1276 [^]
(0166058)
hgbot   
2024-06-18 13:11   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/145 [^]
(0166059)
hgbot   
2024-06-18 13:11   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: d0626098921c1d341a667c8ad7fdfb1ae3e3446e
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 17-06-2024 19:29:09
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/d0626098921c1d341a667c8ad7fdfb1ae3e3446e [^]

Fixed ISSUE-55725: Allow to define many dates for a product in a priceAdjustment discount

* added junit tests

---
A src-test/org/openbravo/retail/discounts/test/unittests/DiscountPriceAdjustmentEachProductMultidateTest.java
M src-test/org/openbravo/retail/discounts/test/unittests/DiscountsUnitTestSuite.java
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/engine/discount-rules.js
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/engine/rules/price-adjustment-discount.js
---