Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

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

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
migrationmigrateodooV8openupgradeodoo12
7 Respuestas
21651 Vistas
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
Descartar
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
Mejor respuesta


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

migate.py file has removed from OCA github.

Marcus
Autor

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
Autor Mejor respuesta

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
Descartar
Avatar
Víctor Arenas
Mejor respuesta

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

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
OpenUpgrade and filestore managment
migration odooV8 openupgrade
Avatar
Avatar
1
mar 23
6452
(CE) Openupgrade 11 --> 12 Manual Migration Resuelto
migration migrate openupgrade
Avatar
Avatar
Avatar
5
oct 22
14299
odoo[13]:When I migrate the odoo12 module into the odoo13 at that time show some errors. Resuelto
migration migrate migrations odoo12 Odoo13.0
Avatar
Avatar
1
ago 22
7438
odoo[13]:Migration time error form V12 to V13.
migration migrate migrations odoo12 Odoo13.0
Avatar
Avatar
1
abr 20
4374
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
abr 20
9
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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