Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar 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
  • Proyecto
  • 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

external id not found error odoo17

Suscribirse

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

Se marcó esta pregunta
qwebreportsexternal_idv17
1 Responder
5598 Vistas
Avatar
Esaie Labah

I am trying to migrate my customize module which works well on odoo 16 to odoo 17 but I have an error external id not found I tried to check I noticed when I install the module in odoo 17 the reports are not created in reports so what means that the xml code can't find the external id I created the reports manually and it worked now I don't understand why the reports are not automatically created when I install my module yet the reports are in the module

Please help me to sort this out

Thanks in advance

0
Avatar
Descartar
Avatar
Shajahan
Mejor respuesta

1. Check Module Dependencies

Ensure that all dependencies required by your module are specified in the __manifest__.py file and that these dependencies are installed before your module. Missing or incorrectly specified dependencies can prevent the proper creation of reports.

pythonCopy code'depends': ['base', 'sale', 'report'],  # Example dependencies

2. Review Data File Loading

Check the __manifest__.py file to confirm that all XML files, especially those defining the reports, are correctly listed under the 'data' or 'qweb' keys:

pythonCopy code'data': [
    'views/report_templates.xml',
    'views/some_other_views.xml',
],
'qweb': [
    'static/src/xml/report_qweb.xml',
],

Make sure that the paths are correct and that the files are actually in those locations in your module directory.

3. Examine Report XML Definitions

Review the XML files where you define the reports. Check for any changes in the report definition syntax between Odoo 16 and Odoo 17. Ensure that the syntax matches what Odoo 17 expects. For instance, the way reports are defined or registered might have changed:

xmlCopy code

4. External IDs and Upgrade Issues

If your module was upgraded or developed in an environment where it was installed before, there might be issues with lingering data or IDs:

  • Ensure that the external IDs used in your XML are unique and not conflicting with existing IDs in the database.
  • If possible, test the installation on a fresh database to see if the issue persists.

5. Debugging Installation

Install your module with debugging logs enabled to catch any errors during the installation. You can do this by running Odoo with log level set to debug:

bashCopy code./odoo-bin --log-level=debug_sql # Provides detailed logging

This can provide insights into what happens when your module's data files are processed.

6. Manual Creation vs. Automatic Creation

Since you mentioned that creating the reports manually works, it suggests that the definitions are mostly correct but might not be processed due to sequencing or dependency issues. Ensure that the module installation process doesn't have interrupted flows or missing steps that could lead to the XML files not being processed.

7. Check Security and Access Rights

Make sure that all necessary security and access rights are defined for the reports. Sometimes, missing access rights can prevent elements from being created or accessed properly.

8. Module Structure and Cyclic Dependencies

Check if there is a cyclic dependency within your module or between your module and others. This can sometimes result in parts of the module not being loaded correctly.

Following these steps should help identify and resolve the issue with reports not being automatically created when you install your module in Odoo 17. If the problem persists, consider reaching out to the Odoo community forums or filing a support ticket with Odoo if you have an enterprise contract.

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

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

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
How to Change TABLE Format in QWEB reports? With different table Border and Color.? Resuelto
qweb reports
Avatar
Avatar
Avatar
Avatar
Avatar
4
ene 25
46183
QWEB Report template has inconsistent row heights (see screenshot)
qweb reports
Avatar
0
oct 24
2343
Qweb reports inconsistent table row height
qweb reports
Avatar
0
oct 24
5
How to override the existing view form with self made QWeb template?
qweb v17
Avatar
0
sept 24
1822
images in report does not load
qweb reports
Avatar
Avatar
1
may 23
3962
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información 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 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