Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Error installing local Odoo

Naroči se

Get notified when there's activity on this post

This question has been flagged
installationlocalhostodoo18
2 Odgovori
3807 Prikazi
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
Opusti
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
Opusti
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
Opusti
Enjoying the discussion? Don't just read, join in!

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Install in local but not install in server, why is that?
installation server issue odoo18
Avatar
Avatar
1
okt. 25
637
Odoo18 - How to select Email Templates when sending multiple invoices
odoo18
Avatar
Avatar
1
nov. 25
1707
POS order line custom field (serial_id) not synced to backend after payment (Odoo 18)
odoo18
Avatar
Avatar
1
nov. 25
696
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
4732
Auto Session time out for users ODOO 18
odoo18
Avatar
Avatar
Avatar
2
sep. 25
3492
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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