Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

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

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
migrationmanualopenupgradeDocker
6815 Widoki
Awatar
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
Awatar
Odrzuć
Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
Asset Management migration V12.0 to new versions
migration openupgrade
Awatar
0
maj 23
3090
How to set up 2 OpenUpgrade Servers Rozwiązane
migration openupgrade
Awatar
1
sie 19
5358
Error openupgrade hr module
migration openupgrade
Awatar
Awatar
1
mar 15
6411
Database Migration error from Odoo 14 to 15(Community) using Openeupgrade.
migration openupgrade databasemigration
Awatar
Awatar
1
maj 25
3024
Openupgrade - im trying to migrate odoo 14 to odoo 15 with openupgrade.
migration openupgrade OpenUpgrade
Awatar
Awatar
1
kwi 25
3190
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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