Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

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

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
migrationmigrateodooV8openupgradeodoo12
7 Antwoorden
21653 Weergaven
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
Annuleer
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
Beste antwoord


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
Annuleer
shalin wilson

migate.py file has removed from OCA github.

Marcus
Auteur

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
Auteur Beste antwoord

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
Annuleer
Avatar
Víctor Arenas
Beste antwoord

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
Annuleer
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

Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
OpenUpgrade and filestore managment
migration odooV8 openupgrade
Avatar
Avatar
1
mrt. 23
6452
(CE) Openupgrade 11 --> 12 Manual Migration Opgelost
migration migrate openupgrade
Avatar
Avatar
Avatar
5
okt. 22
14299
odoo[13]:When I migrate the odoo12 module into the odoo13 at that time show some errors. Opgelost
migration migrate migrations odoo12 Odoo13.0
Avatar
Avatar
1
aug. 22
7439
odoo[13]:Migration time error form V12 to V13.
migration migrate migrations odoo12 Odoo13.0
Avatar
Avatar
1
apr. 20
4376
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
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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