Openbravo Issue Tracking System - POS2
View Issue Details
0053953POS2POSpublic2023-11-16 08:062024-07-11 04:32
jorgewederago 
jorgewederago 
highmajoralways
closedfixed 
5
 
 
No
0053953: It is not possible to upgrade clients with previous versions of Coupons to the newest version
When upgrading an environment with an old version of the Coupons module several errors are raised
1.-Have an old environment with coupons installed
2.-Make sure that coupons are created in the old version
3.-Upgrade the environment to the newest version
No tags attached.
Issue History
2023-11-16 08:06jorgewederagoNew Issue
2023-11-16 08:06jorgewederagoAssigned To => Retail
2023-11-16 08:06jorgewederagoTriggers an Emergency Pack => No
2023-11-16 08:06jorgewederagoStatusnew => scheduled
2023-11-16 08:06jorgewederagoAssigned ToRetail => jorgewederago
2023-11-17 06:25hgbotNote Added: 0157263
2023-12-26 07:23hgbotResolutionopen => fixed
2023-12-26 07:23hgbotStatusscheduled => closed
2023-12-26 07:23hgbotNote Added: 0158583
2023-12-26 07:23hgbotNote Added: 0158584
2023-12-26 07:23hgbotNote Added: 0158585
2023-12-27 06:45hgbotNote Added: 0158619
2024-07-11 04:32nanifaNote Added: 0166881

Notes
(0157263)
hgbot   
2023-11-17 06:25   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/31 [^]
(0158583)
hgbot   
2023-12-26 07:23   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons [^]
Changeset: 92d0c38ce9b396a6e16528979a479fea9aeff599
Author: Jorge Wederago <jorge.wederago@openbravo.com>
Date: 22-12-2023 13:10:51
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/commit/92d0c38ce9b396a6e16528979a479fea9aeff599 [^]

Fixed ISSUE-53953: It is not possible to upgrade clients with previous versions of Coupons to the newest version
*Restoring oneUse column
*Setting oneUse to deprecated and inactive
*Fixed an issue in the modulescript

---
M build/classes/org/openbravo/retail/discounts/coupons/modulescript/ModuleScriptCouponUses.class
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-util/modulescript/src/org/openbravo/retail/discounts/coupons/modulescript/ModuleScriptCouponUses.java
---
(0158584)
hgbot   
2023-12-26 07:23   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons [^]
Changeset: 793c126bc2759ec616e00d3e74e816325d0d9e8c
Author: Aaron Calero <aaron.calero@openbravo.com>
Date: 22-12-2023 13:10:51
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/commit/793c126bc2759ec616e00d3e74e816325d0d9e8c [^]

Related to ISSUE-53953: Changed foreign key name

---
M src-db/database/model/tables/OBDISCP_USAGE.xml
---
(0158585)
hgbot   
2023-12-26 07:23   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/31 [^]
(0158619)
hgbot   
2023-12-27 06:45   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata [^]
Changeset: 2c407be76c10585fd3dc2e37cd24429be481f4f1
Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com>
Date: 27-12-2023 11:14:47
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/commit/2c407be76c10585fd3dc2e37cd24429be481f4f1 [^]

Related to ISSUE-53953: Added sampledata for Coupon Oneuse column

---
M referencedata/sampledata/The_White_Valley_Group/OBDISCP_COUPON.xml
---
(0166881)
nanifa   
2024-07-11 04:32   
In connection with FR-53671: Transfer API definitions and events to the appropriate moduleAdditionally, infinite coupons ought to cause API events. https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1308 [^] https://basketrandom.io [^]