Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

Detailed instruction for migrating Odoo (8->12) with OpenUpgrade

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
migrationmigrateodooV8openupgradeodoo12
7 Besvarelser
21664 Visninger
Avatar
Marcus

I’m preparing myself for migrating old Odoo 8 instance to a new version 12. It should be done in the span of couple next months so there is some time for the preparation. 

I looked up into OpenUpgrade project from OCA:
https://github.com/OCA/OpenUpgrade

But to be honest the documentation over there is really poor and do not explain almost anything (or am I missing something?).
I’m aware that this is difficult process and should be performed by knowledgeable staff but still - the “documentation” does not document anything. And I have the time needed to get to know the procedure and test everything, so it is not like I want to get new version up and running tomorrow.
And from what I know there is some custom stuff in that old instance.

I saw some comments like the one in this topic:
https://www.odoo.com/forum/help-1/question/how-to-do-odoo-database-migration-by-using-https-github-com-oca-openupgrade-122800

But I would really appreciate an actual example. For example on how fill the parameters of the migration script etc.

Is there maybe some manuals or other sources I could read/watch to learn about this stuff? I know this is very broad question but I’m now aware of any other place I could get the knowledge I need.

Thanks

1
Avatar
Kassér
shalin wilson

there are proper documents avail

i have migrated db from 8 to 12 using migrate.py

let me find the doc and i ll share the link here.. just a min

Avatar
shalin wilson
Bedste svar


You can not direct migrate v8 to v12.  First you need to migrate in v9 and then in v10,v11 and V12.

Basically these are the steps :

a) First You need to download two openupgrade libraby,

 1) https://github.com/OCA/OpenUpgrade/tree/8.0

 2) https://github.com/OCA/OpenUpgrade/tree/9.0


b) Install openupgradelib.

 1) Download openupgradelib from https://pypi.python.org/pypi/openupgradelib

 2) Install with command : sudo python setup.py install


c) Run Automated Migration script

 1) Go to specific path of openupgrade where you find 'migrate.py' file

 2) python migrate.py --config=[your openerp.conf] --database=[your database] --run-migrations=[your migrations]

 --config = v9 config file(in which version you want to migrate)

 --database = database which we would like to migrate(installed database)

 --run-migrations = version in which you would like to migration


d) 'migration.log' file is created for error tracking.

e) If any error occured while migration script is running, need to solve explicitly the problem(by psql) and run migration script again.

f) New database is created in v9 'databasename_migrated' with '_migrated'.

copied answer,it ll work. 


5
Avatar
Kassér
shalin wilson

migate.py file has removed from OCA github.

Marcus
Forfatter

From where do I get `[your openerp.conf]` for each version?

shalin wilson

copy paste ur conf change db name like eacy time u add _migrated

Avatar
Marcus
Forfatter Bedste svar

Is it good idea to prepare to migrate to version 13?

I'm asking more experienced users. Like if the support for new Odoo versions is good enough or is it better to stick to old one for longer?



0
Avatar
Kassér
Avatar
Víctor Arenas
Bedste svar

Hi! , i'm in the same situation here. I have to plan all the work for doing the migration from 8 to 12 but we have a lot of custom modules and information.


Any suggestions ?

0
Avatar
Kassér
shalin wilson

db u can migrate using the script, for custom modules u can look for the API changes and change your code according to it

eg- osv ->models

arguments ->self

search returned ids now its recordset.. etc etc

check the documentation for further references

Víctor Arenas

Thanx Shalin ,

One more question , for a process like this where you must do migrations from 8 to 9 , 9 to 10, 10 to 11 and 11 to 12, is necesary to configure an ambience with each of the versions to test de migrated DB ? or only with the successfull log is enough ?

Thanks for all

Víctor

shalin wilson

sorry for late replay,

u dont have to check at each time just get the db done at ur version and do the code change to ur last version

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
OpenUpgrade and filestore managment
migration odooV8 openupgrade
Avatar
Avatar
1
mar. 23
6453
(CE) Openupgrade 11 --> 12 Manual Migration Løst
migration migrate openupgrade
Avatar
Avatar
Avatar
5
okt. 22
14300
odoo[13]:When I migrate the odoo12 module into the odoo13 at that time show some errors. Løst
migration migrate migrations odoo12 Odoo13.0
Avatar
Avatar
1
aug. 22
7446
odoo[13]:Migration time error form V12 to V13.
migration migrate migrations odoo12 Odoo13.0
Avatar
Avatar
1
apr. 20
4382
odoo[13]:When I migrate the odoo12 module into the odoo13 at that time show some errors.
migration migrate migrations odoo12 Odoo13.0
Avatar
0
apr. 20
9
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now