Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

update on premise codebase or database

Odebírat

Get notified when there's activity on this post

This question has been flagged
configurationsetup
2 Odpovědi
99 Zobrazení
Avatar
eb

Hi,


We installed on-premise Odoo v19 community from source github and Enterprise from .deb package.


Question1 : can I always update codebase from github if I stay  on v19 or v19.x github branche without update database ?


Question2: when need I update database and how to know if my codebase is  compatible with current data se version ?


Question3: How can I track database version? 

0
Avatar
Zrušit
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Nejlepší odpověď
Hi,

1- Simply pulling code from GitHub for your Odoo Community installation does not automatically update your database. For minor code changes like bug fixes or UI tweaks that don't alter data models, you can often restart Odoo without a database update. However, if the code changes involve modifications to database schemas (e.g., new fields, changed field types, new models), you must update the database by running Odoo with the -u flag (e.g., odoo-bin -u all). It's generally a best practice to perform a database update after any significant code pull, always testing in a staging environment first, and be mindful of potential compatibility issues if your Enterprise modules are from a separate .deb package and not updated in sync with your source-based Community code.

2- You need to update your database for major version upgrades, any schema changes within modules (like adding or modifying fields/models), data migrations, or after pulling significant code updates from GitHub. Incompatibility is often indicated by Odoo failing to start or throwing specific errors such as UndefinedColumn or UndefinedTable, which signal that the code expects a database structure different from what exists. Odoo internally tracks the version of each installed module, and running odoo-bin -u module_name compares these versions to apply necessary updates. Always test code and database updates in a staging environment before applying them to production.

3-  Odoo does not maintain a single "database version" number; instead, it tracks the version of each individual installed module within the database. You can monitor these module versions through the Odoo user interface by navigating to Settings > Apps > Installed Apps and checking the "Version" column for each module. Alternatively, you can query the ir_module_module table in your PostgreSQL database, where the latest_version column for each module record indicates its current version in the database. When you run odoo-bin -u all, Odoo uses these stored versions to determine which modules require an update.

Hope it helps

0
Avatar
Zrušit
Avatar
CandidRoot Solutions
Nejlepší odpověď

Hi Eb,

I hope you are doing good.

Please find answers to your questions below:

Q1: Can I update the codebase from GitHub (v19 / v19.x) without updating the database?

  • Yes, minor updates (bug fixes, small improvements) can usually be pulled from the v19.x branch without upgrading the database.

  • However, if the update includes new fields, models, or schema changes, then a database update will be required.

Q2: When do I need to update the database, and how do I know if the code is compatible?

  • You need to update the database when:

    • Release notes mention database/schema changes

    • You see errors like missing columns, models, or fields

  • Best practice:

    • Always check GitHub commit messages / release notes

    • Test updates first on a staging database

  • If Odoo starts normally and no migration errors appear, the code is compatible.

Q3: How can I track the database version?

You can check it in the following ways:

  • Enable Developer Mode → go to Settings → About

  • Or check the table ir_module_module for installed module versions

  • Also, the Odoo server log shows DB version during startup

If you want help in safe upgrades, compatibility checks, or version management,

we at CandidRoot can assist you with setup, validation, and customization support.

Thanks & Regards

CandidRoot Solutions Pvt. Ltd.
Mobile: (+91) 8849036209
Whatapp: (+91) 8849036209
Email: info@candidroot.com

Web: https://www.candidroot.com

0
Avatar
Zrušit
Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
What is the relationship between my odoo.com account / login and my test database account / login ?
configuration setup
Avatar
0
lis 25
427
Issue with CNAME Record & Custom Domain Configuration in Odoo
configuration setup
Avatar
Avatar
Avatar
Avatar
3
lis 25
4168
email address change vendor invoices
configuration setup
Avatar
Avatar
Avatar
3
říj 25
3556
Linking DBs to sub-domains Vyřešeno
configuration setup
Avatar
Avatar
1
zář 25
1036
3-tier website account membership
configuration setup
Avatar
0
čvc 25
1272
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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