2006-12-14 16:00:46 +00:00
|
|
|
This document describes the steps to follow to migrate from a version 3.4.0 of Tiny ERP server to a version 4.0.0
|
|
|
|
|
|
|
|
Warning: the migration scripts involved in this migration are only meant for
|
|
|
|
a standard Tiny ERP installation. It might not work or even break some data
|
|
|
|
if you added or modified some code to the default Tiny ERP distribution.
|
|
|
|
|
|
|
|
To migrate a 3.4.0 server to version 4.0.0 you should:
|
|
|
|
|
2006-12-19 06:49:24 +00:00
|
|
|
- run "update module list" in tinyERP server 3.4.0 from the administration menu
|
|
|
|
|
2006-12-14 16:00:46 +00:00
|
|
|
- stop Tiny ERP server 3.4.0
|
|
|
|
|
|
|
|
- backup your database
|
|
|
|
For example: pg_dump terp340 > backup340.sql
|
|
|
|
|
|
|
|
- run the pre.py script (located in this directory)
|
|
|
|
You might need to pass it some optional arguments so that it can connect
|
|
|
|
to the database.
|
|
|
|
|
|
|
|
For example: python pre.py -d terp340
|
|
|
|
|
|
|
|
- run TinyERP server 4.0.0 with "-d terp340 -u all" in the parameters
|
|
|
|
For example: ./tinyerp-server.py -d terp340 -u all
|
|
|
|
|
|
|
|
- stop TinyERP server 4.0.0
|
|
|
|
|
|
|
|
- you are ready to work with the new version.
|