Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0053618 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [POS2] POS | major | N/A | 2023-10-09 09:32 | 2023-11-14 07:15 | |||
Reporter | jorgewederago | View Status | public | |||||
Assigned To | jorgewederago | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0053618: Port and improve Number of Uses for Coupons | |||||||
Description | It is needed to port the number of uses functionality as well as to update the current approach | |||||||
Steps To Reproduce | N/A | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0155755) hgbot (developer) 2023-10-11 02:28 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/23 [^] |
(0156457) hgbot (developer) 2023-10-30 03:01 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/25 [^] |
(0156458) hgbot (developer) 2023-10-30 03:01 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.burn.coupon/-/merge_requests/7 [^] |
(0156507) hgbot (developer) 2023-10-31 06:35 |
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/103 [^] |
(0156508) hgbot (developer) 2023-10-31 06:52 |
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/344 [^] |
(0156934) hgbot (developer) 2023-11-09 09:25 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons [^] Changeset: 1ffeb1bdfbb8e8029011e316291fe4959fbc46d7 Author: Jorge Wederago <jorge.wederago@openbravo.com> Date: 09-11-2023 17:13:14 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/commit/1ffeb1bdfbb8e8029011e316291fe4959fbc46d7 [^] Fixed FR-53618: Port and improve Number of Uses for Coupons *New configuration for the type of the discount *New subtab to handle different uses *Remove previous oneUse column *Adding script to change previous configuration to the new one --- A build/classes/org/openbravo/retail/discounts/coupons/modulescript/ModuleScriptCouponUses.class A src-db/database/model/tables/OBDISCP_USAGE.xml A src-util/modulescript/src/org/openbravo/retail/discounts/coupons/modulescript/ModuleScriptCouponUses.java A src/org/openbravo/retail/discounts/coupons/DISCPUtils.java 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/CouponUsed.java M src/org/openbravo/retail/discounts/coupons/PreOrderLoaderHookCoupons.java M src/org/openbravo/retail/discounts/coupons/event/CouponEventHandler.java M web-jspack/org.openbravo.retail.discounts.coupons/src/model/ticket/actions/SearchAndAddCouponToTicketActionPreparation.js M web-jspack/org.openbravo.retail.discounts.coupons/src/model/ticket/coupons/user-actions/AddCoupon.js M web-jspack/org.openbravo.retail.discounts.coupons/src/services/scan/handlers/CouponScanEventHandler.js --- |
(0156935) hgbot (developer) 2023-11-09 09:25 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons [^] Changeset: a999a61bde9cbfcdb6692cdd94ce2a1fcff60867 Author: Jorge Wederago <jorge.wederago@openbravo.com> Date: 09-11-2023 17:23:02 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/commit/a999a61bde9cbfcdb6692cdd94ce2a1fcff60867 [^] Fixed FR-53618: Merge branch 'fr/53618' --- A build/classes/org/openbravo/retail/discounts/coupons/modulescript/ModuleScriptCouponUses.class A src-db/database/model/tables/OBDISCP_USAGE.xml A src-util/modulescript/src/org/openbravo/retail/discounts/coupons/modulescript/ModuleScriptCouponUses.java A src/org/openbravo/retail/discounts/coupons/DISCPUtils.java A web-jspack/org.openbravo.retail.discounts.coupons/src/model/ticket/actions/__test__/SearchAndAddCouponToTicketActionPreparation.test.js A web-test/model/business-object/ticket/TicketCouponUtils.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/CouponUsed.java M src/org/openbravo/retail/discounts/coupons/OrderLoaderHookCoupons.java M src/org/openbravo/retail/discounts/coupons/event/CouponEventHandler.java M web-jspack/org.openbravo.retail.discounts.coupons/src/model/ticket/actions/SearchAndAddCouponToTicketActionPreparation.js M web-jspack/org.openbravo.retail.discounts.coupons/src/model/ticket/coupons/user-actions/AddCoupon.js M web-jspack/org.openbravo.retail.discounts.coupons/src/services/scan/handlers/CouponScanEventHandler.js M web/org.openbravo.retail.discounts.coupons/js/utils/utils.js R src/org/openbravo/retail/discounts/coupons/PreOrderLoaderHookCoupons.java --- |
(0156936) hgbot (developer) 2023-11-09 09:25 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/23 [^] |
(0156937) hgbot (developer) 2023-11-09 09:26 |
Repository: https://gitlab.com/openbravo/ci/mobile-test [^] Changeset: 69e8ad68552061be89a7c698ccd596bd2d4a5eb8 Author: Jorge Wederago <jorge.wederago@openbravo.com> Date: 09-11-2023 08:20:41 URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/69e8ad68552061be89a7c698ccd596bd2d4a5eb8 [^] Related to FR-53618: Update test to match new definitions --- M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/terminals/WebPOSExtModulesLoyaltyTerminalHelper.java M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_coupons/I40243_ScanCouponsToAddRemoveFromTicket.java --- |
(0156938) hgbot (developer) 2023-11-09 09:26 |
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/344 [^] |
(0156939) hgbot (developer) 2023-11-09 09:26 |
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/103 [^] |
(0156940) hgbot (developer) 2023-11-09 09:26 |
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata [^] Changeset: 59ddbf0cb0cde855043d8a7d7f0f8c51e7ff22c2 Author: Jorge Wederago <jorge.wederago@openbravo.com> Date: 09-11-2023 08:20:37 URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/commit/59ddbf0cb0cde855043d8a7d7f0f8c51e7ff22c2 [^] Related to FR-53618: Update coupons sampledata to match new coupons model --- M referencedata/sampledata/The_White_Valley_Group/OBDISCP_COUPON.xml --- |
(0156941) hgbot (developer) 2023-11-09 09:26 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.burn.coupon [^] Changeset: c48726b6362c4653eb93c1cb480fb08c8a58d326 Author: Jorge Wederago <jorge.wederago@openbravo.com> Date: 30-10-2023 10:59:53 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.burn.coupon/-/commit/c48726b6362c4653eb93c1cb480fb08c8a58d326 [^] Related to FR-53618: Adapting the code to the new coupon model --- M src/org/openbravo/loyalty/burn/coupon/util/GenerateCouponUtils.java --- |
(0156942) hgbot (developer) 2023-11-09 09:26 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.burn.coupon/-/merge_requests/7 [^] |
(0156943) hgbot (developer) 2023-11-09 09:26 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/25 [^] |
(0156944) hgbot (developer) 2023-11-09 09:26 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf [^] Changeset: e7b19c6569e20cc2b7ba2d65c7f014dcbff1d22c Author: Jorge Wederago <jorge.wederago@openbravo.com> Date: 09-11-2023 08:20:33 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/commit/e7b19c6569e20cc2b7ba2d65c7f014dcbff1d22c [^] Related to FR-53618: Adapting the code to the new coupon model --- M src/org/openbravo/retail/discounts/coupons/otf/OrderLoaderHookOTFCoupons.java --- |
(0156999) hgbot (developer) 2023-11-10 07:59 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons [^] Changeset: d0880575a923cc8f827442b89cdafcf6ba0f12b3 Author: Antonio Moreno <antonio.moreno@openbravo.com> Date: 10-11-2023 07:59:35 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/commit/d0880575a923cc8f827442b89cdafcf6ba0f12b3 [^] Related to ISSUE-53618: Added element as it was used by other modules --- M src-db/database/sourcedata/AD_ELEMENT.xml --- |
(0157003) hgbot (developer) 2023-11-10 08:31 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.codegenerator [^] Changeset: d0e58fa8934e545173deddfc18194e8789c56ce1 Author: Antonio Moreno <antonio.moreno@openbravo.com> Date: 10-11-2023 08:31:04 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.codegenerator/-/commit/d0e58fa8934e545173deddfc18194e8789c56ce1 [^] Related to ISSUE-53618: Adapted module to new usage API --- M src/org/openbravo/retail/discounts/coupons/codegenerator/CodeGenerator.java --- |
(0157009) hgbot (developer) 2023-11-10 09:06 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.codegenerator [^] Changeset: 1fcc9e150b01a7674daad26e83db25ffd2deb6f8 Author: Antonio Moreno <antonio.moreno@openbravo.com> Date: 10-11-2023 09:06:38 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.codegenerator/-/commit/1fcc9e150b01a7674daad26e83db25ffd2deb6f8 [^] Related to ISSUE-53618: Removed unused variable --- M src/org/openbravo/retail/discounts/coupons/codegenerator/CodeGenerator.java --- |
(0157050) hgbot (developer) 2023-11-10 23:09 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons [^] Changeset: 2779e2f2fd7ff53a0c7f388f61951e11e5b0e01b Author: Antonio Moreno <antonio.moreno@openbravo.com> Date: 10-11-2023 23:09:27 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/commit/2779e2f2fd7ff53a0c7f388f61951e11e5b0e01b [^] Related to ISSUE-53618: Removed unused element --- M src-db/database/sourcedata/AD_ELEMENT.xml --- |
(0157051) hgbot (developer) 2023-11-10 23:10 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.codegenerator [^] Changeset: 371fcfbf0e206734bf06e81b9d81fa24dfeab803 Author: Antonio Moreno <antonio.moreno@openbravo.com> Date: 10-11-2023 23:09:59 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.codegenerator/-/commit/371fcfbf0e206734bf06e81b9d81fa24dfeab803 [^] Related to ISSUE-53618: Added referenced element --- M src-db/database/sourcedata/AD_ELEMENT.xml --- |
(0157119) hgbot (developer) 2023-11-14 07:15 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.codegenerator [^] Changeset: 879f0c887f8c4428698b2848f562ed17f5282dfa Author: Jorge Wederago <jorge.wederago@openbravo.com> Date: 14-11-2023 15:15:03 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.codegenerator/-/commit/879f0c887f8c4428698b2848f562ed17f5282dfa [^] Related to ISSUE-53618: Code updated to be compatible with the new API --- M src-db/database/sourcedata/AD_ELEMENT.xml M src-db/database/sourcedata/OBUIAPP_PARAMETER.xml M src/org/openbravo/retail/discounts/coupons/codegenerator/CodeGenerator.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2023-10-09 09:32 | jorgewederago | New Issue | |
2023-10-09 09:32 | jorgewederago | Assigned To | => Retail |
2023-10-09 09:32 | jorgewederago | Triggers an Emergency Pack | => No |
2023-10-09 09:34 | jorgewederago | Status | new => acknowledged |
2023-10-09 09:34 | jorgewederago | Status | acknowledged => scheduled |
2023-10-11 02:28 | hgbot | Note Added: 0155755 | |
2023-10-17 03:24 | jorgewederago | Assigned To | Retail => jorgewederago |
2023-10-30 03:01 | hgbot | Note Added: 0156457 | |
2023-10-30 03:01 | hgbot | Note Added: 0156458 | |
2023-10-31 06:35 | hgbot | Note Added: 0156507 | |
2023-10-31 06:52 | hgbot | Note Added: 0156508 | |
2023-11-03 11:36 | andre_montenegro | Relationship added | related to 0053845 |
2023-11-09 09:25 | hgbot | Resolution | open => fixed |
2023-11-09 09:25 | hgbot | Status | scheduled => closed |
2023-11-09 09:25 | hgbot | Note Added: 0156934 | |
2023-11-09 09:25 | hgbot | Note Added: 0156935 | |
2023-11-09 09:25 | hgbot | Note Added: 0156936 | |
2023-11-09 09:26 | hgbot | Note Added: 0156937 | |
2023-11-09 09:26 | hgbot | Note Added: 0156938 | |
2023-11-09 09:26 | hgbot | Note Added: 0156939 | |
2023-11-09 09:26 | hgbot | Note Added: 0156940 | |
2023-11-09 09:26 | hgbot | Note Added: 0156941 | |
2023-11-09 09:26 | hgbot | Note Added: 0156942 | |
2023-11-09 09:26 | hgbot | Note Added: 0156943 | |
2023-11-09 09:26 | hgbot | Note Added: 0156944 | |
2023-11-10 07:59 | hgbot | Note Added: 0156999 | |
2023-11-10 08:31 | hgbot | Note Added: 0157003 | |
2023-11-10 09:06 | hgbot | Note Added: 0157009 | |
2023-11-10 23:09 | hgbot | Note Added: 0157050 | |
2023-11-10 23:10 | hgbot | Note Added: 0157051 | |
2023-11-14 07:15 | hgbot | Note Added: 0157119 |
Copyright © 2000 - 2009 MantisBT Group |