Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

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

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
migrationmanualopenupgradeDocker
6814 Tampilan
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
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
Asset Management migration V12.0 to new versions
migration openupgrade
Avatar
0
Mei 23
3087
How to set up 2 OpenUpgrade Servers Diselesaikan
migration openupgrade
Avatar
1
Agu 19
5355
Error openupgrade hr module
migration openupgrade
Avatar
Avatar
1
Mar 15
6411
Database Migration error from Odoo 14 to 15(Community) using Openeupgrade.
migration openupgrade databasemigration
Avatar
Avatar
1
Mei 25
3022
Openupgrade - im trying to migrate odoo 14 to odoo 15 with openupgrade.
migration openupgrade OpenUpgrade
Avatar
Avatar
1
Apr 25
3188
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

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