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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055048
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Discounts and Promotionstrivialhave not tried2024-03-25 17:022024-05-02 08:45
Reporterinaki_luqueView Statuspublic 
Assigned Toinaki_luque 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0055048: Partial usage of coupons

Description- The coupon should be partially redeemable in the Webpos or BO, when they have an amount.

- It means that it cannot be applied if the coupon is linked to a discount which does not generate an amount.

- The coupon could be reuse until it expires, or the balance amount reaches 0€
Steps To ReproduceN/A
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0163974)
hgbot (developer)
2024-05-02 08:43

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons [^]
Changeset: 50f31a02f418478dcaac33cd504f25d4b16d15d9
Author: Jorge Wederago <j.wederago@orisha.com>
Date: 02-05-2024 08:32:28
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/commit/50f31a02f418478dcaac33cd504f25d4b16d15d9 [^]

Fixes ISSUE-55048: Partial usage of coupons

---
A build/classes/org/openbravo/retail/discounts/coupons/modulescript/ModuleScriptBreakableCouponFields.class
A src-db/database/model/tables/OBDISCP_TRANSACTION.xml
A src-test/org/openbravo/retail/discounts/coupons/event/BreakableCouponEventHandlerTest.java
A src-util/modulescript/src/org/openbravo/retail/discounts/coupons/modulescript/ModuleScriptBreakableCouponFields.java
A src/org/openbravo/retail/discounts/coupons/event/BreakableCouponEventHandler.java
A web-test/model/business-logic/discounts-engine/engine/rule/variable-amount-coupons-discount.test.js
M src-db/database/model/tables/OBDISCP_COUPON.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src/org/openbravo/retail/discounts/coupons/CouponAvailability.java
M src/org/openbravo/retail/discounts/coupons/DISCPUtils.java
M src/org/openbravo/retail/discounts/coupons/OrderLoaderHookCoupons.java
M web-test/model/business-object/ticket/TicketCouponUtils.test.js
M web/org.openbravo.retail.discounts.coupons/app/model/business-logic/discounts-engine/engine/rules/variable-amount-coupons-discount.js
M web/org.openbravo.retail.discounts.coupons/app/model/business-object/ticket/TicketCouponUtils.js
R src/org/openbravo/retail/discounts/coupons/event/CouponEventHandler.java
---
(0163975)
hgbot (developer)
2024-05-02 08:43

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf [^]
Changeset: d56af129f1ce04f7353bfe9e293f2789aa27cc60
Author: Jorge Wederago <j.wederago@orisha.com>
Date: 02-05-2024 08:33:58
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/commit/d56af129f1ce04f7353bfe9e293f2789aa27cc60 [^]

Related to ISSUE-55048: Partial usage of coupons

---
A src-test/org/openbravo/retail/discounts/coupons/otf/event/BreakableCouponRulesEventHandlerTest.java
A src/org/openbravo/retail/discounts/coupons/otf/event/BreakableCouponRulesEventHandler.java
M src-db/database/model/tables/OBCPOTF_COUPONRULES.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/retail/discounts/coupons/otf/OrderLoaderHookOTFCoupons.java
M web/org.openbravo.retail.discounts.coupons.otf/js/events/discountCoupons.js
---
(0163976)
hgbot (developer)
2024-05-02 08:43

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.api [^]
Changeset: 4cbe5a24d374a7d825bcb5a263e2c9b93c606c7e
Author: Jorge Wederago <j.wederago@orisha.com>
Date: 02-05-2024 08:36:56
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.api/-/commit/4cbe5a24d374a7d825bcb5a263e2c9b93c606c7e [^]

Related to ISSUE-55048: Add logic to handle Breakable Coupons in the API

---
A src-db/database/sourcedata/AD_MESSAGE.xml
M api/org.openbravo.retail.discounts.coupons.api-consumecoupons.yml
M examples/Retail API Coupon.postman_collection.json
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
M src/org/openbravo/retail/discounts/coupons/api/service/ConsumeCoupon.java
---
(0163977)
hgbot (developer)
2024-05-02 08:43

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api [^]
Changeset: 5cc4f45d4e2de2b666de4b586a7d1026c0293f76
Author: Jorge Wederago <j.wederago@orisha.com>
Date: 02-05-2024 08:36:14
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/commit/5cc4f45d4e2de2b666de4b586a7d1026c0293f76 [^]

Related to ISSUE-55048: Partial usage of coupons for OTF Rules API

---
M examples/Openbravo API.postman_collection.json
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0163978)
hgbot (developer)
2024-05-02 08:43

Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata [^]
Changeset: 5831ff08dcb25ba27cf8b5ea3614259576b458a2
Author: Jorge Wederago <j.wederago@orisha.com>
Date: 02-05-2024 08:38:07
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/commit/5831ff08dcb25ba27cf8b5ea3614259576b458a2 [^]

Related to ISSUE-55048: Update sampledata

---
M referencedata/sampledata/The_White_Valley_Group/OBCPOTF_COUPONRULES.xml
M referencedata/sampledata/The_White_Valley_Group/OBDISCP_COUPON.xml
---

- Issue History
Date Modified Username Field Change
2024-03-25 17:02 inaki_luque New Issue
2024-03-25 17:02 inaki_luque Assigned To => inaki_luque
2024-03-25 17:02 inaki_luque Triggers an Emergency Pack => No
2024-03-25 17:02 inaki_luque Status new => scheduled
2024-05-02 08:43 hgbot Resolution open => fixed
2024-05-02 08:43 hgbot Status scheduled => resolved
2024-05-02 08:43 hgbot Note Added: 0163974
2024-05-02 08:43 hgbot Note Added: 0163975
2024-05-02 08:43 hgbot Note Added: 0163976
2024-05-02 08:43 hgbot Note Added: 0163977
2024-05-02 08:43 hgbot Note Added: 0163978
2024-05-02 08:45 jorgewederago Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker