Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Error installing local Odoo

Odoberať

Get notified when there's activity on this post

This question has been flagged
installationlocalhostodoo18
2 Replies
3781 Zobrazenia
Avatar
RGonzalez

Hello everyone, I hope you are well.


I am trying to install Odoo on my local computer. Even though it looks simple in the videos, every time I do the installation I get some error, schema error, internal server error, with the database. However, most were happening when trying to create the database.


After that I was able to create the database, and log in to the application, but then it triggers an internal error directly in the Odoo source code, and I don't understand why.


Here I show the log error:

2024-12-09 21:58:05,807 5364 ERROR odoo_db odoo.http: Exception during request handling.

Traceback (most recent call last):

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\http.py", line 2364, in __call__

    response = request._serve_db()

               ^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\http.py", line 1892, in _serve_db

    return self._transactioning(

           ^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\http.py", line 1955, in _transactioning

    return service_model.retrying(func, env=self.env)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\service\model.py", line 137, in retrying

    result = func()

             ^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\http.py", line 1922, in _serve_ir_http

    response = self.dispatcher.dispatch(rule.endpoint, args)

               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\http.py", line 2082, in dispatch

    return self.request.registry['ir.http']._dispatch(endpoint)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\addons\base\models\ir_http.py", line 329, in _dispatch

    result = endpoint(**request.params)

             ^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\http.py", line 727, in route_wrapper

    result = endpoint(self, *args, **params_ok)

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\addons\portal\controllers\web.py", line 27, in web_client

    return super().web_client(s_action, **kw)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\http.py", line 727, in route_wrapper

    result = endpoint(self, *args, **params_ok)

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\addons\web\controllers\home.py", line 66, in web_client

    context = request.env['ir.http'].webclient_rendering_context()

              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\addons\web\models\ir_http.py", line 72, in webclient_rendering_context

    'session_info': self.session_info(),

                    ^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\addons\spreadsheet\models\ir_http.py", line 14, in session_info

    res = super().session_info()

          ^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\addons\partner_autocomplete\models\ir_http.py", line 12, in session_info

    session_info = super(Http, self).session_info()

                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\addons\mail\models\ir_http.py", line 14, in session_info

    result = super().session_info()

             ^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\addons\barcodes_gs1_nomenclature\models\ir_http.py", line 11, in session_info

    res = super().session_info()

          ^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\addons\web_tour\models\ir_http.py", line 8, in session_info

    result = super().session_info()

             ^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\addons\bus\models\ir_http.py", line 17, in session_info

    session_info = super().session_info()

                   ^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\addons\base_setup\models\ir_http.py", line 10, in session_info

    result = super(IrHttp, self).session_info()

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\addons\barcodes\models\ir_http.py", line 11, in session_info

    res = super(IrHttp, self).session_info()

          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\addons\web\models\ir_http.py", line 130, in session_info

    'view_info': self.env['ir.ui.view'].get_view_info(),

                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Program Files\Odoo 18.0e.20241205\server\odoo\addons\web\models\ir_ui_view.py", line 14, in get_view_info

    # 'icon': _view_info[type_]['icon'],

            ^^^^^^^^^^^^^^^^^

KeyError: 'cohort'

0
Avatar
Zrušiť
Avatar
Xavier Gómez
Best Answer

Hi,



I've solved this problem, by changing my path in odoo.conf.


In v17, when Odoo had the enterprise as a repository on github, the path to enterprise was ".../enterprise", and now it's like this ".../enterprise/odoo/addons".


I hope it will help for future users with this issue.


0
Avatar
Zrušiť
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi,


1. Check whether your addons are the latest if not, pull the latest code.

2. Navigate to addons/web/models/ir_ui_view.py 

    Confirm that the 'cohort' key exists in the " _get_view_info" if not, add

    'cohort' :{ 'icon' : 'fa-bar-chart'}


Hope it helps

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

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
Install in local but not install in server, why is that?
installation server issue odoo18
Avatar
Avatar
1
okt 25
629
Odoo18 - How to select Email Templates when sending multiple invoices
odoo18
Avatar
Avatar
1
nov 25
1674
POS order line custom field (serial_id) not synced to backend after payment (Odoo 18)
odoo18
Avatar
Avatar
1
nov 25
660
Can’t install gevent==21.8.0 for Odoo 18 on Python 3.10 – Cython build keeps failing
installation requirements gevent python3 odoo18
Avatar
Avatar
1
sep 25
4607
Auto Session time out for users ODOO 18
odoo18
Avatar
Avatar
Avatar
2
sep 25
3455
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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