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

New install V18, new Database but error on using website module

Suscribirse

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

Se marcó esta pregunta
webmodulewebsite_builderwebsitev18V18
1 Responder
4034 Vistas
Avatar
Guillaume FOURE

Hello all, 

I've just installed a new odoo server with :

  • a V18 community version
  • 5 differents databases with dbfilter
  • on a linux debian with postgresql and a nginx reverse proxy with ssk

Everything seems to work fine, less the website module.

When i try to create a website, after the website creation workflow is done, the module give the same error everytime on the internal website page (https://mysitedotodoo/website).

oups!

Something went wrong... If you really are stuck, share the report with your friendly support service 
Hide technical details
Erreur client Odoo
UncaughtClientError > TypeError
Uncaught Javascript Error > Cannot read properties of null (reading 'querySelector')
Occured on www.mysitedotcom on 2024-10-28 14:57:57 GMT
TypeError: Cannot read properties of null (reading 'querySelector')
    at iframe.el.addEventListener.once (https://www.mysitedotcom/web/assets/1/5c47d5e/web.assets_web.min.js:19005:1191)

As the db is new and quite empty, i guess it is something i've made in the configuration, but don't know what it could be.

I've tried to have more infos on debug mode (start odoo with --log-level debug) but without anything interesting to notice in the log.

There is no error there, just a warning on :

WARNING ? odoo.http: Logged into database 'mysitedotcom', but dbfilter rejects it; logging session out.

There is no more errors or warning in the /var/log/odoo/odoo-server.log, and i am not even sure it is related with my problem

Anybody have any clue on how to follow up?

Thx !

PS : As i have various db, i've tried on another and had the same error...

0
Avatar
Descartar
Avatar
Guillaume FOURE
Autor Mejor respuesta

Hello all,

I’ve found the issue and wanted to share the solution in case someone else encounters the same problem.

I had added the option:

add_header X-Frame-Options "DENY";

to the Nginx configuration while trying to improve security.

However, this option prevents Odoo from loading iframes.

The solution was to replace it with:

add_header X-Frame-Options "SAMEORIGIN";

Hopefully, this will help someone avoid the same mistake I made!

The solution was just with the option :  add_header X-Frame-Options "SAMEORIGIN"; instead.


0
Avatar
Descartar
¿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
Website Export Resuelto
webmodule website_builder website odoo webpage
Avatar
Avatar
Avatar
3
feb 24
13387
How do i re-run the website builder to include the demo theme? Resuelto
website_builder website
Avatar
Avatar
Avatar
2
sept 25
4599
Adding an HTML element to existing website template
website_builder website
Avatar
Avatar
1
jul 25
2023
How to add lottie animation to odoo site
website_builder website
Avatar
Avatar
Avatar
2
jun 25
3440
Website - how to ask for email before allowing download of a pdf Resuelto
website_builder website
Avatar
Avatar
Avatar
3
abr 25
3363
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.

Sitio web hecho con

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