Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

(CE) OpenUpgrade V11 --> V12 under docker environnement

Subscriure's

Get notified when there's activity on this post

This question has been flagged
migrationmanualopenupgradeDocker
6807 Vistes
Avatar
Anatole

Hello,

I am under the CE version of odoo 11 and I want to upgrade to version 12. I'm under a docker environment and I use pgadmin 10. I would like to point out that I am far from being an expert, I have only known odoo for a short time. Some things I do may be absurd, have some compassion for an odoo beginner who has to do his migration o:)

To carry out this migration I followed the instructions of Odoo Tools in this issue:
https://www.odoo.com/fr_EN/forum/aide-1/question/ce-openupgrade-11-12-manual-migration-150884
Before creating a copy of my production database and migrating it, I created a test database with the demo data and only the CRM module installed.

It is currently not possible to use the migrate.py script to perform the migration, so it must be done "manually". To do this, you must run odoo with the openupgrade code (which is a duplicate of odoo with integrated migration scripts) and when the migration is performed, restart the migrated database with an odoo 12.
Am I all right so far?

Here are the operations I perform:
- I connect to the docker container
# docker exec -ti -u0[id] bash
- I modify the parameters of my odoo.conf (/etc/odoo/odoo/odoo.conf)
db_host = db
db_port = 5432
db_user = odoo
db_password = ****

- I install on my container (/usr/lib/python3/dist-packages) the openupgrade directory (https://github.com/OCA/OpenUpgrade)
# git clone https://github.com/OCA/OpenUpgrade.git

- I copy the content of OpenUpgrade/odoo/ into the odoo code (in order to be able to use the openupgrade code to launch my odoo) 

odoo is installed from docker and the directories are scattered all over the server. Here I (it seems to me) identified the modified files in openupgrade compared to odoo and imported the files to the right places :
# cp -r OpenUpgrade/odoo/* odoo/
# cp -r OpenUpgrade/odoo/addons/* odoo/addons/

- I install openupgrade from git (to get the latest version)
# apt-get install git
# pip3 install git+https://github.com/OCA/openupgradelib

- I go to my browser and try to launch odoo. I select my database version 11. Several errors appeared, I managed to fix them.
There is still a mistake that bothers me:
AttributeError: "ir.ui.menu" object has no attribute "parent_path

This error is run from a python script of odoo (not openupgrade) at this location:
https://github.com/odoo/odoo/blob/12.0/odoo/osv/expression.py#L757

the attribute "parent_path" is present in the table "ir_ui_menu" of an odoo V12 database but not in an odoo V11 database. I can still use my test database with version 11 but not with version 12, so it seems clear to me that the migration didn't work, I have to do something wrong but what? Can someone point me in the right direction or point out my mistake in this process?​

Thank you for the time you will take to answer me, once this migration is completed I will make sure to describe as precisely as possible all the operations performed so that it can help another person.

Sincerely, 

Anatole

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

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

Registrar-se
Related Posts Respostes Vistes Activitat
Asset Management migration V12.0 to new versions
migration openupgrade
Avatar
0
de maig 23
3075
How to set up 2 OpenUpgrade Servers Solved
migration openupgrade
Avatar
1
d’ag. 19
5344
Error openupgrade hr module
migration openupgrade
Avatar
Avatar
1
de març 15
6404
Database Migration error from Odoo 14 to 15(Community) using Openeupgrade.
migration openupgrade databasemigration
Avatar
Avatar
1
de maig 25
3005
Openupgrade - im trying to migrate odoo 14 to odoo 15 with openupgrade.
migration openupgrade OpenUpgrade
Avatar
Avatar
1
d’abr. 25
3174
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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