Openbravo Issue Tracking System - Retail Modules
View Issue Details
0052681Retail ModulesWeb POSpublic2023-06-06 14:162023-06-07 12:34
montse_cabanas 
Retail 
normalmajorsometimes
closedfixed 
5
 
RR23Q3 
No
0052681: Configuration to allow mix and positive lines is overwrriten by module script after each deploy of code
Configuration to allow mix and positive lines is overwrriten by module script after each deploy that obliges to put again the config

 

update ad_org set em_obpos_rulessalesreturnlines = 'Z', updated = 'N' where em_obpos_rulessalesreturnlines = 'N';



Have configuration in ORGANIZATION with a configuraiton of Mix Positive Negative Lines allowd with Amount = 0 (value em_obpos_rulessalesreturnlines = 'Z')

Do a code deploy: the modulescript changes this value to em_obpos_rulessalesreturnlines = 'N'
No tags attached.
depends on feature request 0051928 closed montse_cabanas [SALES] [VERIFIED RETURN] : It is not possible to exchange a product (mix positive and negative lines) 
Issue History
2023-06-06 14:16montse_cabanasNew Issue
2023-06-06 14:16montse_cabanasAssigned To => Retail
2023-06-06 14:16montse_cabanasTriggers an Emergency Pack => No
2023-06-06 14:16montse_cabanasRelationship addeddepends on 0051928
2023-06-06 14:23hgbotNote Added: 0150815
2023-06-07 12:05aferrazTypedesign defect => defect
2023-06-07 12:34hgbotResolutionopen => fixed
2023-06-07 12:34hgbotStatusnew => closed
2023-06-07 12:34hgbotFixed in Version => RR23Q3
2023-06-07 12:34hgbotNote Added: 0150881
2023-06-07 12:34hgbotNote Added: 0150882

Notes
(0150815)
hgbot   
2023-06-06 14:23   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1228 [^]
(0150881)
hgbot   
2023-06-07 12:34   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: a5e0028f429d2394911971b68121a6730d2e3a6a
Author: Montserrat CabaƱas <montserrat.cabanas@openbravo.com>
Date: 07-06-2023 10:34:25
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/a5e0028f429d2394911971b68121a6730d2e3a6a [^]

Fixes ISSUE-52681: Run module script update only if it was not run before

---
M build/classes/org/openbravo/retail/posterminal/modulescript/UpdateRulesForReturnsData.class
M src-util/modulescript/src/org/openbravo/retail/posterminal/modulescript/UpdateRulesForReturns_Data.xsql
---
(0150882)
hgbot   
2023-06-07 12:34   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1228 [^]