Openbravo Issue Tracking System - Retail Modules
View Issue Details
0057217Retail ModulesRetail Configurationpublic2024-11-20 19:442024-11-22 16:44
shuehner 
Retail 
normalminorhave not tried
closedfixed 
5
 
RR25Q1 
No
0057217: Retail Config: Remove some unused ad_message & ad_val_rule entries
Removing usage of application dictionary entries found some unused entries:

ad_message
- OBRETCO_NotStockedWithStatus
- OBRETCO_AssortmentWithStatus

ad_val_rule
- ECC12A5FFD0949FCA5DC26C116C7217F (Price list including taxes)

With any usage they should be removed as:
- not having any purpose
- Each adds to strings to translate for every new translation
Do full text search on both ad_message values
- in code
- in all git clones
- in published modules in forge

=> No usages found
No tags attached.
related to defect 0040201 closed asiermartirena Retail Modules The PLM Status field in the assortment shouldn't be dependent to be stockable 
blocks feature request 0057210 new Triage Platform Base Openbravo ERP Move content of org.openbravo.retail.config module to backoffice/core repo 
Issue History
2024-11-20 19:44shuehnerNew Issue
2024-11-20 19:44shuehnerAssigned To => Retail
2024-11-20 19:44shuehnerTriggers an Emergency Pack => No
2024-11-20 19:45shuehnerRelationship addedblocks 0057210
2024-11-20 19:48shuehnerRelationship addedrelated to 0040201
2024-11-20 19:53hgbotNote Added: 0172372
2024-11-20 19:54hgbotNote Added: 0172373
2024-11-20 20:07shuehnerDescription Updatedbug_revision_view_page.php?rev_id=28809#r28809
2024-11-20 20:14shuehnerSummaryRetail Config: Remove some unused ad_messages => Retail Config: Remove some unused ad_message & ad_val_rule entries
2024-11-22 16:43hgbotNote Added: 0172487
2024-11-22 16:43hgbotNote Added: 0172488
2024-11-22 16:44hgbotNote Added: 0172489
2024-11-22 16:44hgbotResolutionopen => fixed
2024-11-22 16:44hgbotStatusnew => closed
2024-11-22 16:44hgbotFixed in Version => RR25Q1
2024-11-22 16:44hgbotNote Added: 0172490

Notes
(0172372)
hgbot   
2024-11-20 19:53   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-api/-/merge_requests/33 [^]
(0172373)
hgbot   
2024-11-20 19:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/35 [^]
(0172487)
hgbot   
2024-11-22 16:43   
Repository: https://gitlab.com/openbravo/ci/mobile-api [^]
Changeset: a173143e35b2843268a0f2321e66f582f7ce71c8
Author: Stefan Huehner <s.huehner@orisha.com>
Date: 21-11-2024 12:21:23
URL: https://gitlab.com/openbravo/ci/mobile-api/-/commit/a173143e35b2843268a0f2321e66f582f7ce71c8 [^]

ISSUE-57217: Accept API-change

---
M model/modules/org.openbravo.retail.config/src-db/database/sourcedata/AD_MESSAGE.xml
M model/modules/org.openbravo.retail.config/src-db/database/sourcedata/AD_VAL_RULE.xml
---
(0172488)
hgbot   
2024-11-22 16:43   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-api/-/merge_requests/33 [^]
(0172489)
hgbot   
2024-11-22 16:44   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/35 [^]
(0172490)
hgbot   
2024-11-22 16:44   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config [^]
Changeset: d1227a64f1e424aa6c334dc991eb712423847e4b
Author: Stefan Huehner <s.huehner@orisha.com>
Date: 21-11-2024 12:22:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/commit/d1227a64f1e424aa6c334dc991eb712423847e4b [^]

Fixes ISSUE-57217: Remove unused AD_MESSAGE and AD_VAL_RULE entries

AD_MESSAGE:
- Commit 3420ba00 in 2015 added OBRETCO_NotStockedWithStatus message entry
using it in both AssortmentEventHandler & ProductEventHandler files.
- Commmit 363df189 in same day added OBRETCO_AssortmentWithStatus and
swapped out usage of first message in ProductEventHandler.java

Later in 2019 commit 83f8a5e8430adcd9436a20afa95452484d616054 from
mantis issue 40201 removed both eventhandler but left now unused message
in place.

AD_VAL_RULE
Commit 6f97af74 in 2012 added a validation rule to only show price lists
including taxes.
Later commit 1684c5c4bb83f0071a2b45f76c8f290982caf4fb in 2013 remove the
only usage of the validation rule again but left the rule in place.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_VAL_RULE.xml
---