Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0050891Openbravo ERP04. Warehouse managementpublic2022-11-14 17:412022-11-17 12:11
normalminorhave not tried
0050891: Check and remove obsolete CostingMigration related modulescript
Issue 41421 from 20Q1 deleted the old costing engine + the code to migrate to the new engine.
Instead it added a new buildvalidation to validate the migration was done before updating.

This commit: [^]

Document that the modeulscript InitializeCostingMigrationPreference was deleted.
However it only deleted the .java + .xsql source files but left the compiled .class file present.
So that modulescript is still technically there and running today.

Probably just leftover to validate and remove as it was intended in issue 41421.
find . -name InitializeCostingMigrationPreference*
- Notice 2 .class file are found but none of the related sources (.java + .xsql) are present
- Look at commit referenced above
Double check original 41421 intention and remove the leftover of the modulescript.
No tags attached.
related to feature request 00414213.0PR20Q1 closed AtulOpenbravo Unsupport legacy cost engine 
related to feature request 0030706 new  Remove or update modulescripts which need to be executed always 
Issue History
2022-11-14 17:41shuehnerNew Issue
2022-11-14 17:41shuehnerAssigned To => Triage Omni WMS
2022-11-14 17:41shuehnerModules => Core
2022-11-14 17:41shuehnerTriggers an Emergency Pack => No
2022-11-14 17:41shuehnerRelationship addedrelated to 0041421
2022-11-14 17:43shuehnerNote Added: 0143597
2022-11-14 17:44shuehnerRelationship addedrelated to 0030706
2022-11-14 18:05vmromanosAssigned ToTriage Omni WMS => Triage Omni OMS
2022-11-16 16:30hgbotNote Added: 0143725
2022-11-17 12:09hgbotNote Added: 0143777
2022-11-17 12:09hgbotResolutionopen => fixed
2022-11-17 12:09hgbotStatusnew => closed
2022-11-17 12:09hgbotFixed in Version => PR23Q1
2022-11-17 12:09hgbotNote Added: 0143778
2022-11-17 12:11aferrazAssigned ToTriage Omni OMS => shuehner

2022-11-14 17:43   
Issue 30706 references the modulescript by test to be reviewed.
If it is being deleted in this issue 30706 should be updated to remove the reference.
2022-11-16 16:30   
Merge Request created: [^]
2022-11-17 12:09   
Merge request merged: [^]
2022-11-17 12:09   
Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: 65d14ea6e2f6aaa9493daa0730c4edb50c5c0b57
Author: Stefan Huehner <>
Date: 17-11-2022 11:09:51
URL: [^]

Fixes ISSUE-50891. Remove obsolete InitializeCostingMigrationPreference

R src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeCostingMigrationPreference.class
R src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeCostingMigrationPreferenceData.class