Openbravo Issue Tracking System - Retail Modules
View Issue Details
0055301Retail ModulesCoupons OTFpublic2024-04-24 10:122024-05-03 09:05
inaki_luque 
inaki_luque 
normaltrivialhave not tried
closedfixed 
5
 
 
No
0055301: Extension in the OTF Coupon Generation Rules
- Add new options to the OTF Coupon Generation Rule for set the Number of Uses
N/A

Add the selector field of “Number of Uses” on the “OTF Coupon Generation Rules” BO window. The selector will contain 3 possibilities:

- Infinite
- N Uses
- N Uses per Customer

A new mandatory field called “Number of Uses Limit” will be displayed when the Number of Uses option chosen is different from “Infinite”

Extension of the API “CouponOTFRule”, implementing the new features added in the OTF Generation Rules to the API so the clients can create them via API.

No tags attached.
Issue History
2024-04-24 10:12inaki_luqueNew Issue
2024-04-24 10:12inaki_luqueAssigned To => inaki_luque
2024-04-24 10:12inaki_luqueTriggers an Emergency Pack => No
2024-04-24 10:12inaki_luqueStatusnew => scheduled
2024-04-24 12:30hgbotNote Added: 0163652
2024-04-24 13:59hgbotNote Added: 0163659
2024-04-26 11:48hgbotNote Added: 0163807
2024-05-02 13:54hgbotResolutionopen => fixed
2024-05-02 13:54hgbotStatusscheduled => closed
2024-05-02 13:54hgbotNote Added: 0164008
2024-05-02 13:54hgbotNote Added: 0164009
2024-05-02 13:54hgbotNote Added: 0164010
2024-05-02 13:54hgbotNote Added: 0164011
2024-05-02 13:54hgbotNote Added: 0164012
2024-05-02 13:54hgbotNote Added: 0164013
2024-05-03 09:05hgbotNote Added: 0164041

Notes
(0163652)
hgbot   
2024-04-24 12:30   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/51 [^]
(0163659)
hgbot   
2024-04-24 13:59   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/merge_requests/16 [^]
(0163807)
hgbot   
2024-04-26 11:48   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/136 [^]
(0164008)
hgbot   
2024-05-02 13:54   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf [^]
Changeset: 27c88251268e395d0c1568e7a89e56ae2f4411ec
Author: Iñaki <i.luque@orisha.com>
Date: 02-05-2024 11:36:29
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/commit/27c88251268e395d0c1568e7a89e56ae2f4411ec [^]

Fixed ISSUE-55301: Extension in the OTF Coupon Generation Rules to include configuration for the Number of Uses

---
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
---
(0164009)
hgbot   
2024-05-02 13:54   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/51 [^]
(0164010)
hgbot   
2024-05-02 13:54   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api [^]
Changeset: 9e91bb4038b67388d6173dc1495d952773f17754
Author: Iñaki Luque <i.luque@orisha.com>
Date: 02-05-2024 11:54:29
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/commit/9e91bb4038b67388d6173dc1495d952773f17754 [^]

Related to ISSUE-55301: Extension of the CouponOTFRule API endpoint to include configuration for the Number of Uses

---
M examples/Openbravo API.postman_collection.json
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0164011)
hgbot   
2024-05-02 13:54   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/merge_requests/16 [^]
(0164012)
hgbot   
2024-05-02 13:54   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata [^]
Changeset: 0195d8371dabef223f70f943e52d22e9bff9d11b
Author: Iñaki Luque <i.luque@orisha.com>
Date: 02-05-2024 11:54:34
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/commit/0195d8371dabef223f70f943e52d22e9bff9d11b [^]

Related to ISSUE-55301: Updating Coupons OTF sampledata

---
M referencedata/sampledata/The_White_Valley_Group/OBCPOTF_COUPONRULES.xml
---
(0164013)
hgbot   
2024-05-02 13:54   
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/136 [^]
(0164041)
hgbot   
2024-05-03 09:05   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf [^]
Changeset: 1fdfd45ad80b24f0e7a194f48958c2c85d7384e2
Author: Jorge Wederago <j.wederago@orisha.com>
Date: 03-05-2024 09:05:13
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/commit/1fdfd45ad80b24f0e7a194f48958c2c85d7384e2 [^]

Related to ISSUE-55301: Fixed dbconsistency

---
M src-db/database/model/tables/OBCPOTF_COUPONRULES.xml
---