Openbravo Issue Tracking System - POS2
View Issue Details
0053832POS2POSpublic2023-11-02 12:582023-11-30 16:43
ranjith_qualiantech_com 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
 
No
0053832: Implement Amount rule for Variable Amount Coupons in Coupons OTF Generation Rules
Implement Amount rule for Variable Amount Coupons in Coupons OTF Generation Rules
--
No tags attached.
related to defect 0054273 closed ranjith_qualiantech_com OTFCoupons not generated if MinQty is configured for Amount Rule 
Issue History
2023-11-02 12:58ranjith_qualiantech_comNew Issue
2023-11-02 12:58ranjith_qualiantech_comAssigned To => ranjith_qualiantech_com
2023-11-02 12:58ranjith_qualiantech_comTriggers an Emergency Pack => No
2023-11-06 06:49ranjith_qualiantech_comStatusnew => scheduled
2023-11-16 10:36ranjith_qualiantech_comNote Added: 0157200
2023-11-20 18:23ranjith_qualiantech_comNote Deleted: 0157200
2023-11-21 11:12hgbotNote Added: 0157407
2023-11-22 06:33hgbotNote Added: 0157440
2023-11-30 16:43hgbotResolutionopen => fixed
2023-11-30 16:43hgbotStatusscheduled => closed
2023-11-30 16:43hgbotNote Added: 0157875
2023-11-30 16:43hgbotNote Added: 0157876
2023-11-30 16:43hgbotNote Added: 0157877
2023-11-30 16:43hgbotNote Added: 0157878
2023-11-30 16:43hgbotNote Added: 0157879
2024-01-09 07:46ranjith_qualiantech_comRelationship addedrelated to 0054273

Notes
(0157407)
hgbot   
2023-11-21 11:12   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/31 [^]
(0157440)
hgbot   
2023-11-22 06:33   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/108 [^]
(0157875)
hgbot   
2023-11-30 16:43   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf [^]
Changeset: 638b3b19d86806e5bd9cf018036eb91669102fd2
Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com>
Date: 30-11-2023 17:50:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/commit/638b3b19d86806e5bd9cf018036eb91669102fd2 [^]

Fixed ISSUE-53832: Added AmountRule implementation for VariableAmountCoupon Discount

---
A build/classes/org/openbravo/retail/discounts/coupons/otf/modulescript/FixDataIssue53832.class
A build/classes/org/openbravo/retail/discounts/coupons/otf/modulescript/FixDataIssue53832Data.class
A src-util/modulescript/src/org/openbravo/retail/discounts/coupons/otf/modulescript/FixDataIssue53832.java
A src-util/modulescript/src/org/openbravo/retail/discounts/coupons/otf/modulescript/FixDataIssue53832_Data.xsql
A src/org/openbravo/retail/discounts/coupons/otf/event/CouponrulesEventHandler.java
M src-db/database/model/tables/OBCPOTF_COUPONRULES.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/OBUISEL_SELECTOR.xml
M src/org/openbravo/retail/discounts/coupons/otf/OrderLoaderHookOTFCoupons.java
M src/org/openbravo/retail/discounts/coupons/otf/master/CouponrulesProperties.java
M web-jspack/org.openbravo.retail.discounts.coupons.otf/src/model/global/__test__/CreateCoupons.test.js
M web-jspack/org.openbravo.retail.discounts.coupons.otf/src/model/global/__test__/GetCouponToPrint.test.js
M web-jspack/org.openbravo.retail.discounts.coupons.otf/src/model/global/actions/utils/CreateCoupons.js
M web-jspack/org.openbravo.retail.discounts.coupons.otf/src/model/global/actions/utils/PrintCoupons.js
M web/org.openbravo.retail.discounts.coupons.otf/js/events/couponrulesEvent.js
M web/org.openbravo.retail.discounts.coupons.otf/js/utils.js
M web/org.openbravo.retail.discounts.coupons.otf/res/printcoupon.xml
R src/org/openbravo/retail/discounts/coupons/otf/handler/CouponrulesEventHandler.java
---
(0157876)
hgbot   
2023-11-30 16:43   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf [^]
Changeset: b847dadcb5c690edf3c682cdf047b7dffeb21673
Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com>
Date: 30-11-2023 17:50:14
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/commit/b847dadcb5c690edf3c682cdf047b7dffeb21673 [^]

Related to ISSUE-53832: Added missing help & description for otf coupon rule fields

---
M src-db/database/model/tables/OBCPOTF_COUPONRULES.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
---
(0157877)
hgbot   
2023-11-30 16:43   
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/108 [^]
(0157878)
hgbot   
2023-11-30 16:43   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata [^]
Changeset: b02a89d979e174b8a4ab9b52f72392eb9f1df95d
Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com>
Date: 30-11-2023 15:38:52
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/commit/b02a89d979e174b8a4ab9b52f72392eb9f1df95d [^]

Related to ISSUE-53832: Added sampledata for CopuonOTF rules

---
M referencedata/sampledata/The_White_Valley_Group/OBCPOTF_COUPONRULES.xml
---
(0157879)
hgbot   
2023-11-30 16:43   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/31 [^]