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

external id not found error odoo17

Subscriure's

Get notified when there's activity on this post

This question has been flagged
qwebreportsexternal_idv17
1 Respondre
5588 Vistes
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
Best Answer

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
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
How to Change TABLE Format in QWEB reports? With different table Border and Color.? Solved
qweb reports
Avatar
Avatar
Avatar
Avatar
Avatar
4
de gen. 25
46173
QWEB Report template has inconsistent row heights (see screenshot)
qweb reports
Avatar
0
d’oct. 24
2334
Qweb reports inconsistent table row height
qweb reports
Avatar
0
d’oct. 24
5
How to override the existing view form with self made QWeb template?
qweb v17
Avatar
0
de set. 24
1820
images in report does not load
qweb reports
Avatar
Avatar
1
de maig 23
3951
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