<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.infinite-erp.co.id/index.php?action=history&amp;feed=atom&amp;title=Upgrading_From_2.50</id>
	<title>Upgrading From 2.50 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.infinite-erp.co.id/index.php?action=history&amp;feed=atom&amp;title=Upgrading_From_2.50"/>
	<link rel="alternate" type="text/html" href="https://wiki.infinite-erp.co.id/index.php?title=Upgrading_From_2.50&amp;action=history"/>
	<updated>2026-04-06T21:46:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.infinite-erp.co.id/index.php?title=Upgrading_From_2.50&amp;diff=1524&amp;oldid=prev</id>
		<title>Wikiadmin: Created page with &quot;== Overview ==  {{(!)|This feature is available from '''2.50MP31'''}}  This document explains how to upgrade from 2.50 to 3.0 using Openbravo UI.   It is the recommended upgra...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.infinite-erp.co.id/index.php?title=Upgrading_From_2.50&amp;diff=1524&amp;oldid=prev"/>
		<updated>2021-11-18T00:35:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Overview ==  {{(!)|This feature is available from &amp;#039;&amp;#039;&amp;#039;2.50MP31&amp;#039;&amp;#039;&amp;#039;}}  This document explains how to upgrade from 2.50 to 3.0 using Openbravo UI.   It is the recommended upgra...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
{{(!)|This feature is available from '''2.50MP31'''}}&lt;br /&gt;
&lt;br /&gt;
This document explains how to upgrade from 2.50 to 3.0 using Openbravo UI. &lt;br /&gt;
&lt;br /&gt;
It is the recommended upgrade path. Alternatively, it is also possible to manually [[Manual_Upgrade_From_2.50|upgrade from sources]], this second way is not generally recommended and should be only executed by experienced developers.&lt;br /&gt;
&lt;br /&gt;
== Upgrade to 3.0 ==&lt;br /&gt;
&lt;br /&gt;
{{(!)|It is important to execute upgrade process first in the test environment, verify application works and only after it repeat upgrade for the production system.&lt;br /&gt;
It is recommended to use [[Release_Management/Testing_environments/Production_to_testing_replication_tool_user_manual | Production to testing replication tool]] to clone production environment into a testing environment.}}&lt;br /&gt;
&lt;br /&gt;
Upgrade process is launched in the same way module update is done, through MMC in the application (''General Setup || Application || Module Management  ||  Module Management'') by clicking the ''Scan for Updates'' button. At this moment, it is looked in for the latest version of the installed modules and for the existence of new major versions of core. &lt;br /&gt;
&lt;br /&gt;
In case there is a new major version available for core, the ''upgrade'' flow can be started by clicking on the ''Install upgrade now'' link in the yellow box in top of modules box. &lt;br /&gt;
&lt;br /&gt;
New versions for upgrade are detected taking into account module maturities (same as for updates), so only in case there is an Openbravo 3 version with at least the minimum maturity accepted, it will not be shown in as upgrade available. Even in 2.50 Community instances are allowed to restrict to ''Confirmed Stable'' maturity, from Openbravo 3 they are allowed to restrict to ''QA Approved'' level at most, this last level is taken into account for upgrade of Community instances in case ''Confirmed Stable'' is in set, which is still used for updates.&lt;br /&gt;
&lt;br /&gt;
Note that ''upgrade'' and ''update'' are two different flows that can be executed independently. This means that even there is an upgrade for Openbravo 3, it is still allowed not to upgrade but to install newer versions of Openbravo 2.50.&lt;br /&gt;
&lt;br /&gt;
[[ Image:Upgrade_Available.png|600px|center ]]&lt;br /&gt;
&lt;br /&gt;
{{(!)|Due to issue ''17889'' some instances using ''Advanced Payables and Receivables Management'' (APRM) module might not be able to upgrade their instance to Openbravo 3. Only instances that have used or are using the 1.0.15 version of the APRM module can be affected. It is highly recommended to upgrade to the latest APRM version before upgrading. To be able to migrate affected instances make sure that all alerts of the ''Wrong payment plan on invoiced orders'' alert rule have been fixed.}}&lt;br /&gt;
&lt;br /&gt;
The upgrade process implies the following steps:&lt;br /&gt;
&lt;br /&gt;
=== Information Window ===&lt;br /&gt;
&lt;br /&gt;
Just after starting the process, a window with detailed information about the upgrade is shown. Please, do not continue unless you completely understand and agree with the topics stated there.&lt;br /&gt;
&lt;br /&gt;
[[ Image:Upgrade - Info Window.png | 500px | center ]]&lt;br /&gt;
&lt;br /&gt;
=== Extend Module Dependencies ===&lt;br /&gt;
&lt;br /&gt;
'''Dependencies Validation'''&lt;br /&gt;
&lt;br /&gt;
In order to be able to successfully upgrade, it is needed all modules in the instance are Openbravo 3 compatible. At this point, this is verified remotely. It is checked that all the modules in the instance are already compatible with Openbravo 3 and in case they are not it checks whether a newer version of this module is compatible.&lt;br /&gt;
&lt;br /&gt;
In case there are modules that do no satisfy these requisites a message informing about this fact is displayed. Until these problems are fixed, it will not be allowed to continue to next step.&lt;br /&gt;
&lt;br /&gt;
[[ Image:Upgrade - Errors.png | 500px | center ]]&lt;br /&gt;
&lt;br /&gt;
There are two possible cases of error:&lt;br /&gt;
&lt;br /&gt;
*'''Maturity level problems''': In case the installed version of a module is not compatible with Openbravo 3 and there is a newer published version, but this version is in a [[ERP/3.0/Configuration_Manual/Modules_Management#Maturity_Status|maturity level]] lower than the one accepted in the instance, this message is shown. At this point you can wait until module owner promotes the new version to a level that is accepted in your instance; or you can relax the maturity level you accept for updates to, at least, the one the new version is published in. Maturity level are configured in ''Settings'' tab of ''Module Management'' window.&lt;br /&gt;
*'''Dependency problems''': It occurs when the installed module does not define a dependency compatible with Openbravo 3 and there is not a published version of this module that defines it. If the incompatible modules are developed third parties, you might consider contacting their maintainers to publish new versions or uninstalling them; note that if you uninstall the modules you '''irreversible will lose data''' saved within in them. You should extend dependencies for all the modules owned by yourself, this is: the ones for configuring the instance (such as your template) and all the ones implemented by you. Extending dependencies is a simple task that can be done following the steps bellow, for further information about extension of dependencies and module migration you can read [[ERP/2.50/Developers_Guide/Concepts/How_to_Migrate_2.50_Modules_to_3.0|How to Migrate 2.50 Modules to 3.0]] document.&lt;br /&gt;
**Open ''Module'' window and select the module that is not compatible with Openrbavo 3 and set is as ''In Development''.&lt;br /&gt;
**Go to its ''Dependency'' tab and look for its dependency to the module that makes it not Openbravo 3 compatible (usually ''Core'').&lt;br /&gt;
**Extend this dependency by completing the ''Last Version'' field with the correct version. In the case of Core, 3.0.0.&lt;br /&gt;
**After fixing all your modules persist database information to xml files by executing ''ant export.database''.&lt;br /&gt;
&lt;br /&gt;
=== Installation &amp;amp; Build ===&lt;br /&gt;
&lt;br /&gt;
The following steps are the same ones that are the one taken for standard module update. Consisting in installing the modules that are downloaded from Central Repository and rebuilding the system to apply the new changes.&lt;br /&gt;
&lt;br /&gt;
[[ Image:Upgrade - Install.png | 500px | center ]]&lt;br /&gt;
&lt;br /&gt;
There are just some particularities in the modules that are pulled.&lt;br /&gt;
&lt;br /&gt;
==== Distribution ====&lt;br /&gt;
&lt;br /&gt;
Unlike 2.50, Openbravo 3 is a distribution of modules. &lt;br /&gt;
&lt;br /&gt;
Openbravo 2.50 is a single ''Core'' module that provides all UI and ERP functionality in top of which it is possible to install additional modules to extend it.&lt;br /&gt;
&lt;br /&gt;
Openbravo 3 is a distribution of modules. This means not only ''Core'' is part of it, but there are many other modules that make Openbravo 3 together. In the same way as in Openbravo 2.50, on top of Openbravo 3 distribution it is possible to install optional module to extend functionality. When installing the upgrade, you will notice that all these modules are installed together with ''Core''.&lt;br /&gt;
&lt;br /&gt;
==== Advanced Payables and Receivables ====&lt;br /&gt;
&lt;br /&gt;
Openbravo 3 uses a new flow to manage payables and receivables: ''Advanced Payables and Receivables Management'' (APRM). Which is distributed as a module part of Openbravo 3 distribution and as an optional commercial module for Openbravo 2.50.&lt;br /&gt;
&lt;br /&gt;
In Openbravo 2.50 is possible for commercial instances to use ''APRM'' flow, in this case the upgrade process does not do anything with ''APRM''.&lt;br /&gt;
&lt;br /&gt;
When upgrading instances that do not use ''APRM'', ''APRM'' and ''APR Migration Tool'' modules are installed during the process. After upgrading, it will be required to run the migration. You can find more details on how to do so [[Projects/APR_Migration_Tool/User_Manual | here]].&lt;br /&gt;
&lt;br /&gt;
Before running the upgrade process, in order to validate a successful migration of the payables and receivables management, use 'old' Payment Report in order to get a picture of all the outstanding payments grouped by business partner.&lt;br /&gt;
You should first query for receivables and then for payables. Save both in pdf format, it will allow to compare the result after the migration.&lt;br /&gt;
&lt;br /&gt;
[[Image:APRMT_OldPaymentReportFilters.png|frame|none|Old payment report]]&lt;br /&gt;
&lt;br /&gt;
==== Latest Versions ====&lt;br /&gt;
&lt;br /&gt;
Upgrade process, does not only upgrade Openbravo to 3, but it also updates all modules to their latest version.&lt;br /&gt;
&lt;br /&gt;
During the upgrade process, all the latest versions of all the modules installed in the instance are tried to be installed (if they are compatible and their maturity level is accepted).&lt;br /&gt;
&lt;br /&gt;
In case of modules that are discontinued because are merged within another module. The module that defines the merge is installed and the discontinued one is uninstalled.&lt;br /&gt;
&lt;br /&gt;
==== Cleanup Project ====&lt;br /&gt;
&lt;br /&gt;
Several deprecated components in Openbravo code have been removed from the system as they are no longer needed by the core deprecation. In anticipation of a modified Openbravo 2.50 instance using a deprecated component we have created a module named “Legacy features no longer available in Core” to make the upgrade easier. Those instances should remove any dependency to that module as it is not going to be maintained! Besides a new public module named &amp;quot;Import Data&amp;quot; is also available. This module contains all the components related to the old Import Data Load functionality that is replaced in Openbravo 3 with Initial Data Load module.&lt;br /&gt;
&lt;br /&gt;
For more information on this please take a look at the [http://wiki.openbravo.com/wiki/Projects/CodeCleanupOB3 Code Cleanup] project page.&lt;br /&gt;
&lt;br /&gt;
If ''Legacy features no longer available in Core'' module is needed, it should be installed after the installation of the upgrade but before rebuilding it, making in this way just one rebuild.&lt;br /&gt;
&lt;br /&gt;
=== Last steps ===&lt;br /&gt;
&lt;br /&gt;
Now you have upgraded to Openbravo 3 but there is still some pending work to do.&lt;br /&gt;
&lt;br /&gt;
[[ Image:Upgrade - 3.0 login.png | 350px | center ]]&lt;br /&gt;
&lt;br /&gt;
During this period of time until the upgrade process is completely finished, it is possible to login in Openbravo 3, but just after ''System Administrator'' login, a popup will be shown explaining the next step to be taken. For the rest of roles ''System Under Maintenance'' pop up will be shown.&lt;br /&gt;
&lt;br /&gt;
[[ Image:Upgrade - Maitenance.png | 300px | center ]]&lt;br /&gt;
&lt;br /&gt;
==== Run APRM Migration Tool ====&lt;br /&gt;
&lt;br /&gt;
If APRM was not in use in 2.50, Migration Tool was installed during the upgrade process. Now it must be run before Openbravo 3 is operable. [[#Advanced_Payables_and_Receivables|Here]] you can follow the instructions.&lt;br /&gt;
&lt;br /&gt;
[[ Image:Upgrade - Run APRM.png | 300px | center ]]&lt;br /&gt;
&lt;br /&gt;
Once the migration has been completed successfully we should use the [http://wiki.openbravo.com/wiki/Projects/PaymentReport/User_Documentation new Payment Report] and compare the result with the pdfs saved before upgrading the instance. They should match.&lt;br /&gt;
&lt;br /&gt;
[[Image:APRMT_NewPaymentReportFilters.png|frame|none|New payment report]]&lt;br /&gt;
&lt;br /&gt;
==== Field Layout ====&lt;br /&gt;
&lt;br /&gt;
In generated windows Openbravo 2.50 uses a 2 columns layout whereas Openbravo 3 uses a 4 columns layout. Forms in Openbravo 3 also have new components like Status Bar, More information section and some others. Because of the above fields in standard Openbravo 3 windows have been seriosly '''re-positioned''' in comparison to Openbravo 2.50.&lt;br /&gt;
&lt;br /&gt;
Due to this changes in fields position done through Configuration Templates in 2.50 '''do not make sense''' in Openbravo 3 (field positioning in saved Configuration Script as absolute position in the tab). Therefore '''fields position changes are removed''' from Configuration scripts of Templates exported in 2.50 during upgrade process. &lt;br /&gt;
&lt;br /&gt;
If your instance contains Template(s) not exported within Openbravo 3, you will be notified about this fact after log in as System Admin. You should review that windows your template changes are properly visualized in Openbravo 3 and fix their field positions (if required).&lt;br /&gt;
You can use new [[User_Manual/Window_Personalization | Window Personalization]] feature available in Openbravo 3 to easily change the order and visibility of fields and edit several other settings directly from the form UI itself or let each end-user tune it for themselves.&lt;br /&gt;
After that you can export your configuration script. Note that the fields position change (once again if it is still needed with Openbravo 3 new layout) can be done later at any point in time and you can just export configuration script to continue with the upgrade process. To export it follow these steps, in case you have several templates in your instance repeat them for each template:&lt;br /&gt;
&lt;br /&gt;
*Go to ''Module'' window and set your template in development.&lt;br /&gt;
*In command line execute ''ant export.config.script''&lt;br /&gt;
&lt;br /&gt;
[[ Image:Upgrade - config script.png  | 300px | center ]]&lt;br /&gt;
&lt;br /&gt;
==== Upgrade Completed ====&lt;br /&gt;
&lt;br /&gt;
Now upgrade to Openbravo 3 is completed. You need to verify everything works as expected.&lt;br /&gt;
&lt;br /&gt;
[[ Image:Upgrade - Completed.png | 300px | center ]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Maintenance]]&lt;/div&gt;</summary>
		<author><name>Wikiadmin</name></author>
		
	</entry>
</feed>