Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051204Retail ModulesWeb POSpublic2022-12-20 12:132022-12-23 12:47
Aaron_Alvarez 
Aaron_Alvarez 
highmajorN/A
closedfixed 
5
 
RR22Q4.2RR22Q4.2 
gorka_gil
No
0051204: 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.
blocks defect 0051203 closed Aaron_Alvarez Discounts applicationMethod module script missing updated now 
Issue History
2022-12-20 12:14Aaron_AlvarezTypedefect => backport
2022-12-20 12:14Aaron_AlvarezTarget Version => RR22Q4.2
2022-12-20 15:06hgbotNote Added: 0144841
2022-12-23 12:47hgbotNote Added: 0144968
2022-12-23 12:47hgbotNote Added: 0144969
2022-12-23 12:47gorka_gilStatusscheduled => resolved
2022-12-23 12:47gorka_gilFixed in Version => RR22Q4.2
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
(0144841)
hgbot   
2022-12-20 15:06   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/81 [^]
(0144968)
hgbot   
2022-12-23 12:47   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: c2d0e7fccd5f70e32e9c891a2a5c08b761d5841b
Author: Aaron Alvarez <aaron.alvarez@openbravo.com>
Date: 20-12-2022 17:12:27
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/c2d0e7fccd5f70e32e9c891a2a5c08b761d5841b [^]

Fix ISSUE-51204: Now it updates the updated column

---
M build/classes/org/openbravo/retail/discounts/modulescript/FixApplicationMethodData.class
M src-util/modulescript/src/org/openbravo/retail/discounts/modulescript/FixApplicationMethod_data.xsql
---
(0144969)
hgbot   
2022-12-23 12:47   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/81 [^]