Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Can't install any addons in Odoo 15

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
errorbugv15
2 Respuestas
4531 Vistas
Avatar
Łukasz Leszko

I Can't install any plugins recently, I installed odoo a month ago and everything worked perfectly. Today i wanted to install "website" plugin and got an error, then i tried to install other plugins and the result is the same. My version of odoo is 15.0 Community, and distribution is Debian 10.

RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo/15.0/odoo/odoo/tools/convert.py", line 680, in _tag_root
f(rec)
File "/opt/odoo/15.0/odoo/odoo/tools/convert.py", line 583, in _tag_record
record = model._load_records([data], self.mode == 'update')
File "/opt/odoo/15.0/odoo/odoo/models.py", line 4417, in _load_records
records = self._load_records_create([data['values'] for data in to_create])
File "/opt/odoo/15.0/odoo/odoo/models.py", line 4338, in _load_records_create
return self.create(values)
File "", line 2, in create
File "/opt/odoo/15.0/odoo/odoo/api.py", line 413, in _model_create_multi
return create(self, arg)
File "/opt/odoo/15.0/odoo/odoo/addons/base/models/ir_ui_view.py", line 539, in create
result = super(View, self.with_context(ir_ui_view_partial_validation=True)).create(vals_list)
File "", line 2, in create
File "/opt/odoo/15.0/odoo/odoo/api.py", line 413, in _model_create_multi
return create(self, arg)
File "/opt/odoo/15.0/odoo/odoo/addons/base/models/ir_fields.py", line 613, in create
recs = super().create(vals_list)
File "", line 2, in create
File "/opt/odoo/15.0/odoo/odoo/api.py", line 413, in _model_create_multi
return create(self, arg)
File "/opt/odoo/15.0/odoo/odoo/models.py", line 4070, in create
records = self._create(data_list)
File "/opt/odoo/15.0/odoo/odoo/models.py", line 4235, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/opt/odoo/15.0/odoo/odoo/models.py", line 1367, in _validate_fields
check(self)
File "/opt/odoo/15.0/odoo/odoo/addons/base/models/ir_ui_view.py", line 430, in _check_xml
raise err from None
File "/opt/odoo/15.0/odoo/odoo/addons/base/models/ir_ui_view.py", line 421, in _check_xml
combined_arch = view._get_combined_arch()
File "/opt/odoo/15.0/odoo/odoo/addons/base/models/ir_ui_view.py", line 984, in _get_combined_arch
arch = root.with_prefetch(tree_views._prefetch_ids)._combine(hierarchy)
File "/opt/odoo/15.0/odoo/odoo/addons/base/models/ir_ui_view.py", line 925, in _combine
combined_arch = view.apply_inheritance_specs(combined_arch, arch)
File "/opt/odoo/15.0/odoo/odoo/addons/base/models/ir_ui_view.py", line 862, in apply_inheritance_specs
self._raise_view_error(str(e), specs_tree)
File "/opt/odoo/15.0/odoo/odoo/addons/base/models/ir_ui_view.py", line 739, in _raise_view_error
raise err from from_exception
odoo.exceptions.ValidationError: Error while validating view:

Element '' nie może być zlokalizowany w widoku nadrzędnym #eng.:cannot be located in the parent view

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/opt/odoo/15.0/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/opt/odoo/15.0/odoo/odoo/http.py", line 687, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/15.0/odoo/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/15.0/odoo/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/15.0/odoo/odoo/http.py", line 348, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/15.0/odoo/odoo/http.py", line 916, in __call__
return self.method(*args, **kw)
File "/opt/odoo/15.0/odoo/odoo/http.py", line 535, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/15.0/odoo/addons/web/controllers/main.py", line 1351, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/opt/odoo/15.0/odoo/addons/web/controllers/main.py", line 1339, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/15.0/odoo/odoo/api.py", line 464, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo/15.0/odoo/odoo/api.py", line 451, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/opt/odoo/15.0/odoo/odoo/addons/base/models/ir_module.py", line 74, in check_and_log
return method(self, *args, **kwargs)
File "/opt/odoo/15.0/odoo/odoo/addons/base/models/ir_module.py", line 483, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/opt/odoo/15.0/odoo/odoo/addons/base/models/ir_module.py", line 600, in _button_immediate_function
registry = modules\.registry\.Registry\.new\(self\._cr\.dbname,\ update_module=True\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/modules/registry\.py",\ line\ 87,\ in\ new
\ \ \ \ odoo\.modules\.load_modules\(registry,\ force_demo,\ status,\ update_module\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/modules/loading\.py",\ line\ 476,\ in\ load_modules
\ \ \ \ loaded_modules,\ update_module,\ models_to_check\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/modules/loading\.py",\ line\ 365,\ in\ load_marked_modules
\ \ \ \ perform_checks=perform_checks,\ models_to_check=models_to_check
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/modules/loading\.py",\ line\ 222,\ in\ load_module_graph
\ \ \ \ load_data\(cr,\ idref,\ mode,\ kind='data',\ package=package\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/modules/loading\.py",\ line\ 69,\ in\ load_data
\ \ \ \ tools\.convert_file\(cr,\ package\.name,\ filename,\ idref,\ mode,\ noupdate,\ kind\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/tools/convert\.py",\ line\ 745,\ in\ convert_file
\ \ \ \ convert_xml_import\(cr,\ module,\ fp,\ idref,\ mode,\ noupdate\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/tools/convert\.py",\ line\ 811,\ in\ convert_xml_import
\ \ \ \ obj\.parse\(doc\.getroot\(\)\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/tools/convert\.py",\ line\ 731,\ in\ parse
\ \ \ \ self\._tag_root\(de\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/tools/convert\.py",\ line\ 691,\ in\ _tag_root
\ \ \ \ raise\ ParseError\(msg\)\ from\ None\ \ \#\ Restart\ with\ "\-\-log\-handler\ odoo\.tools\.convert:DEBUG"\ for\ complete\ traceback
Exception

The\ above\ exception\ was\ the\ direct\ cause\ of\ the\ following\ exception:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/http\.py",\ line\ 643,\ in\ _handle_exception
\ \ \ \ return\ super\(JsonRequest,\ self\)\._handle_exception\(exception\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/http\.py",\ line\ 301,\ in\ _handle_exception
\ \ \ \ raise\ exception\.with_traceback\(None\)\ from\ new_cause
odoo\.tools\.convert\.ParseError:\ while\ parsing\ /opt/odoo/15\.0/odoo/addons/google_recaptcha/views/res_config_settings_view\.xml:3
Error\ while\ validating\ view:

Element\ ''\ nie\ może\ być\ zlokalizowany\ w\ widoku\ nadrzędnym\ \#eng\.:cannot\ be\ located\ in\ the\ parent\ view

View\ error\ context:
\{'file':\ '/opt/odoo/15\.0/odoo/addons/google_recaptcha/views/res_config_settings_view\.xml',
\ 'line':\ 2,
\ 'name':\ 'res\.config\.settings\.view\.form\.inherit\.portal',
\ 'view':\ ir\.ui\.view\(493,\),
\ 'view\.model':\ 'res\.config\.settings',
\ 'view\.parent':\ ir.ui.view(176,),
'xmlid': 'res_config_settings_view_form'}



0
Avatar
Descartar
Avatar
Łukasz Leszko
Autor Mejor respuesta

I found a solution by myself. I entered to Technical->view->search for  'res.config.settings.view.form.inherit.portal' ->click to inactive, after that everything works fine, and no any error from last hour.

0
Avatar
Descartar
Avatar
Tadeusz Jan Karpiński
Mejor respuesta

If you can edit the code, go to google_recaptcha/manifest.json and comment the line where "views/res_config_settinga.xml" is. Then restart odoo. This is a shitty solution but after that it should work. You probably installed some third party module which broke the standard view. You can check which module changes the view and uninstall it. Second possibility is that the version you have has some bug. 

0
Avatar
Descartar
Łukasz Leszko
Autor

Ok, I comment this line, but te error now is
View error context:
{'file': '/opt/odoo/15.0/odoo/addons/website/views/res_config_settings_views.xml',
'line': 2,
'name': 'res.config.settings.view.form.inherit.portal',
'view': ir.ui.view(493,),
'view.model': 'res.config.settings',
'view.parent': ir.ui.view(176,),
'xmlid': 'res_config_settings_view_form'}

How I can check which module changes the view? I Will try to unistall everything. I installed only one plugin from third party "web responsive"

Tadeusz Jan Karpiński

So then you can try to update base module.

Łukasz Leszko
Autor

Maybe I know whats going on, I changed one translations strings from technical-views. I think odoo dont like this and it crashed structures in views. But I only changed translation in report_saleorder_document TAXES -> VAT. On new database everything is working. But I have a lot of data in an existing database, i must to repair it. Now I will try to update base module and check.

Łukasz Leszko
Autor

When I try to install/update any plugin i have this:
View error context:
{'file': '/opt/odoo/15.0/odoo/addons/portal/views/res_config_settings_views.xml',
'line': 2,
'name': 'res.config.settings.view.form.inherit.portal',
'view': ir.ui.view(493,),
'view.model': 'res.config.settings',
'view.parent': ir.ui.view(176,),
'xmlid': 'res_config_settings_view_form'}

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
stock picking It is not possible to unreserve more products of ... than you have in stock in odoo 15 Resuelto
error stock_picking bug v15
Avatar
Avatar
Avatar
Avatar
Avatar
7
dic 24
10261
Odoo error on log
error v15
Avatar
Avatar
1
nov 25
2479
Odoo Server Error , why ? I need help, I can't find where the error is.
error bug
Avatar
Avatar
1
jun 23
6599
Odoo 15 error viewing some email templates Resuelto
error v15
Avatar
1
may 22
3797
Error on the Interface accessing the marketplace and several other sections of the website
error bug
Avatar
0
mar 20
3902
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

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