Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051203Retail ModulesWeb POSpublic2022-12-20 12:132022-12-23 12:47
Aaron_Alvarez 
Aaron_Alvarez 
highmajorN/A
closedfixed 
5
 
RR23Q1 
gorka_gil
No
0051203: Discounts applicationMethod module script missing updated now
In 22Q4 it was introduced the application method for discounts.

When updating from previous version to this version or later, there is a module script that will copy the application method from the discount type to the discount.

This module script is missing to update the "update" field, this makes that the changes will not appear in an incremental refresh. The changes will only appear with a full refresh.
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/blob/master/src-util/modulescript/src/org/openbravo/retail/discounts/modulescript/FixApplicationMethod_data.xsql [^]
Open this file and check that the module script is not doing updated=now()
No tags attached.
depends on backport 0051204RR22Q4.2 closed Aaron_Alvarez Discounts applicationMethod module script missing updated now 
Issue History
2022-12-20 12:13Aaron_AlvarezNew Issue
2022-12-20 12:13Aaron_AlvarezAssigned To => Aaron_Alvarez
2022-12-20 12:13Aaron_AlvarezTriggers an Emergency Pack => No
2022-12-20 12:14Aaron_AlvarezStatusnew => scheduled
2022-12-20 16:21hgbotNote Added: 0144843
2022-12-23 12:46hgbotNote Added: 0144966
2022-12-23 12:46hgbotNote Added: 0144967
2022-12-23 12:47gorka_gilStatusscheduled => resolved
2022-12-23 12:47gorka_gilFixed in Version => RR23Q1
2022-12-23 12:47gorka_gilResolutionopen => fixed
2022-12-23 12:47gorka_gilReview Assigned To => gorka_gil
2022-12-23 12:47gorka_gilStatusresolved => closed

Notes
(0144843)
hgbot   
2022-12-20 16:21   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/82 [^]
(0144966)
hgbot   
2022-12-23 12:46   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/82 [^]
(0144967)
hgbot   
2022-12-23 12:46   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: 292e010ca2e425e3b86efcecf81b3123607902b5
Author: Aaron Alvarez <aaron.alvarez@openbravo.com>
Date: 20-12-2022 17:08:29
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/292e010ca2e425e3b86efcecf81b3123607902b5 [^]

Fix ISSUE-51203: Now it updates the column

---
M build/classes/org/openbravo/retail/discounts/modulescript/FixApplicationMethodData.class
M src-util/modulescript/src/org/openbravo/retail/discounts/modulescript/FixApplicationMethod_data.xsql
---