Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

The above server error caused the following client error: RPC_ERROR: Odoo Server Error

Subscriure's

Get notified when there's activity on this post

This question has been flagged
errorrpc
3 Respostes
15369 Vistes
Avatar
admin
Traceback (most recent call last):
  File "/opt/odoo16/odoo16/odoo/http.py", line 1579, in _serve_db
    return service_model.retrying(self._serve_ir_http, self.env)
  File "/opt/odoo16/odoo16/odoo/service/model.py", line 134, in retrying
    result = func()
  File "/opt/odoo16/odoo16/odoo/http.py", line 1608, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
  File "/opt/odoo16/odoo16/odoo/http.py", line 1805, in dispatch
    result = self.request.registry['ir.http']._dispatch(endpoint)
  File "/opt/odoo16/odoo16/odoo/addons/base/models/ir_http.py", line 144, in _dispatch
    result = endpoint(**request.params)
  File "/opt/odoo16/odoo16/odoo/http.py", line 698, in route_wrapper
    result = endpoint(self, *args, **params_ok)
  File "/opt/odoo16/odoo16/odoo/addons/web/controllers/dataset.py", line 42, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/opt/odoo16/odoo16/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/opt/odoo16/odoo16/odoo/api.py", line 457, in call_kw
    result = _call_kw_model(method, model, args, kwargs)
  File "/opt/odoo16/odoo16/odoo/api.py", line 430, in _call_kw_model
    result = method(recs, *args, **kwargs)
  File "/opt/odoo16/odoo16/odoo/addons/contacts/models/res_users.py", line 15, in systray_get_activities
    activities = super(Users, self).systray_get_activities()
  File "/opt/odoo16/odoo16/odoo/addons/calendar/models/res_users.py", line 37, in systray_get_activities
    res = super(Users, self).systray_get_activities()
  File "/opt/odoo16/odoo16/odoo/addons/mail/models/res_users.py", line 226, in systray_get_activities
    module = self.env[activity['model']]._original_module
  File "/opt/odoo16/odoo16/odoo/api.py", line 537, in __getitem__
    return self.registry[model_name](self, (), ())
  File "/opt/odoo16/odoo16/odoo/modules/registry.py", line 188, in __getitem__
    return self.models[model_name]
KeyError: None

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
    at makeErrorFromResponse (http://192.168.111.3:8069/web/assets/1004-54e90ab/web.assets_backend.min.js:974:163)
    at XMLHttpRequest. (http://192.168.111.3:8069/web/assets/1004-54e90ab/web.assets_backend.min.js:981:13)


0
Avatar
Descartar
admin
Autor

这是来自QQ邮箱的假期自动回复邮件。

你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。

admin
Autor

这是来自QQ邮箱的假期自动回复邮件。

你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。

Avatar
SoCheat
Best Answer

how to fix

Traceback (most recent call last):
  File "/home/odoo/src/odoo/saas-16.2/addons/web/controllers/report.py", line 129, in report_download
    report_name = safe_eval(report.print_report_name, {'object': obj, 'time': time})
  File "/home/odoo/src/odoo/saas-16.2/odoo/tools/safe_eval.py", line 360, in safe_eval
    c = test_expr(expr, _SAFE_OPCODES, mode=mode, filename=filename)
  File "/home/odoo/src/odoo/saas-16.2/odoo/tools/safe_eval.py", line 213, in test_expr
    code_obj = compile(expr, filename or "", mode)
  File "", line 1
    'ការ​ជ្រើសរើស​ប្រតិបត្តិការ - %s - %s' % (object.partner_id.name ឬ '', object.name)
                                              ^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
    at makeErrorFromResponse (https://testsksk-test-saas16-0425.odoo.com/web/assets/5944-b603e51/web.assets_backend.min.js:963:163)
    at decoder.onload (https://testsksk-test-saas16-0425.odoo.com/web/assets/5944-b603e51/web.assets_backend.min.js:952:7)


0
Avatar
Descartar
Avatar
admin
Autor Best Answer

Thank you very much for your reply
I'm trying to find the log file to locate the reason why the error occurred

0
Avatar
Descartar
Avatar
Tapha LY
Best Answer

This error message is indicating that an exception occurred when trying to access a model, but the model name was not found in the registry. The error message is indicating that the model name is None, which is not a valid model name.

The most common cause of this error is a missing import for the model in question. Make sure you have imported the necessary models in your code and that they are properly registered. You can also try restarting the Odoo server to see if that resolves the issue. If the issue persists, it may be helpful to check the server logs for more information on what caused the exception.

MML

0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Related Posts Respostes Vistes Activitat
RPC_ERROR: ValueError: Invalid field 'brand_id' on model 'product.template' after "changing something""
server error rpc
Avatar
0
de des. 22
5797
[BUG REPORT] Return button creates RPC_error
error rpc returns
Avatar
0
de jul. 22
1960
?"Your country might be blocked by our hosting provider" error when I create new website
error
Avatar
0
d’oct. 25
528
Payment Page Return Error with Razorpay on Mobile Devices
error
Avatar
0
de set. 25
1144
Error after installing "purchase" app in Odoo version 18
error
Avatar
Avatar
1
de des. 24
6593
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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